groff
[Top][All Lists]
Advanced

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

Re: [Groff] Suggestions on how to trace this out ...


From: Ralph Corderoy
Subject: Re: [Groff] Suggestions on how to trace this out ...
Date: Wed, 10 Sep 2008 16:58:16 +0100

Hi Mike,

> Folks, particularly mm folks.
> 
> I'm looking for a suggestion on how to approach this problem.

Use

    strace -fe trace=open -o /tmp/ascii.trace groff -mm i.mm

and do similar for PostScript.  Strip the process IDs, delete the ENOENT
lines, and compare.  That's what I did.  :-)  It shows what different
files are read between the two.

Also, I altered i.mm to

    .tm .warn is \n[.warn]
    .de xx yy
    .sp 2
    .yy

and with -Tps .warn is 196615 but with -Tascii it's 786431.  .warn is a
bitmask.

    ps     196615  0x30007
    ascii  786431  0xbffff

.warn is tinkered with in tty.tmac, which may be relevant.  Don't have
more time to dig right now.

    $ grep warn /usr/share/groff/1.18.1/tmac/tty.tmac
    .\" Don't warn about non-existent fonts.
    .warn \n[.warn]-(\n[.warn]/131072%2*131072)
    $ 

Cheers,


Ralph.





reply via email to

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