Re: [Groff] colored background?

2008-02-22 Thread Miklos Somogyi
On 23/02/2008, at 3:52 PM, Michael(tm) Smith wrote: Tadziu Hoffmann <[EMAIL PROTECTED]>, 2008-02-22 18:07 +0100: I ask because for program listings and other "verbatim" output, dblatex and the DocBook XSL stylesheets for FO output cause the output to be rendered with a light-gray background

[Groff] nroff vs. troff conditional using escapes?

2008-02-22 Thread Michael(tm) Smith
Related to my earlier posting about TTY vs. PS/non-TTY conditional logic (and at the risk of further exposing my ignorance), I have yet another probably-dumb question: Is there a way I mark up a particular string in a chunk of text (inline) such that it appears in nroff/TTY output but not in troff

Re: [Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
Tadziu Hoffmann <[EMAIL PROTECTED]>, 2008-02-22 18:07 +0100: > > > I ask because for program listings and other "verbatim" > > > output, dblatex and the DocBook XSL stylesheets for FO > > > output cause the output to be rendered with a light-gray > > > background. That really helps to set the prog

Re: [Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
Hi Ralph, > @2008-02-22 12:45 +: > > I ask because for program listings and other "verbatim" output, > > dblatex and the DocBook XSL stylesheets for FO output cause the output > > to be rendered with a light-gray background. That really helps to set > > the program listing off from the rest of

Re: [Groff] Request "cf"

2008-02-22 Thread Miklos Somogyi
On 23/02/2008, at 4:28 AM, Werner LEMBERG wrote: Werner, I get all your e-mails in pairs (with the exact same date), a minute or so apart. Yes, one from the groff list, and one directly from me. My mailing program automatically removes such duplicates... Well, PS is not the only output d

[Groff] Another tbl tip - conditional rows

2008-02-22 Thread Larry Kollar
If you have a row in a table that you want to include only when a condition is met, you need to add a "\c" to the end of the if statement: .TS box tab(#); cb cb l l . Name#Description _ NORMAL#No special features. NCS#Uses NCS. .if \n[SIP] \{\c SIP#Uses SIP. .\} EURO#Special load for Europe.

Re: [Groff] Request "cf"

2008-02-22 Thread Werner LEMBERG
> Werner, I get all your e-mails in pairs (with the exact same date), > a minute or so apart. Yes, one from the groff list, and one directly from me. My mailing program automatically removes such duplicates... > > Well, PS is not the only output device driver... > > > Then it would be good to s

Re: [Groff] colored background?

2008-02-22 Thread Tadziu Hoffmann
> > I ask because for program listings and other "verbatim" > > output, dblatex and the DocBook XSL stylesheets for FO > > output cause the output to be rendered with a light-gray > > background. That really helps to set the program listing > > off from the rest of text. > (Personally, I find it

Re: [Groff] colored background?

2008-02-22 Thread Ralph Corderoy
Hi Michael, > I ask because for program listings and other "verbatim" output, > dblatex and the DocBook XSL stylesheets for FO output cause the output > to be rendered with a light-gray background. That really helps to set > the program listing off from the rest of text. (Personally, I find it l

Re: [Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
"Michael(tm) Smith" <[EMAIL PROTECTED]>, 2008-02-22 21:54 +0900: > ... But I can't seem to actually test it because I'm not getting > boxed text in PS output even with the unmodified B1/B2 macros -- > though I do get it as expected in TTY output. After doing a little more testing, I find that the

Re: [Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
Ted Harding <[EMAIL PROTECTED]>, 2008-02-22 11:33 -: > As B1/B2 are written, they simply draw the box as a series of > lines, using \D'l '. This does not create a "closed object" > which can be filled. > > However, if you use \D'P ... ' you will draw a polygon which > will be filled (\D'

Re: [Groff] colored background?

2008-02-22 Thread Ted Harding
On 22-Feb-08 11:05:46, Michael(tm) Smith wrote: > Werner LEMBERG <[EMAIL PROTECTED]>, 2008-02-22 10:56 +0100: > >> > Is there an recommended way to create a background in an alternate >> > color for a certain block of text? >> >> First, you have to draw a coloured rectangle, then you must type th

Re: [Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
Werner LEMBERG <[EMAIL PROTECTED]>, 2008-02-22 10:56 +0100: > > Is there an recommended way to create a background in an alternate > > color for a certain block of text? > > First, you have to draw a coloured rectangle, then you must type the > text. To get the dimensions of the text block, stor

Re: [Groff] colored background?

2008-02-22 Thread Werner LEMBERG
> Is there an recommended way to create a background in an alternate > color for a certain block of text? First, you have to draw a coloured rectangle, then you must type the text. To get the dimensions of the text block, store the text in a diversion, get its height and width, then insert the di

Re: [Groff] #groff on irc.freenode.net

2008-02-22 Thread Werner LEMBERG
> [...] I notice there's already a registered #groff channel on > irc.freenode.net, so I've added that to my auto-join list in my IRC > client and will be there any time I'm online. I hope others from > this list might join too. Especially if you have time and interest > in helping answer questions

[Groff] colored background?

2008-02-22 Thread Michael(tm) Smith
Is there an recommended way to create a background in an alternate color for a certain block of text? I ask because for program listings and other "verbatim" output, dblatex and the DocBook XSL stylesheets for FO output cause the output to be rendered with a light-gray background. That really help

[Groff] #groff on irc.freenode.net

2008-02-22 Thread Michael(tm) Smith
I know there's been some discussion in the past about the lack of a groff channel for IRC discussion. I think getting IRC channels started is mostly a matter of a few people taking initiative to agree on a server and channel and to just stay on there (in the background) when they're online -- so th