Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3504952

Browse files
committed
Add easy-to-use support for A4 paper.
1 parent efad443 commit 3504952

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Doc/tools/mkhowto.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ L2H_INIT_FILE=$TOPDIR/perl/l2hinit.perl
1717

1818
# This is needed to support kpathsea based TeX installations. Others are
1919
# not supported. ;-)
20-
TEXINPUTS=`dirname $MYDIR`/texinputs:$TEXINPUTS
20+
TEXINPUTS=$TOPDIR/texinputs:$TEXINPUTS
2121
export TEXINPUTS
2222

2323
LOGFILE=/usr/tmp/mkhowto-$LOGNAME-$$.how
@@ -157,10 +157,14 @@ while [ "$1" ] ; do
157157
-H|--help|--hel|--he)
158158
usage 0
159159
;;
160-
-a|--address|--addres|--addre|-addr|--add|--ad|--a)
160+
-a|--address|--addres|--addre|-addr|--add|--ad)
161161
ADDRESS="$2"
162162
shift 2
163163
;;
164+
--a4)
165+
TEXINPUTS=$TOPDIR/paper-a4:$TEXINPUTS
166+
shift 1
167+
;;
164168
--link|--lin|--li)
165169
LINK="$2"
166170
shift 2

0 commit comments

Comments
 (0)