This commit is contained in:
gferg 2001-07-05 17:34:07 +00:00
parent a7d338158a
commit fa6832838a
2 changed files with 7 additions and 5 deletions

View File

@ -8,9 +8,9 @@
# thru htmldoc.
#
# log:
# 16Oct2000 - initial entry <gferg (at) sgi.com>
# 03Apr2001 - fix for <preface>
#
# 16Oct2000 - 0.1 - initial entry <gferg (at) sgi.com>
# 03Apr2001 - 0.2 - fix for <preface>
# 05Jul2001 - 0.3 - fix for <tt> and -f
#
sub fix_print_html {
@ -123,6 +123,8 @@ sub fix_print_html {
$buf =~ s/><[\/]*THEAD//g;
$buf =~ s/TYPE=\"1\"\n//gim;
$buf =~ s/<P\nCLASS="LITERALLAYOUT"(.*?)<\/P/<P CLASS="LITERALLAYOUT"><FONT FACE=\"courier\"$1<\/FONT><\/P/gms;
if( $is_article == 0 ) {
# for books...decrement the headers by 1 and then re-set the

View File

@ -57,7 +57,7 @@ my($cmd) = "htmldoc --size universal -t pdf -f ${fname_wo_ext}.pdf " .
# For postscript output; append onto the above cmd string:
#
# "; htmldoc --size universal -t ps -f -f ${fname_wo_ext}.ps " .
# "; htmldoc --size universal -t ps -f ${fname_wo_ext}.ps " .
# "--firstpage p1 --titlefile title.html body.html";
#
system($cmd);