]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add easy-to-use support for A4 paper.
authorFred Drake <fdrake@acm.org>
Mon, 11 May 1998 19:04:06 +0000 (19:04 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 11 May 1998 19:04:06 +0000 (19:04 +0000)
Doc/tools/mkhowto.sh

index f9a84a7f651cb3e044d68374220806174780b8d1..9de8508f2804fe8bfb50f874150581d1b4879b78 100755 (executable)
@@ -17,7 +17,7 @@ L2H_INIT_FILE=$TOPDIR/perl/l2hinit.perl
 
 # This is needed to support kpathsea based TeX installations.  Others are
 # not supported.  ;-)
-TEXINPUTS=`dirname $MYDIR`/texinputs:$TEXINPUTS
+TEXINPUTS=$TOPDIR/texinputs:$TEXINPUTS
 export TEXINPUTS
 
 LOGFILE=/usr/tmp/mkhowto-$LOGNAME-$$.how
@@ -157,10 +157,14 @@ while [ "$1" ] ; do
        -H|--help|--hel|--he)
            usage 0
            ;;
-       -a|--address|--addres|--addre|-addr|--add|--ad|--a)
+       -a|--address|--addres|--addre|-addr|--add|--ad)
            ADDRESS="$2"
            shift 2
            ;;
+       --a4)
+           TEXINPUTS=$TOPDIR/paper-a4:$TEXINPUTS
+           shift 1
+           ;;
        --link|--lin|--li)
            LINK="$2"
            shift 2