![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi Hans, the latest beta does not replace xml entities for which I have defined something like \xmltexentity{degree}{\textdegree} The problem is not there in 2015.09.13 13:31, but in 2015.10.09 21:28 (sorry don't have all the betas in between). I can make you a test file if you need it, but I guess the problem is obvious. Thomas
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Hi,
the latest beta does not replace xml entities for which I have defined something like
\xmltexentity{degree}{\textdegree}
The problem is not there in 2015.09.13 13:31, but in 2015.10.09 21:28 (sorry don't have all the betas in between). I can make you a test file if you need it, but I guess the problem is obvious.
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 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On 13 Oct 2015, at 13:41, Hans Hagen
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: °ree; </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
participants (3)
-
Hans Hagen
-
Schmitz Thomas A.
-
Thomas A. Schmitz