summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/formula/prepverz.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:53:35 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:53:35 +0000
commitb8dc590cf15f41918fc7b8efa3ccc221f0f42db8 (patch)
tree621369960605b67628a1e154c3adf69bb860c2fc /Master/texmf-dist/source/latex/formula/prepverz.sh
parentc74e838e31506c7de4132dc893621d9d0ce99f19 (diff)
trunk/Master/texmf-dist/source/latex/formula
git-svn-id: svn://tug.org/texlive/trunk@299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/formula/prepverz.sh')
-rw-r--r--Master/texmf-dist/source/latex/formula/prepverz.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/formula/prepverz.sh b/Master/texmf-dist/source/latex/formula/prepverz.sh
new file mode 100644
index 00000000000..689cd792d38
--- /dev/null
+++ b/Master/texmf-dist/source/latex/formula/prepverz.sh
@@ -0,0 +1,20 @@
+
+
+#!/bin/sh
+name=abverz.tex
+echo \\documentclass{article} > $name
+echo %%% uncomment this if you want descriptions in German language >> $name
+echo % \\usepackage{german} >> $name
+echo \\usepackage[T1]{fontenc} >> $name
+echo "\\usepackage{formula,longtable,vmargin}" >> $name
+echo \\setpapersize{A4} >> $name
+echo \\setmargins{20mm}{9mm}{180mm}{240mm}{12pt}{11mm}{0pt}{11mm} >> $name
+echo \\input $1 >> $name
+echo \\setlongtables >> $name
+echo \\begin{document} >> $name
+echo \\begin{longtable}{llp{10cm}} >> $name
+grep -h "^ *\\\\formula" $1 | sed -e "/^\\\\formula[^ ]* *{*\([A-Za-z]*\)}* .*/s//\\\\\\1my/" >> $name
+echo \\end{longtable} >> $name
+echo \\end{document} >> $name
+
+