This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Literallayout to html
- To: docbook-apps at lists dot oasis-open dot org, eric dot richardson at milagrosoft dot com
- Subject: Re: DOCBOOK-APPS: Literallayout to html
- From: Bob Stayton <bobs at caldera dot com>
- Date: Fri, 19 Oct 2001 16:35:01 -0700 (PDT)
- List-Id: <docbook-apps.lists.oasis-open.org>
> 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>