Follow-up Comment #7, bug #66323 (group groff):

[comment #2 comment #2:]
> Forgot to mention, the problem ultimately could very well lie in the
formatter, or even in _grops_, but it would be helpful to me if we could
narrow down what snipped of mom the formatter is handling badly, or what
sequence of nodes in the output list, or sequence of "grout" commands, is
sending _grops_ off the rails.
> 
> _mom_ is pretty esoteric to me so I'm hoping Peter can aim the searchlight.

With -Tps, the pdf outline and TOC are choking on the ellipsis character in a
string passed to HEADING in the 'bad' file.  Remove the ellipsis and the file
processes correctly.  Note that the same error occurs with direct unicode
input of special characters and most of the special character escape sequences
listed under "Text markers" in groff_char(7). \[ps] and \[sc] get a pass for
some reason.  Whatever this is, it isn't a mom problem.  The arguments mom
passes PDF_BOOKMARK from HEADING are the same for both '\*[.T]'ps' and
'\*[.T]'pdf'.

Not related to the reported bug, but...

The incorrect bottom margin and absent page number on page one come from a bug
in the DRV macro. Fix will be in my next commit.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66323>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to