This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: line length in elements displayed verbatim
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: line length in elements displayed verbatim
- From: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- Date: Thu, 10 May 2001 06:52:06 +0100
At 05:14 PM 5/9/01, David Cramer wrote:
>Hi there,
>
>In <programlisting> and other elements displayed verbatim, are there any
>tricks available to make it look good in html, where page width is not
>such an issue and pdf where it is? I'm considering writing the document
>with limited line lengths in programlistings and using a ↩
>("leftwards arrow with hook") and some indentation to indicate a line
>wrap. I'd then preprocess away the ↩ + n spaces before going to
>html with xslt.
>
>I suspect someone has already figured out a good way to deal with this
>situation, so I thought I'd ask.
I use emacs and <screen> elements.
I've set the line width to 70 characters, and I wrap it using ESC-Q
which makes it look OK when shown in html.
Hope that helps,
DaveP
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org