[NTG-context] ConTeXt logo in XML

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Jan 26 16:33:06 CET 2015

> Am 26.01.2015 um 16:19 schrieb Pablo Rodriguez <oinos at gmx.es>:
> 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.

To replace text in your input you can try to use the translate module.




This document was produced with ConTeXt.

This document was produced with ConTeXt.



More information about the ntg-context mailing list