[NTG-context] ConTeXt logo in XML

Pablo Rodriguez oinos at gmx.es
Mon Jan 26 14:21:34 CET 2015


Dear list,

I have the following sample:

\startbuffer[demo]
<doc>
     <p>This context is not ConTeXt.</p>
</doc>
\stopbuffer

\starttext

\startxmlsetups xml:initialize
     \xmlsetsetup{#1}{p|doc}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:initialize}

\startxmlsetups xml:doc
     \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:p
     \xmlflush{#1}\par
\stopxmlsetups

\xmlprocessbuffer{main}{demo}{}

\stoptext

Is there any way that I get "ConTeXt" (and not "context") typeset as
\ConTeXt?

Many thanks for your help,


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


More information about the ntg-context mailing list