On Saturday, 6 January 2024 19:19:59 GMT Peter Schaffter wrote: > gropdf from groff 1.23.0.689-8d320-dirty breaks the mom macro > AUTO_RELOCATE_TOC. The physical page order and numbering are > correct after relocation, but the pdf panel places the TOC at the > top of the outline. See attached .pdf and .mom files. 1.23.0 works > fine. Not sure if mom needs tweaking or if it's a gropdf bug.
Mea Culpa. Here's the fix. diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/ gropdf.pl index e26bc6b43..601819c55 100644 --- a/src/devices/gropdf/gropdf.pl +++ b/src/devices/gropdf/gropdf.pl @@ -1808,7 +1808,7 @@ sub do_x else { ($curoutlev,$curoutlevno, $thislev)=(@{$outlines[$pginsert]}); - $curoutlevno--; +# $curoutlevno--; } } } Cheers Deri