Follow-up Comment #2, bug #66653 (group groff):

Sorry, I was not very clear. The pdfms.tmac I sent works fine (at least with
ms.ms and pic.ms, testing with any other ms documents you have would be
appreciated). The two problems can only be seen by making an amendment to
pdfms.tmac. The first problem can be revealed by commenting out the
definitions of the I and BI near the top of the file. You will see the two sub
entries to "Legacy Features" are truncated to a single word. The second
problem can be seen by changing:-

.\" .  pdfbookmark \\n[nh*hl] "\\*[@NHpdf]"
.shw \\*[@NHpdf]

To:-

.  pdfbookmark \\n[nh*hl] "\\*[@NHpdf]"
.\" .shw \\*[@NHpdf]

Near the bottom of the file. You should then see:-

[derij@pip build (master)]$ test-groff -Tpdf -ms -M. -mpdfms -pet -ww
../doc/ms.ms | okular -
DJ loaded
troff: ../src/roff/troff/input.cpp:642: static int
input_stack::finish_get(node**): Assertion `level == 0' failed.
/home/derij/groff-git/groff/build/groff: error: troff: Aborted (core dumped)

You get the same result if you run 1.23.0.

The warning you get running it.trf is because it is a UTF-8 document, so it
needs preconv as well. I can't remember the previous bug number which may be
the same issue for the core dump. I think it was a mom document which got
postponed when it no longer caused the error after I removed the call to
asciify from pdf.tmac.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to