RE: [docbook-apps] Re: qanda listings in html output

From
Cramer, David W (David) <>
Date
2010-10-27T15:59:06+00:00
ID
Thread
RE: [docbook-apps] Re: qanda listings in html output
Hi Tom,
There's some information about formatting qandasets in Bob Stayton's book (an essential reference if you haven't checked it out yet): http://www.sagehill.net/docbookxsl/QandAformat.html

David

> -----Original Message-----
> From: Tom Browder [mailto:]
> Sent: Wednesday, October 27, 2010 10:42 AM
> To: Docbook Apps Help list
> Subject: [docbook-apps] Re: qanda listings in html output
> 
> I found why the weird spacing and have kludged a fix:
> 
> In <db style sheets 1.75.2>/html/qandasets.xsl the label is put in a
> paragraph ("<p></p>") which causes the funny offset since each entry
> is a table row with two columns.  I removed paragraph blocks from both
> cells for question and answer.  That seemed to take care of the
> offset.
> 
> I also found that the default column width for the first column is 1%
> which is not enough for more than a single character.  I changed the
> width in the style sheet to 4% which shows better.  I think there
> might be parameters to change  that width but I haven't tried that
> yet.
> 
> I believe the first issue is a bug, and the second issue may not be a
> bug but it is a nuisance.
> 
> Regards,
> 
> -Tom
> 
> Thomas M. Browder, Jr.
> Niceville, Florida
> USA
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: