Follow-up Comment #1, bug#65322 (group groff):

The bug is latent in groff 1.22.4 and 1.23.0.

To observe it, apply the patch in bug #65320.


$ cat ATTIC/pdffix.diff
diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac
index 54175434f..fe12d35da 100644
--- a/tmac/pdf.tmac
+++ b/tmac/pdf.tmac
@@ -253,7 +253,7 @@ .de pdfbookmark
 .         tr \[em]-
 .         nf
 .         box pdf:clean
-.         nop \\$*
+.         nop \&\\$*
 .         fl
 .         box
 .         chop pdf:clean
$ patch -p1 < ATTIC/pdffix.diff 
patching file tmac/pdf.tmac
$ ~/groff-stable/bin/groff --version
GNU groff version 1.23.0
$ ~/groff-stable/bin/groff -M ./tmac -z -mom -Tpdf ./EXPERIMENTS/heading.mom 
troff: ../src/roff/troff/input.cpp:523: static int
input_stack::finish_get(node**): Assertion `level == 0' failed.
/home/branden/groff-stable/bin/groff: error: troff: Aborted (core dumped)
$ /usr/bin/groff --version
GNU groff version 1.22.4
[...]
$ /usr/bin/groff -M ./tmac -z -mom -Tpdf ./EXPERIMENTS/heading.mom 
troff: ./EXPERIMENTS/heading.mom:2: can't transparently output node at top
level
troff: ./EXPERIMENTS/heading.mom:2: can't transparently output node at top
level
troff: ./EXPERIMENTS/heading.mom:3: can't transparently output node at top
level
troff: ./EXPERIMENTS/heading.mom:5: can't transparently output node at top
level
troff: Failed assertion at line 524, file '../../src/roff/troff/input.cpp'.
/usr/bin/groff: troff: Signal 6 (core dumped)




    _______________________________________________________

Reply to this item at:

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

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


Reply via email to