This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: long strings
- From: Camille Bégnis <camille at mandrakesoft dot com>
- To: Tim Terlegård <tim at se dot linux dot org>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 07 Mar 2002 09:48:17 +0100
- Subject: Re: DOCBOOK-APPS: long strings
- Organization: MandrakeSoft
- References: <200203070828.g278Sob12488@d1o982.telia.com>
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