* [NTG-context] issue with \xmlinlineprettyprinttext
@ 2024-03-20 18:52 Pablo Rodriguez via ntg-context
0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2024-03-20 18:52 UTC (permalink / raw)
To: ConTeXt users; +Cc: Pablo Rodriguez
Dear list,
I have the following sample:
\startbuffer[demo]
<doc>
<code>a --b c</code>
<inlinecode>a --b c</inlinecode>
</doc>
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{doc|code|inlinecode}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:code
\xmlprettyprinttext{#1}{none}
\stopxmlsetups
\startxmlsetups xml:inlinecode
\xmlinlineprettyprinttext{#1}{none}
\stopxmlsetups
\definefontfamily[mainface][tt][TeX Gyre Cursor]
[features={default, quality}]
\setupbodyfont[mainface]
\starttext
\xmlprocessbuffer{main}{demo}{}
\type{a --b c}
\stoptext
Using current latest (from 2024.03.11 09:34), LMTX transforms "--" in
"–" (en-dash) only with \xmlinlineprettyprinttext (LuaTeX writes the
en-dash in the three cases).
This issue has been driving me crazy, since it took me a while what was
different here.
Is there something I can do to get \xmlinlineprettyprinttext as
\xmlprettyprinttext in this point?
Many thanks for your help,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-20 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 18:52 [NTG-context] issue with \xmlinlineprettyprinttext Pablo Rodriguez via ntg-context
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).