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("
)
< : qq($nextlabel);
< $next = qq($next)
< if ($myfilenum < $filecount);
< $next = join "", $next, "\n";
< $outfh->print($next);
---
> $outfh->print("
)
---
> my $prev;
> if ($myfilenum >= 3)
> {
> $prev = $use_imgs
> ? qq(
)
265a262,268
> }
> else
> {
> $prev = $use_imgs
> ? qq(
)
> : 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(
)
---
> my $toc;
> if ($outfh->fileno != STDOUT->fileno)
> {
> $toc = $use_imgs
> ? qq(
)
> : qq($toclabel);
> }
> else
> {
> $toc = $use_imgs
> ? qq(
)
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 "
)
> : qq($nextlabel);
> }
> else
> {
> $next = $use_imgs
> ? qq(
)
> : qq($nextlabel);
> }
> $next = qq($next)
> if ($myfilenum < $filecount);
> $next = join "", $next, "\n";
> $outfh->print($next);
>
> $outfh->print("+ "\\begin{quotation}" + <+ "\\end{quotation}" + --- >
+ "\\begin{quote}" + >+ "\\end{quote}" + .