Subject: Re: displaying dashes From: Bek Oberin <gossamer@xxxxxxxxxxxxxx> Date: Mon, 22 Nov 1999 12:30:55 +1100 |
Brandon Ibach wrote: >>>> Skud wrote: >>>>> In the print output, double dashes (eg "--") are smushed down to >>>>> one dash ("-"), which is fine in most cases. The problem is >>>>> when it happens >> TeX, you guessed it. > Well, short of someone patching the OpenJade backend to fix this on > input, you could alter your documents to use an entity reference for > dashes and include something like this in your DTD: > <!ENTITY % tex "IGNORE"> > <![ %tex; [ > <!ENTITY dash "--{}"> > ]]> > <!ENTITY dash "-"> > This will cause ‐ to be replaced with a single dash, unless you > include the "-itex" option on the OpenJade (or other SP-based tool, > such as nsgmls) command line, in which case %tex; will be defined as > "INCLUDE", thus using the TeX-style ‐, because earlier > definitions of an entity override later ones. For this case do I now use ‐‐ every place I had a double-dash in the input? I already have a .dtd file for this project so just drop in what you put? Appologies for any dimwittedness on my part, it's late and I still haven't got a proper handly on this DocBook stuff. It's COMPLICATED. bekj -- : --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick-- : gossamer@xxxxxxxxxxxxxx http://www.tertius.net.au/~gossamer/ : I have woven a parachute out of everything broken. : -- William Stafford DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: displaying dashes, Sebastian Rahtz | Thread | Re: displaying dashes, Brandon Ibach |
RE: displaying dashes, Frank A. Christoph | Date | Re: displaying dashes, Brandon Ibach |
Month |