[NTG-context] (again) \xmlinlineprettyprinttext double hyphens

2024-03-24 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \startbuffer[demo]
  mtxrun --script check file
  \stopbuffer

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

  \xmlregistersetup{xml:initialize}

  \startxmlsetups xml:code
\xmlprettyprinttext{#1}{none}
\xmlinlineprettyprinttext{#1}{none}
  \stopxmlsetups

  \definefontfamily[mainface][tt][TeX Gyre Cursor]
[features={default}]

  \setupbodyfont[mainface]

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

Current LMTX (2024.03.11 09:34) is giving different results for double
hyphens with \xmlprettyprinttext and \xmlinlineprettyprinttext.

Since the output of \xmlinlineprettyprinttext is a wrong argument (in
the sample), what am I missing here to get the right output with
\xmlinlineprettyprinttext?

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
___


[NTG-context] Re: Unknown units es and dk

2024-03-24 Thread Hans Hagen

On 3/23/2024 8:31 PM, Hraban Ramm wrote:


Am 23.03.24 um 19:05 schrieb Hans Hagen:

On 3/23/2024 2:27 PM, Wolfgang Schuster wrote:

Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf

The es, ts and eu are discussed here:

https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf


In German, I call these "Spaßeinheiten" (units of measurement = 
"Maßeinheiten"; Spaß = fun; "units of leisurement" might be a good 
translation).
Apart from being fun they are also useful, for instance the "ts" (and 
dk) make good framed offsets when making examples. Of the "serious" unit 
is only use pt, mm and cm (and bp in the backend).


Hans

-
  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 / 
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
___


[NTG-context] Re: Unknown units es and dk

2024-03-24 Thread Jan Ulrich Hasecke via ntg-context



Am 23.03.24 um 19:05 schrieb Hans Hagen:

The es, ts and eu are discussed here:

https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf

it also discusses how the team callibrated these units by sampling 
texies.



Ah, I see. :-)


Thanks

juh

___
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
___