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] programlisting line wrap options


Hi Dano,
Yes, the wrap features you were looking at were for printed output to
prevent content from going into the margins and off the page.

For HTML output, programlisting content is output inside a <pre> element,
with the assumption that a browser can scroll to view lines that don't fit
in the current window size.  I don't know if there is a CSS property to add
a wrap feature to a pre element.  Doesn't it still depend on the current
window and font size being used?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Dano Carroll" <dano@xernolan.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, January 26, 2006 1:17 PM
Subject: [docbook-apps] programlisting line wrap options


> I am currently attempting to publish a docbook 4.4 document using the
> html output of the docbook xsl stylesheets version 1.69.1. I have a
> programlisting element around a textobject that has very long
> lines. When I specify the programlisting width attribute of 80, the
> resulting html output does not wrap. I looked in the latest version of
> the docbook XSL definitive guide and added the recommended changes to
> the monospace.verbatim.properties attribute set that turn on word-wrap
> and set the hyphenation character to the backslash character. However
> the html output still does not wrap.
>
> In looking over the mailing list archives, I get the impression that
> this feature may be intended for the fo output type and not the html
> output type. I am also using Xalan 2.6.0 and Xerces 2.7.0 to process
> the xml into html if that makes any difference.
>
> Thanks,
> Dano
>
> -- 
>
> "I aim to misbehave" - Malcom Reynolds, Captain/Owner of Serenity
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




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