bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63544] [troff] generate "grout" that is more easily lexically anal


From: G. Branden Robinson
Subject: [bug #63544] [troff] generate "grout" that is more easily lexically analyzed
Date: Tue, 15 Aug 2023 06:53:20 -0400 (EDT)

Follow-up Comment #3, bug #63544 (project groff):

_grops_ handles my proposed reform fine.  Since all output drivers except
_gropdf_ rely on _libdriver_ for their parsing, I believe this demonstrates
that Clark anticipated this input.


$ printf -- '.nf\na b\n-\\-\n' | tg -T ps -Z > ps-grout
[edit, creating "ps-grout2"]
$ cat ps-grout2
x T ps
x res 72000 1 1
x init
p 1
x font 5 TR
f 5
s 10000
V 12000
H 72000
m d
D F d
c a
w
h 6940
c b
h 5000
n 12000 0
V 24000
H 72000
c -
h 3330
C \-
h 5640
n 12000 0
x trailer
V 792000
x stop
grops ps-grout2 > 63544.ps


See attachment.

I created PDF "grout" in the obvious way.


sed 's/ps/pdf/' ps-grout2 >| pdf-grout2


...but ran into problems with _gropdf_.


$ gropdf pdf-grout2 > 63544.pdf
substr outside of string at /home/branden/groff-stable/bin/gropdf line 371, <>
line 12.
Use of uninitialized value $lin in substitution (s///) at
/home/branden/groff-stable/bin/gropdf line 380, <> line 12.
substr outside of string at /home/branden/groff-stable/bin/gropdf line 376, <>
line 13.
Use of uninitialized value $lin in substitution (s///) at
/home/branden/groff-stable/bin/gropdf line 380, <> line 13.
substr outside of string at /home/branden/groff-stable/bin/gropdf line 371, <>
line 15.
Use of uninitialized value $lin in substitution (s///) at
/home/branden/groff-stable/bin/gropdf line 380, <> line 15.
substr outside of string at /home/branden/groff-stable/bin/gropdf line 371, <>
line 20.
Use of uninitialized value $lin in substitution (s///) at
/home/branden/groff-stable/bin/gropdf line 380, <> line 20.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]