groff
[Top][All Lists]
Advanced

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

RE: [Groff] PostScript question


From: Ted Harding
Subject: RE: [Groff] PostScript question
Date: Fri, 29 Oct 2004 23:08:31 +0100 (BST)

On 29-Oct 2004 Peter Schaffter wrote:
> %%BeginPageSetup
> BP
> %%EndPageSetup
> /F0 12/address@hidden SF<4f5d742e2032392c2032303034>437.4 78 Q
> <505d745d7220535d685d6666745d72>81 114.348 Q
> <7074705d40676f6c645d6e2e6e5d74>81 126.464 Q
> <5d6e745d726e5d742c205d5d727468>81 138.58 Q<535d6f74742048756e745d72>81
> 162.812 Q<393136204e6f72746820357468205374725d5d74>81 174.928 Q
> <545d5d6f6d5d2c20575d2039383430332d31393131>81 187.044 Q
> <485d20505d745d72>81 211.276 Q<485d725d205d73205d6e205d785d6d706c5d206f
> 66205d206c5d74745d722075735d6e672067726f6666205d6e64206d6f6d2e2054685d>
> 117 235.508
> Q<6e5d787420735d6e745d6e735d205d6f6e745d5d6e732074685d206c5d
> 74745d7273206f662074685d205d6c70685d625d74205d6e>81 247.624
> Q<6c6f775d72
> 5d5d735d2e205d625d645d6667685d6a6b6c6d6e6f707172737475767778797a2e>81
> 259.74 Q<485d725d2074685d79205d725d205d675d5d6e205d6e>14.4 E<7570705d72
> 205d5d735d2e205d425d445d4647485d4a4b4c4d4e4f505152535455565758595a2e>81
> 271.856 Q<54685d6e6b20796f752c205d6e6420685d765d205d>14.4 E
> <6e5d5d5d20645d792e>81 283.972 Q<535d6e5d5d725d6c792c>306 320.32 Q
> <4a5d6d5d73>531 380.9 Q 0 Cg EP
> %%Trailer
> end
> %%EOF

Sorry, I misunderstood your email. Taking a chunk out of the above
hexadecimal PostScript:

<7570705d72205d5d735d2e20
  u p p ] r   ] ] s ] .  

 5d425d445d4647485d4a4b4c4d4e4f505152535455565758595a2e>
  ] B ] D ] F G H ] J K L M N O P Q R S T U V W X Y Z .

So clearly the occurrences of "]" are so encoded in the output
from grops.

How it gets there, however, is another question. It is already
present in the ditroff output from troff (as I have verified
myself with groff-1.18.1). I.e. using

  troff -Tps -mom ... | less

There is a bunch of stuff involving ".tr" at ".MAC CAPS END"
in the mom macro file. Maybe this is the source of the problem,
though I can't put my finger on it myself.

The spurious "]" disappears if you leave out the "mom" invocation:

  troff -Tps ... | less

and the characters are what they should be. So it must be in "mom".

Best wishes,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861  [NB: New number!]
Date: 29-Oct-04                                       Time: 23:08:31
------------------------------ XFMail ------------------------------




reply via email to

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