Commit 8e876031 authored by Fred Drake's avatar Fred Drake

build_ps(): Fix flags to dvips.

build_html():  Deal with node2label.pl a little better.
parent dda337af
...@@ -13,7 +13,7 @@ DEFAULT_FORMAT=PDF ...@@ -13,7 +13,7 @@ DEFAULT_FORMAT=PDF
USE_DEFAULT_FORMAT=true USE_DEFAULT_FORMAT=true
DISCARD_TEMPS=true DISCARD_TEMPS=true
HTML_SPLIT_LEVEL='' HTML_SPLIT_LEVEL=0
L2H_INIT_FILE=$TOPDIR/perl/l2hinit.perl L2H_INIT_FILE=$TOPDIR/perl/l2hinit.perl
# This is needed to support kpathsea based TeX installations. Others are # This is needed to support kpathsea based TeX installations. Others are
...@@ -55,7 +55,7 @@ EOF ...@@ -55,7 +55,7 @@ EOF
} }
build_html() { build_html() {
if [ "$HTML_SPLIT_LEVEL" ] ; then if [ "$HTML_SPLIT_LEVEL" -gt 0 ] ; then
if [ "$ADDRESS" ] ; then if [ "$ADDRESS" ] ; then
latex2html -init_file $L2H_INIT_FILE \ latex2html -init_file $L2H_INIT_FILE \
-address "$ADDRESS" \ -address "$ADDRESS" \
...@@ -76,7 +76,7 @@ build_html() { ...@@ -76,7 +76,7 @@ build_html() {
$1 || exit $? $1 || exit $?
fi fi
fi fi
if [ "$HTML_SPLIT_LEVEL" != 1 ] ; then if [ "$HTML_SPLIT_LEVEL" -ne 1 ] ; then
(cd $FILE; $MYDIR/node2label.pl *.html) || exit $? (cd $FILE; $MYDIR/node2label.pl *.html) || exit $?
fi fi
} }
...@@ -123,7 +123,7 @@ build_pdf() { ...@@ -123,7 +123,7 @@ build_pdf() {
} }
build_ps() { build_ps() {
dvips -N0 -o $1.ps -f $1 || exit $? dvips -N0 -o $1.ps $1 || exit $?
} }
cleanup() { cleanup() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment