This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Printing double/triple-dash within tex/pdftex
- To: Georg Lohrer <GeorgLohrer at web dot de>, docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Printing double/triple-dash within tex/pdftex
- From: Richard Sharpe <sharpe at ns dot aus dot com>
- Date: Tue, 08 May 2001 21:05:18 +0900
At 01:00 PM 5/8/01 +0200, Georg Lohrer wrote:
>Hello,
Hmmm, can you wrap your lines correctly. It makes quoting easier.
>I'm new to DocBook and quite familiar with LaTeX, pdfLaTeX. I'm running
>DocBook 4.1 and have written a document with several <screen> tags in it. I
>discovered a really strange behaviour with some special characters.
>I've written in my sgml-file:
>
><screen format='linespecific'>
> ./configure --prefix=/user/blabla
></screen>
>
>And running openjade does a good job with html- or rtf-output. But with
tex or
>even pdf-output the "--" double dash is passed to the jadetex-inputfile
still
>as "--". Within TeX it's now converted to the endash character and printed
out
>in that form. Using pure LaTeX I'm using the verbatim-environment and the
>problem has gone, but within DocBook I don't know how to do that.
What I currently do is pass the .tex file through sed and change all >> to
>{>} and << to <{<}. I imagine that if I were to change -- to -{-} as well,
all would work.
I am working on a fix in OpenJade, but cannot yet link OpenJade 1.4.
>
>Ciao, Georg
Regards
-------
Richard Sharpe, sharpe@ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org