[NTG-context] ConTeXt logo in XML

Pablo Rodriguez oinos at gmx.es
Mon Jan 26 16:19:00 CET 2015


On 01/26/2015 02:40 PM, Wolfgang Schuster wrote:
> [...]
> Hans uses for the documentation of the Lua code <logo label="context"/>
> to print the ConTeXt logo, to do so the following setup is used (copied
> from x-ldx.mkiv):
> 
> \startxmlsetups ldx:logo
>     \uppercasestring\xmlatt{#1}{label}\xmlatt{#1}{name}\to\ascii
>     \ifx\ascii\empty\else\getvalue{\ascii}\fi
> \stopxmlsetups

Many thanks for your reply, Wolfgang.

I thought it was possible only changing the environment (and not the XML
code).

But this really does what I intend.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list