This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Literallayout to html
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Literallayout to html
- From: Eric Richardson <eric dot richardson at milagrosoft dot com>
- Date: Fri, 19 Oct 2001 18:07:21 -0700
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: MilagroSoft Inc.
- References: <10110191635.aa05974@mammoth.ca.caldera.com>
Bob Stayton wrote:
>>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.
This works great. I guess I need to look at the attribute values.
Thanks,
Eric
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>