diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/german/fancyhdr/img.sh |
Initial commit
Diffstat (limited to 'info/german/fancyhdr/img.sh')
-rwxr-xr-x | info/german/fancyhdr/img.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/info/german/fancyhdr/img.sh b/info/german/fancyhdr/img.sh new file mode 100755 index 0000000000..885dddc91d --- /dev/null +++ b/info/german/fancyhdr/img.sh @@ -0,0 +1,17 @@ +#!/bin/bash +for i in $* ; do + i=`basename $i .tex` + latex $i + + dvips -t a5 -pp2 $i -o /tmp/hfstlumpi.ps; + +# Usage: pstogif [-h(elp)] [-out <output file>] +# [-depth <color depth 1, 8 or 24>] +# [-flip <Flip_code>] [-density <pixel density>] <file>.ps + +# pstogif -out ./"$i"_2.gif /tmp/hfstlumpi.ps; +echo quit|gs -dNOPAUSE -sDEVICE=pngmono -sOutputFile=./"$i"_2.png -sPAPERSIZE=a5 /tmp/hfstlumpi.ps; + + dvips -t a5 -pp3 $i -o /tmp/hfstlumpi.ps; +echo quit|gs -dNOPAUSE -sDEVICE=pngmono -sOutputFile=./"$i"_3.png -sPAPERSIZE=a5 /tmp/hfstlumpi.ps; +done |