From 5d59d3df7f308df4a728755a6e7500e13b0a80b1 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 15 Feb 1999 16:27:42 +0000 Subject: Added --l2h-config option to add additional initialization files for latex2html. Can be useful in setting up things like the upward external link for the top of the documents. --- Doc/tools/mkhowto.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh index 88050d5..792f661 100755 --- a/Doc/tools/mkhowto.sh +++ b/Doc/tools/mkhowto.sh @@ -20,6 +20,7 @@ DEFAULT_FORMAT=PDF USE_DEFAULT_FORMAT=true DISCARD_TEMPS=true +CONFIG_FILES='' ICONSERVER='' TEMPBASE=mkhowto-$LOGNAME-$$ @@ -248,6 +249,10 @@ while [ "$1" ] ; do TEXINPUTS=$TOPDIR/paper-a4:$TEXINPUTS shift 1 ;; + --l2h-config|--l2h-confi|--l2h-conf|--l2h-con|--l2h-co|--l2h-c|--l2h-|--l2h|--l2) + CONFIG_FILES="$CONFIG_FILES $2" + shift 2 + ;; --letter|--lette|--lett|--let|--le) shift 1 ;; @@ -321,6 +326,15 @@ fi echo '# auxillary init file for latex2html' >$L2H_AUX_INIT_FILE echo '# generated by mkhowto.sh -- do not edit' >>$L2H_AUX_INIT_FILE +for FILE in XXX $CONFIG_FILES ; do + if [ ! "$FILE" = XXX ] ; then + cat >>$L2H_AUX_INIT_FILE $FILE + cat >>$L2H_AUX_INIT_FILE <