lout-users
[Top][All Lists]
Advanced

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

Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2


From: Ludovic Courtès
Subject: Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2
Date: Mon, 21 Apr 2008 11:08:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

Yves Forkl <address@hidden> writes:

> By just replacing the special characters as shown above this would
> leave me with something like
>
> @PP address@hidden {The city of { TimesCE Base } @Font { address@hidden 
> address@hidden
> address@hidden zacute} } is in Poland.} }
>
> which of course does not work, the correct code being, I suppose,
>
> @PP address@hidden {The city of} { TimesCE Slope } @Font { address@hidden 
> address@hidden
> address@hidden zacute} } @I {is in Poland.} }

You might be able to use address@hidden' and address@hidden' to pass
information about "italicness":

  { "slope?" @Yield "No" } @SetContext {
    # the whole document ...

    @I  # this is your <emphasis> tag
    { "slope?" @Yield "Yes" } @SetContext {
      The city of
      { { "slope?" @GetContext } @Case {
          "Yes" @Yield { TimesCE Slope }
          "No"  @Yield { TimesCE Base }
        }
        @Font { { @Char Lslash }... }
    }
 }

This is untested but you get the idea.  This primitives are described in
the Expert's Guide.

Thanks,
Ludovic.



reply via email to

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