Re: [Groff] conditional logic based on device?

2008-02-18 Thread Clarke Echols
If you are using tty output to a user display, the man command normally uses nroff (at least that's the way it was when I was responsible for man pages at HP). You can use the requests: > .if n \" for nroff processing input and > .if t \" for troff/groff processing inpu

[Groff] conditional logic based on device?

2008-02-18 Thread Michael(tm) Smith
Is there a way I can mark up a certain chunk of groff code/markup so that it's used only for a particular device but not for others? The context of my question is this: For man-page output from the DocBook XSL Stylesheets, I have them outputting some hacky instances of \h escapes with negative val

Re: [Groff] Request "cf"

2008-02-18 Thread Miklos Somogyi
Werner, I get all your e-mails in pairs (with the exact same date), a minute or so apart. On 18/02/2008, at 7:33 PM, Werner LEMBERG wrote: Yes, .cf copies the external file (A and B) verbatim, but to the wrong place. Well, it works as documented... The documentation does not seem to sa

Re: [Groff] Request "cf"

2008-02-18 Thread Werner LEMBERG
> >> Yes, .cf copies the external file (A and B) verbatim, but to the > >> wrong place. > > > > Well, it works as documented... > > > > The documentation does not seem to say that (unlike .trf's) .cf's > output goes only to the intermediate file, not any further. Is > there any point in having it