lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong indentation because of pdfmark?


From: Ludovic Courtès
Subject: Re: Wrong indentation because of pdfmark?
Date: Wed, 01 Oct 2008 09:29:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hi,

Robert Riebisch <address@hidden> 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 address@hidden' 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 address@hidden' object horizontally (see the
Expert's Guide for details).

BTW, in 3.37, you can use address@hidden' instead of the whole address@hidden'
thing; it has the same problem, though.

Thanks,
Ludo'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]