This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Literallayout to html


> From: Eric Richardson <eric.richardson@milagrosoft.com>
> 
> Hi,
> Now that I got the <programlisting> in docbook XML and XSL to work with 
> xalan extensions, I have a few observations.
> 
> 1. On the literallayout conversion to html there is no <pre> tag but 
> there is a <br> before. I'm trying to include ASCII art and thought 
> programlisting inappropriate.
> 
> 2. On the programlisting conversion, there is no <br> so the output is 
> sensitive to the element whitespace.
> 
> Perhaps there is a better way to include ASCII art or perhaps I'm 
> missing something but I would think that the literal should be in the 
> pre tag based on the elements description. I would also like the <br> 
> added to the programlisting as I like this behavior.
> 
> In comments or suggestion very welcome.

You want <literallayout class="monospaced">.
By default, literallayout uses the normal font.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]