22 Mar
2015
22 Mar
'15
6:08 p.m.
Dear list, I have the following sample: \startbuffer[demo] <span class="tex-logo">TeX</span> \stopbuffer \setupinteraction[state=start] \startxmlsetups xml:initialize \xmlsetsetup{#1}{span[contains(@class,'tex-logo')]}{xml:tex:logo} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:tex:logo \TeX \stopxmlsetups \stopxmlsetups \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Unless I remove the hyphen from the class and from the setups (or replace both hyphens with an underscore hyphen), I won’t get the \TeX logo. Have I hit a bug or is it a feature? Many thanks for your help, Pablo -- http://www.ousia.tk