Rishi Khan wrote:
> 
> Basically, I wanted to remove some of the space between the list items 
> when the DocBook file is formatted to PDF or XHTML. I noticed that in 
> XHTML, it is doing:
> <ul>
> <li><p>Item1</p></li>
> <li><p>Item2</p></li>
> <ul>
> 
> and I wanted:
> <ul>
> <li>Item1</li>
> <li>Item2</li>
> <ul>

[[[OFF TOPIC: I'm not sure that a Web browser would render differently 
the two above HTML lists.]]]


> 
> I guess there is no DocBook correlate other than editing the XSLT files 
> for PDF and HTML. Is this correct?
> 

I've understood that you want some of your itemizedlists to look compact 
when the DocBook document is converted to HTML or to PDF.

Please try to add attribute spacing="compact" to such itemizedlists. See
http://www.docbook.org/tdg5/en/html/itemizedlist.html

itemizedlist/@spacing is one of the rare DocBook attributes that 
influence the processing of the document by the XSLT style sheets.





Reply via email to