diff --new-file -r sgml-tools-1.0.9-org/lib/SGMLTools/Html2Html.pm sgml-tools-1.0.9/lib/SGMLTools/Html2Html.pm 246c246 < $outfh->print("
\n") unless ($top); --- > $outfh->print("
\n") unless ($top); 253,260c253 < # Next link (first) < my $next = $use_imgs < ? qq($nextlabel) < : qq($nextlabel); < $next = qq($next) < if ($myfilenum < $filecount); < $next = join "", $next, "\n"; < $outfh->print($next); --- > $outfh->print("
\n"); 263,264c256,260 < my $prev = $use_imgs < ? qq($prevlabel) --- > my $prev; > if ($myfilenum >= 3) > { > $prev = $use_imgs > ? qq($prevlabel) 265a262,268 > } > else > { > $prev = $use_imgs > ? qq($prevlabel) > : qq($prevlabel); > } 267c270 < qq(.$fileext">$prev) --- > qq(.$fileext" REL="prev">$prev) 269c272 < $prev = join "", $prev, "\n"; --- > $prev = join "", $prev, ""; 273,274c276,286 < my $toc = $use_imgs < ? qq($toclabel) --- > my $toc; > if ($outfh->fileno != STDOUT->fileno) > { > $toc = $use_imgs > ? qq($toclabel) > : qq($toclabel); > } > else > { > $toc = $use_imgs > ? qq($toclabel) 275a288 > } 277c290 < §ion_num($secnr, 0), qq(">$toc) --- > §ion_num($secnr, 0), qq(" REL="contents">$toc) 279c292 < $toc = join "", $toc, "\n"; --- > $toc = join "", $toc, ""; 282c295,316 < print($outfh "
\n") if ($top); --- > # Next link (first) > my $next; > if ($myfilenum < $filecount) > { > $next = $use_imgs > ? qq($nextlabel) > : qq($nextlabel); > } > else > { > $next = $use_imgs > ? qq($nextlabel) > : qq($nextlabel); > } > $next = qq() > if ($myfilenum < $filecount); > $next = join "", $next, "\n"; > $outfh->print($next); > > $outfh->print("
\n"); > > print($outfh "
\n") if ($top); 343c377 < $outfh->print("\n\n"); --- > $outfh->print("\n\n"); diff --new-file -r sgml-tools-1.0.9-org/lib/dist/fmt_latex2e.pl sgml-tools-1.0.9/lib/dist/fmt_latex2e.pl 18a19,26 > # ps2pdf available? > my $values = [ "dvi", "tex", "ps" ]; > my $pdfdir; > foreach $pdfdir (split (":", $ENV{'PATH'})) > { > $values = [ "dvi", "tex", "ps", "pdf" ] if -x "$pdfdir/ps2pdf"; > } > 27c35 < 'values' => [ "dvi", "tex", "ps" ], short => "o" }, --- > 'values' => $values, short => "o" }, 169c177,179 < $latex2e->{makeindex}) --- > $latex2e->{makeindex} || > $latex2e->{output} eq "pdf" || > $latex2e->{output} eq "ps") 181c191,201 < } --- > } > if ($latex2e->{output} eq "ps" || > $latex2e->{output} eq "pdf") > { > $_ = $_ . "\\usepackage{palatino}\n" > if (/^\\documentclass/); > $_ = $_ . "\\usepackage\[ps2pdf,colorlinks=true,citecolor=black,linkcolor=black,pagecolor=black,filecolor=black,menucolor=black,urlcolor=black\]{hyperref}\n" > if (/^\\usepackage{epsfig}/); > $_ = "\\def\\htmlurl#1#2{\\href{#1}{#2}}\n" > if (/^\\def\\htmlurl/); > } 239,240c259,267 < $global->{debug} || unlink ("$filename.dvi", "$filename.tex"); < --- > > if ($latex2e->{output} eq "ps") > { > $global->{debug} || unlink ("$filename.dvi", "$filename.tex", "$filename.out"); > return 0; > } > > `ps2pdf -sPAPERSIZE=$global->{papersize} $filename.ps`; > $global->{debug} || unlink ("$filename.dvi", "$filename.tex", "$filename.ps", "$filename.out"); diff --new-file -r sgml-tools-1.0.9-org/lib/dist/sgmltool/html/mapping sgml-tools-1.0.9/lib/dist/sgmltool/html/mapping 69,70c69,70 < + "


\n" <
"\n
" + --- > + "


\n" >
"\n
" + diff --new-file -r sgml-tools-1.0.9-org/lib/dist/sgmltool/latex2e/mapping sgml-tools-1.0.9/lib/dist/sgmltool/latex2e/mapping 15a16 > "\\def\\htmlurl#1#2{#2}\n" 30a32 > "\\def\\htmlurl#1#2{#2}\n" 46a49 > "\\def\\htmlurl#1#2{#2}\n" 261c264 < "\\onlynameurl{[NAME]}" --- > "\\htmlurl{[URL]}{[NAME]}" 297,298c300,301 < + "\\begin{quotation}" + < + "\\end{quotation}" + --- > + "\\begin{quote}" + > + "\\end{quote}" +