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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: long strings


One should also be able to insert ­ (which is defined in the
character entity files that are part of the DocBook DTD--or you
can just use ­) to insert a discretionary hyphen.  This will 
cause a hyphen (dash) character to be printed at the end of the line 
if a break is taken here.

One can also insert ​ which is the "zero width space" character
which allows a line break here without the insertion of a dash.  (This
character may not be implemented as such in all formatters.)

In both cases, if the line isn't broken at that spot, your output
doesn't have an introduced space as would be the case with solution 1.

paul

At 09:48 2002 03 07 +0100, Camille Bégnis wrote:
>Hi Tim,
>
>Three solutions:
>
>1) The quick and dirty: Add a space/newline where you want the line to
>be cutted
>
>2) The tedious and clean: put the long string into another tag like
><parameter> and make sure it is processed with the \url TeX command and
>package.
>
>3) The tricky: reduce the font size for <userinput> ;-)
>
>Camille.
>
>Tim Terlegård a écrit :
>> 
>> If I have a very long string it won't be broken down to two or more lines,
>> the last part just dissapears outside the paper (or pdf). I have this:
>> 
>> <userinput>$ snmpwalk hostname communitystring
>> host.hrSWInstalled.hrSWInstalledTable.hrSWInstalledEntry.hrSWInstallName</userinput>
>> 
>> The last part in the last string will be cut out from the document. How
>> should I solve this? I thought of SBR, but it doesn't seem to be available in
>> <para> or <userinput>.
>> 
>> I'm using DSSSL 1.72
>> 
>> Thanks,
>> 
>> Tim 



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


Powered by eList eXpress LLC