[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Question
David Cramer wrote: > 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). I want it to work in html too, so xsl-fo line wrapping is not really an option David? Also the content must be unchanged when it is extracted for use as a program. regards > > 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. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]