summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-11 19:04:06 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-11 19:04:06 (GMT)
commit35049527814732cbe7e6cc611309f8a7bdc78a79 (patch)
treec2a9c64e91b912eac478fdd293812fb1377cd026 /Doc/tools
parentefad4433518c7bab1fec74a39687d06b892a4567 (diff)
downloadcpython-35049527814732cbe7e6cc611309f8a7bdc78a79.zip
cpython-35049527814732cbe7e6cc611309f8a7bdc78a79.tar.gz
cpython-35049527814732cbe7e6cc611309f8a7bdc78a79.tar.bz2
Add easy-to-use support for A4 paper.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/mkhowto.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh
index f9a84a7..9de8508 100755
--- a/Doc/tools/mkhowto.sh
+++ b/Doc/tools/mkhowto.sh
@@ -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