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
___________________________________________________________________________________

Reply via email to