Re: Wrong indentation because of pdfmark?
[email protected] (Ludovic Courtès)
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
Hi, Robert Riebisch <[email protected]> writes: > Why does the following produce an indentation on "Line 1" with Lout 3.36 > and Ghostscript 8.63? If I omit the whole "@BackEnd @Case" stuff, > there's no indentation as it should be. > *** > @SysInclude { doc } > @Doc @Text @Begin > @BackEnd @Case { > PostScript @Yield { > { > [ "/"Author "("author")" > "/"Title "("title")" > "/"Subject "("subject")" > "/"Keywords "("keywords")" > "/"DOCINFO pdfmark > } @Graphic {} > } > } > Line 1 @LLP > Line 2 > @End @Text > *** I can reproduce the problem here (with 3.37), but I don't know why it occurs (well, presumably because the `@Graphic' object doesn't have a zero width, for some reason). You can work around it by adding "|0co" right after the "@BackEnd" block: it tells Lout to concatenate the next object (i.e., "Line 1") such that it over-strikes the `@Graphic' object horizontally (see the Expert's Guide for details). BTW, in 3.37, you can use `@DocInfo' instead of the whole `@BackEnd' thing; it has the same problem, though. Thanks, Ludo'.