From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- info/german/fancyhdr/img.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 info/german/fancyhdr/img.sh (limited to 'info/german/fancyhdr/img.sh') 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 ] +# [-depth ] +# [-flip ] [-density ] .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 -- cgit v1.2.3