On 2/19/2018 10:14 PM, Pablo Rodriguez wrote:
Hans,

I have the following sample:

   \startbuffer[demo]
   <doc>
   <p>b</p>
   <code class="sourceCode latex"><span class="fu">\␣</span></code>
   </doc>
   \stopbuffer

   \startxmlsetups xml:initialize
      \xmlsetsetup{#1}{doc|p|code}{xml:*}
   \stopxmlsetups

   \xmlregistersetup{xml:initialize}

   \startxmlsetups xml:doc
      \xmlflush{#1}
   \stopxmlsetups

   \startxmlsetups xml:p
      \startpar\xmlflush{#1}\stoppar
   \stopxmlsetups

   \startxmlsetups xml:code
     \xmlprettyprinttext{#1}{tex}
   \stopxmlsetups

   \starttext
      \xmlprocessbuffer{main}{demo}{}
   \stoptext

For some strange reason, "\␣" is problematic only when
\xmlprettyprinttext (or \xmlinlineprettyprinttext) is set to tex.

Is this a bug or am I missing something?
are you sure that the font you use has the character


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to