[Top][All Lists]
[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.
- Re: Formatting DocBookXML with Lout, (continued)
- Re: Formatting DocBookXML with Lout, Ludovic Courtès, 2008/04/15
- Re: Formatting DocBookXML with Lout, Yves Forkl, 2008/04/16
- Re: Formatting DocBookXML with Lout, Ludovic Courtès, 2008/04/16
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Yves Forkl, 2008/04/16
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Ludovic Courtès, 2008/04/17
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Michael Piotrowski, 2008/04/17
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Ludovic Courtès, 2008/04/18
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Michael Piotrowski, 2008/04/18
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Yves Forkl, 2008/04/18
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Michael Piotrowski, 2008/04/18
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2,
Ludovic Courtès <=
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Ludovic Courtès, 2008/04/21
- Re: Formatting DocBookXML with Lout / Latin-1 and Latin-2, Michael Piotrowski, 2008/04/17