This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <screen>-- </screen>


On Thu 22 Feb, Peter Toft wrote:
> I asked about this a year ago, and nobody really could
> help me - here goes again:
> 
> Using -- in a screen gives an irritating problem in PS
> og PDF-output; look at this one
> 
> <screen>
> d--x--x--x DIR1
> dr-xr-xr-x DIR2
> </screen>
> 
> The output looks in HTML like this (fine)
> d--x--x--x DIR1
> dr-xr-xr-x DIR2
> 
> However PS/PDF sees two consequtive minus-signs as a
> long minus, i.e.
> 
> d-x-x-x DIR1
> dr-xr-xr-x DIR2
> 
> 
> It really looks stupid for directory-listings- can I
> use a trick to get out of this situation - or trick
> pdfjadetex to not combine two minus-signs?

Does using &dash;&dash; not work in this context? that's what I used when I
noticed this problem (in exactly the same sort of text, of course). Mine are
inside <literallayout> tags rather than <screen> but I'd hope that wouldn't
matter.

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel (00 44) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]