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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: RE: [docbook] Question


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:davep@dpawson.co.uk] 
> 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: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
> 
> 


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