From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: missing html entities in latest ConTeXt
Date: Thu, 13 Oct 2011 21:59:44 +0200 [thread overview]
Message-ID: <CALBOmsZei+Nuxrso_GHSKRHuVwx7JTeV-ZFMA5n=3T5==3XiKg@mail.gmail.com> (raw)
In-Reply-To: <CALBOmsY6Vs-FgwRuXjySgqQjmU4CWTBOA-OHBK-m5p9MAUy4kg@mail.gmail.com>
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]
<html>
Here are some entities like ≤ ≥ č …
</html>
\stopbuffer
\startxmlsetups all:html
\xmlsetsetup{main}{}{*}
\stopxmlsetups
\xmlregistersetup{all:html}
\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-10-13 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 19:51 Mojca Miklavec
2011-10-13 19:59 ` Mojca Miklavec [this message]
2011-10-13 21:12 ` Mojca Miklavec
2011-10-13 21:36 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALBOmsZei+Nuxrso_GHSKRHuVwx7JTeV-ZFMA5n=3T5==3XiKg@mail.gmail.com' \
--to=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).