Re: [Groff] conditional logic based on device?

2008-02-21 Thread Michael(tm) Smith
Clarke Echols <[EMAIL PROTECTED]>, 2008-02-21 07:04 -0700: > Michael(tm) Smith wrote: > > OK, I did now read the following in the that node: > > [...] `gtroff' provides two built-in conditions `n' > > and `t' for the `if', `ie', and `while' requests to decide > > whether `gtroff' shall beha

Re: [Groff] Troff to XML

2008-02-21 Thread brian m. carlson
On Wed, Feb 20, 2008 at 10:07:16PM +0100, Pieter Verberne wrote: Could it be an option (or; is it possible) to make a Troff macro wich -is- convertable to XML. Or in other words: Is it possible to create a Troff macro wich is 'syntactic sugar'/'alternative syntax' for XML? Before I got swamped

Re: [Groff] conditional logic based on device?

2008-02-21 Thread Clarke Echols
Michael(tm) Smith wrote: Werner LEMBERG <[EMAIL PROTECTED]>, 2008-02-20 18:53 +0100: > .if n \" for nroff processing input > .if t \" for troff/groff processing input I read the groff info node about conditionals, but just didn't know how to specify a condition tha