Does specifying a hyphenation character not work for you?

http://www.sagehill.net/docbookxsl/FittingText.html#BreakLongLines 

Perhaps using some character other than \ as the hyphenation-character
(often a hooked arrow is used). 

David

> -----Original Message-----
> From: Dave Pawson [mailto:[email protected]] 
> Sent: Tuesday, January 06, 2009 6:28 AM
> To: docbook
> Subject: [docbook] Question
> 
> I'm looking at embedded code in docbook 5.
> 
> 
> <programlisting>
> 
> $very long command line
> 
> </programlisting>
> 
> 
> The problem is that I want to extract the command line as 
> working code, from the docbook, hence I can't embed pseudo 
> newlines/line break characters, as I would for documentation.
> 
> 
> 
> Since I don't want to 'unwrap' all short lines, I'm looking 
> at ?? an extension ?? purely for documentation?
> 
> 
> <programlisting>
> 
> <line>$very long command line <linebreak/> etc etc
> 
> </line>
> 
> </programlisting>
> 
> 
> I.e. to intimate that at <linebreak/> I want (for the docbook 
> 'print' output) a newline inserted to keep the page width reasonable.
> 
> Is this / should this be an extension,
> or might it be considered of sufficiently general use for adoption?
> 
> 
> Processing would be to replace the element with a media 
> appropriate break.
> 
> 
> regards
> 
> 
> 
> regards
> 
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to