OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] how to get rid of leading/trailing space in verbatim?


Hi Robert,

Peter Kullmann posted a customization to do so here: 
http://sources.redhat.com/ml/docbook-apps/2003-q2/msg00334.html

I haven't tested it myself yet, but why don't you give it a try.

HTH,
Patrick

Robert P. J. Day schrieb:

> 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
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]