From mojca.miklavec.lists@gmail.com Thu Oct 13 21:51:16 2011 From: Mojca Miklavec To: ntg-context@ntg.nl Subject: [NTG-context] missing html entities in latest ConTeXt Date: Thu, 13 Oct 2011 21:51:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7378153492199402974==" --===============7378153492199402974== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit When processing HTML with TeX Live 2011, all the entities are nicely converted into corresponding characters. With latest version of ConTeXt I get literal "le" instead of ≤ for ≤ or "hellip" instead of ... for … I will try to send a minimal version (the one I sent with MathJax can probably serve as a good starting point). Mojca --===============7378153492199402974==-- From mojca.miklavec.lists@gmail.com Thu Oct 13 21:59:48 2011 From: Mojca Miklavec To: ntg-context@ntg.nl Subject: Re: [NTG-context] missing html entities in latest ConTeXt Date: Thu, 13 Oct 2011 21:59:44 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3184053839795030921==" --===============3184053839795030921== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, Oct 13, 2011 at 21:51, Mojca Miklavec wrote: > When processing HTML with TeX Live 2011, all the entities are nicely > converted into corresponding characters. > > With latest version of ConTeXt I get literal "le" instead of ≤ for > ≤ or "hellip" instead of ... for … > > I will try to send a minimal version (the one I sent with MathJax can > probably serve as a good starting point). And here is the minimal example that works with TL 2011. Well, the ≤ and ≥ don't work with LM, but they work fine with Iwona (TL 2011). In latest version no entity works. \startbuffer[test] Here are some entities like ≤ ≥ č … \stopbuffer \startxmlsetups all:html \xmlsetsetup{main}{}{*} \stopxmlsetups \xmlregistersetup{all:html} \starttext \xmlprocessbuffer{main}{test}{} \stoptext Mojca --===============3184053839795030921==-- From mojca.miklavec.lists@gmail.com Thu Oct 13 23:13:10 2011 From: Mojca Miklavec To: ntg-context@ntg.nl Subject: Re: [NTG-context] missing html entities in latest ConTeXt Date: Thu, 13 Oct 2011 23:12:58 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1218155149370953022==" --===============1218155149370953022== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Also, ["bdquo"]=0x0201E, is missing in math-ent.lua/char-ent.lua (but char-ent.lua doesn't seem to work properly anyway). I didn't do extensive checking of what else might be missing, but the entity can be found here: http://www.w3.org/TR/html4/sgml/entities.html with a tag "NEW". Mojca --===============1218155149370953022==-- From pragma@wxs.nl Thu Oct 13 23:36:20 2011 From: Hans Hagen To: ntg-context@ntg.nl Subject: Re: [NTG-context] missing html entities in latest ConTeXt Date: Thu, 13 Oct 2011 23:36:01 +0200 Message-ID: <4E9759C1.1010908@wxs.nl> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1110158571247260692==" --===============1110158571247260692== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On 13-10-2011 21:59, Mojca Miklavec wrote: > On Thu, Oct 13, 2011 at 21:51, Mojca Miklavec wrote: >> When processing HTML with TeX Live 2011, all the entities are nicely >> converted into corresponding characters. >> >> With latest version of ConTeXt I get literal "le" instead of ≤ for >> ≤ or "hellip" instead of ... for… >> >> I will try to send a minimal version (the one I sent with MathJax can >> probably serve as a good starting point). > > And here is the minimal example that works with TL 2011. Well, the > ≤ and≥ don't work with LM, but they work fine with Iwona (TL > 2011). In latest version no entity works. weird, i'll look into it ----------------------------------------------------------------- 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 ----------------------------------------------------------------- --===============1110158571247260692==--