Subject: (dsssl) lists and extra space From: Balazs Scheidler <bazsi@xxxxxxxxxx> Date: Fri, 29 Jun 2001 19:11:33 +0200 |
Hi, I've run into a problem which seems to be jade or dsssl related, and thought this list should be the appropriate to post. We are writing a document in docbook markup, using jade (both 1.2.1 and 1.4-devel1) to generate postscript with the TeX backend. Our problem is that there's an extra space after the bullet in itemizedlists, like this: * First line of the item... Second line of the item Third line of the item. As the example shows the first line is indented a little bit more than the others. Checking out the TeX source revealed, that there are some whitespace which is erroneously interpreted as a single space by LaTeX. Here's the tex source: \Node% {\def\Element% {482}}\Node% {\def\Element% {483}}\Par% {\def\FirstLineStartIndent% {0\p@}\def\FirstLineStartIndentFactor% {0}\def\sbNom% {10\p@}\def\sbMin% {10\p@}\def\sbMax% {10\p@}\def\sbConditional% {1}\def\KeepWithNext% {1}}You already have got a web-\/cache proxy\endPar{}\endNode{}\Node% {\def\Element% {484}}\DisplayGroup% {\def\StartIndent% {48.346\p@}\def\StartIndentFactor% {0}}\Par% {\def\FirstLineStartIndent% {-20\p@}\def\FirstLineStartIndentFactor% {0}\def\fFamName{Times-New-Roman}\def\fWeight% {medium}\def\fSize% {10\p@}\def\sbNom% {5\p@}\def\sbMin% {5\p@}\def\sbMax% {5\p@}\def\sbConditional% {1}}\Seq% {}\LineField% {\def\FieldWidth% {20\p@}\def\FieldWidthFactor% {0}}<A0>\endLineField{}\endSeq{}\Node% {\def\Element% {485}\def\ProcessingMode% {listitem-content-mode}}\Seq% {} If your web-\/cache server is inside your private network and is allowed to get through the transparent firewall. In this case your clients use it as a web-\/cache server. \endSeq{}\endNode{}\endPar{} as you see the paragraph contents begins with some tabs (comes from the sgml source since it's indented), and this results a small gap in front of the first line. I'm investigating the problem further, though some hints would be appreciated. .... In the meanwhile (the list server software bounced my message, because I was not subscribed) I could fix the problem by patching jade as follows: --- TeXFOTBuilder.cxx.cxx.old Wed Oct 7 07:16:34 1998 +++ TeXFOTBuilder.cxx Fri Jun 29 18:05:39 2001 @@ -3446,13 +3457,13 @@ String<char> s; stringout_.extractString( s ); StrOutputByteStream out; - out << "\\" << name << "%\n{" << s << '}'; + out << "\\" << name << "%\n{" << s << "}%\n"; out.extractString( s ); *output += s; } else { os() << "\\" << name << "%\n{"; dumpInherited(); - os() << '}'; + os() << "}%\n"; } } -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: (dsssl) openjade and opensp on , Joel Young | Thread | Re: (dsssl) lists and extra space, M. Wroth |
Re: (dsssl) openjade and opensp on , Joel Young | Date | Re: (dsssl) lists and extra space, M. Wroth |
Month |