> On 13 Oct 2015, at 13:41, Hans Hagen <pra...@wxs.nl> wrote:
> 
> if you have a small example ... this whole entity stuff is a mess .. 
> officially entities are replaced at load time but tex code is delayed .. so 
> maybe i need to invent some other trick (there was an issue with & ; 
> sequences being replaced while being just text in that stage

Yes, it looks like the treatment of & has changed. Here’s an example:

\startbuffer[test]
<text>
 Random text with an entity: &degree;
</text>
\stopbuffer

\startxmlsetups xml:testsetups
 \xmlsetsetup{#1}{text}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:testsetups}

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

\xmltexentity{degree}{\textdegree}

\starttext
 \xmlprocessbuffer{main}{test}{}
\stoptext

Works with older betas, not with the current one.

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to