OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:tom.browder@gmail.com]
> 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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]