This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] how to get rid of leading/trailing space inverbatim?
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: Bob Stayton <bobs at sco dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 3 Sep 2003 06:49:04 -0400 (EDT)
- Subject: Re: [docbook-apps] how to get rid of leading/trailing space inverbatim?
On Tue, 2 Sep 2003, Bob Stayton wrote:
> <programlisting>
> line 1
> line2
> line3
> </programlisting>
>
> The way to get no extra lines in the verbatim environment
> is to write it this way:
>
> <programlisting>line 1
> line2
> line3</programlisting>
dang, you're right, and i should have thought of that. although
since i prefer to write it the first way (just for aesthetics),
i guess i can redefine the <programlisting> template to remove any
initial and final whitespace text node, yes?
or is that working too hard at this?
rday
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.