File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ DEFAULT_FORMAT=PDF
1313USE_DEFAULT_FORMAT=true
1414DISCARD_TEMPS=true
1515
16- HTML_SPLIT_LEVEL=' '
16+ HTML_SPLIT_LEVEL=0
1717L2H_INIT_FILE=$TOPDIR /perl/l2hinit.perl
1818
1919# This is needed to support kpathsea based TeX installations. Others are
5555}
5656
5757build_html () {
58- if [ " $HTML_SPLIT_LEVEL " ] ; then
58+ if [ " $HTML_SPLIT_LEVEL " -gt 0 ] ; then
5959 if [ " $ADDRESS " ] ; then
6060 latex2html -init_file $L2H_INIT_FILE \
6161 -address " $ADDRESS " \
@@ -76,7 +76,7 @@ build_html() {
7676 $1 || exit $?
7777 fi
7878 fi
79- if [ " $HTML_SPLIT_LEVEL " != 1 ] ; then
79+ if [ " $HTML_SPLIT_LEVEL " -ne 1 ] ; then
8080 (cd $FILE ; $MYDIR /node2label.pl * .html) || exit $?
8181 fi
8282}
@@ -123,7 +123,7 @@ build_pdf() {
123123}
124124
125125build_ps () {
126- dvips -N0 -o $1 .ps -f $1 || exit $?
126+ dvips -N0 -o $1 .ps $1 || exit $?
127127}
128128
129129cleanup () {
You can’t perform that action at this time.
0 commit comments