Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote:

> Very useful!  And I'll be on the lookout for a newspaper called The Onion :-)
> one that I presume would bring you to tears.

Oh, it does:

https://www.theonion.com/

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


Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, Hans Hagen wrote:

> On 1/8/2021 12:39 AM, Vedran Miletić wrote:
> 
> > It's whatever ConTeXt standalone has. I don't have any extra Lua installed:
> 
> --credits should mention the lua version
> 
> > Should I see it on non-HiDPI as well? Because it seems it's there.
> 
> depends on what you consider (non) hdpi ... the positioning of glyphs 
> depends on font scale, rounding of stems and such (hints in fonts but 
> these get less relevant with high res displays), caching, inter glyph 
> corrections (that pdftex/luatex/...) put in the text stream to resync 
> within certain tolerances, etc ... (often a print is a better reference 
> as displays are seldom 600+ dpi) .. it's also why often expansion looks 
> bad on screen because even a sub percentage difference can give such 
> effects

Another way to see it is just zoom in on the PDF. If the artifacts go away on 
zooming in, then they are due to anti-aliasing.

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


Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Vedran Miletić

On 07. 01. 2021. 23:01, Hans Hagen wrote:

what lua does your 2.08 have? if it's 5.2. then such small differences 
can be a side effect of lua (different number models), serialization 
of numbers (default accuracy), or maybe rounding in the lua=>tex font 
interface (there were some fixes iir), the number of digist that the 
backend uses, etc



It's whatever ConTeXt standalone has. I don't have any extra Lua installed:

$ luametatex --version
This is LuaMetaTeX, Version 2.08.11

Execute 'luametatex --credits' for credits and version details.

There is NO warranty. Redistribution of this software is covered by the 
terms

of the GNU General Public License, version 2 or (at your option) any later
version. For more information about these matters, see the file named 
COPYING

and the LuaTeX source.

Functionality : level 20210107
Support   : cont...@ntg.nl
Copyright : The Lua(Meta)TeX Team(s) (2005-2020+)

The LuaMetaTeX project is related to ConTeXt development. This macro package
tightly integrates TeX and MetaPost in close cooperation with Lua.

$ luatex --version
This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2020 Taco Hoekwater and the LuaTeX Team.


Typing lua gives command not found and texlua is system one.

anyhow, so what you see (in the file) is (per line) transform matrices 
that are slightly different so what you then see is rounding to the 
device pixels



Should I see it on non-HiDPI as well? Because it seems it's there.


Regards,

Vedran

i wouldn't loose sleep over it .. nowadays fonts also evolve and that 
gives larger differences


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
-



--
Vedran Miletić
vedran.miletic.net
___
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
___


Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Very useful!  And I'll be on the lookout for a newspaper called The 
Onion :-) one that I presume would bring you to tears.


And yes, had discovered that processors don't like split 'strings'!! But 
I would never have worked out your definition on my own, but it offers 
me ideas for other variations on the them. Many thanks


Julian

On 8/1/21 12:19 pm, Jairo A. del Rio wrote:


Oh, I would do it another way, as processors aren't very happy with 
commands which split "strings". The drawback of my quick and dirty 
method is the need for additional commands, but I hope this will be 
useful.


\defineregister[myindex]

%Sorry for the funny names

\def\myindexspaced#1{%

\splitstring{#1}\at{ }\to\myindexoneone\and\myindexonetwo%

\myindex[\myindexonetwo,\myindexoneone]{\myindexonetwo,\space\emph{\myindexoneone}}%

}

\def\myindexcomma#1{%

\splitstring{#1}\at,\to\myindextwoone\and\myindextwotwo%

\myindex[#1]{\myindextwoone,\emph{\myindextwotwo}}%

}

\starttext

In \myindexspaced{The Observer}{\em The Observer} of 31 July 2018...

In \myindexcomma{Onion, The}{\em The Onion} of 31 July 2018...

\placemyindex%

\stoptext

Maybe someone else in the list has a cleaner alternative?

Cordially,

Jairo


El jue, 7 de ene. de 2021 a la(s) 18:01, jbf (roma83...@gmail.com 
) escribió:


Thanks Jairo, with some tweaking I now have it working ( I had
\placeindex instead of \placemyindex! And altered the 'style' name
to something else as you hinted I should).

Now, this might be asking too much of ConTeXt, but some Newspaper
names don't italicise the 'The', only the main name. Is it
possible, do you think, to get the -> operator to work only on,
say 'Observer' and not 'The', and for that matter not on the page
number as well? Perhaps not, but worth asking the question anyway!

Julian

On 8/1/21 9:46 am, Jairo A. del Rio wrote:

Hi. In latest LMTX (2021.01.07 16:59), your example works as
expected:

\defineregister[myindex]

\defineprocessor[style][style=italic]%Isn't another name available?

\starttext

In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018

\placemyindex%

\stoptext

Jairo


El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com
) escribió:

I'm wondering if further progress has been made in Mk IV on
styling parts of an index (register) entry? I have followed
the explanation on the wiki, but do not seem to be able to
achieve what I need.

And what I need is to be able to italicise entries that refer
to newspaper names, e.g. The Observer

MWE

\defineregister[myindex]
\defineprocessor[style][style=italic]

\starttext

In \myindex{style->Observer, The} {\em The Observer} of 31
July 2018

\stoptext

The only result I am getting is:

->Observer, The   223

But what I want is /Observer, The/ (in other words, in italics).

Clearly I am doing something wrong, or not enough, or...
maybe there is another way to achieve waht I need?

Julian


___
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

___



___
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

___


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


Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Oh, I would do it another way, as processors aren't very happy with
commands which split "strings". The drawback of my quick and dirty method
is the need for additional commands, but I hope this will be useful.

\defineregister[myindex]

%Sorry for the funny names

\def\myindexspaced#1{%

\splitstring{#1}\at{ }\to\myindexoneone\and\myindexonetwo%

\myindex[\myindexonetwo,\myindexoneone]{\myindexonetwo,\space\emph{\myindexoneone}}%

}


\def\myindexcomma#1{%

\splitstring{#1}\at,\to\myindextwoone\and\myindextwotwo%

\myindex[#1]{\myindextwoone,\emph{\myindextwotwo}}%

}


\starttext


In \myindexspaced{The Observer}{\em The Observer} of 31 July 2018...

In \myindexcomma{Onion, The}{\em The Onion} of 31 July 2018...


\placemyindex%

\stoptext

Maybe someone else in the list has a cleaner alternative?

Cordially,

Jairo

El jue, 7 de ene. de 2021 a la(s) 18:01, jbf (roma83...@gmail.com) escribió:

> Thanks Jairo, with some tweaking I now have it working ( I had \placeindex
> instead of \placemyindex! And altered the 'style' name to something else as
> you hinted I should).
>
> Now, this might be asking too much of ConTeXt, but some Newspaper names
> don't italicise the 'The', only the main name. Is it possible, do you
> think, to get the -> operator to work only on, say 'Observer' and not
> 'The', and for that matter not on the page number as well? Perhaps not, but
> worth asking the question anyway!
>
> Julian
> On 8/1/21 9:46 am, Jairo A. del Rio wrote:
>
> Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:
>
> \defineregister[myindex]
>
> \defineprocessor[style][style=italic]%Isn't another name available?
>
> \starttext
>
> In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018
>
> \placemyindex%
>
> \stoptext
>
> Jairo
>
> El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com)
> escribió:
>
>> I'm wondering if further progress has been made in Mk IV on styling parts
>> of an index (register) entry? I have followed the explanation on the wiki,
>> but do not seem to be able to achieve what I need.
>>
>> And what I need is to be able to italicise entries that refer to
>> newspaper names, e.g. The Observer
>>
>> MWE
>>
>> \defineregister[myindex]
>> \defineprocessor[style][style=italic]
>>
>> \starttext
>>
>> In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018
>>
>> \stoptext
>>
>> The only result I am getting is:
>>
>> ->Observer, The   223
>>
>> But what I want is *Observer, The* (in other words, in italics).
>>
>> Clearly I am doing something wrong, or not enough, or... maybe there is
>> another way to achieve waht I need?
>>
>> Julian
>>
>> ___
>> 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
>>
>> ___
>>
>
> ___
> 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
> ___
>
>
___
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
___


[NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Vedran Miletić

Hello,

I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 
(LuaTeX 1.12). The produced PDFs are:


https://miletic.net/lipsum-112.pdf
https://miletic.net/lipsum-208.pdf

Viewing them with Evince (and I assume Adobe Reader, I don't have it at 
hand to test) shows only minor differences in (horizontal) character 
spacing, which I would expect; the text looks reasonably good either 
way. However, viewing them with PDF.js shows a large difference:


https://miletic.net/lipsum-pdfjs-112.png
https://miletic.net/lipsum-pdfjs-208.png

As you can observe, b, m, n, p, and r (and possibly others) are moved 
slightly above other letters. Is this the expected behavior? If not, is 
this an issue with the way PDF.js is displaying the PDF or the way 
LuaTeX is producing it?


Thanks in advance.

Regards,
Vedran Miletić


--
Vedran Miletić
vedran.miletic.net

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


Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen

On 1/8/2021 12:39 AM, Vedran Miletić wrote:


It's whatever ConTeXt standalone has. I don't have any extra Lua installed:


--credits should mention the lua version


Should I see it on non-HiDPI as well? Because it seems it's there.


depends on what you consider (non) hdpi ... the positioning of glyphs 
depends on font scale, rounding of stems and such (hints in fonts but 
these get less relevant with high res displays), caching, inter glyph 
corrections (that pdftex/luatex/...) put in the text stream to resync 
within certain tolerances, etc ... (often a print is a better reference 
as displays are seldom 600+ dpi) .. it's also why often expansion looks 
bad on screen because even a sub percentage difference can give such 
effects

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


Re: [NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Hans Hagen

On 1/7/2021 8:03 PM, Damien Thiriet wrote:

Hi,


I may have found the bug that broke my metafun
file. Looks like it is connected to odd function.

This snippet of code:

\starttext

\startMPpage
path p;p:=origin--(20,20);
draw p;
draw p reflectedabout ((10,10),(10,-10)) withcolor red;
for i=1 upto 2:
if odd i:
   draw p yshifted 20 withcolor green;
else:
   draw p xshifted 20 withcolor blue;
fi;
endfor;


\stopMPpage

\stoptext

does not compile as I would expect (no green
line drawn). I noticed such behaviour in
2020.12.30 16:45
version. I updated a few minutes ago and have
the same output.

for now use this:

 let odd = relax;
 vardef odd expr n = ((abs(n) mod 2) == 1) enddef ;

I got it fixed (scaled, double and decimal) but no upload now

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


Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had 
\placeindex instead of \placemyindex! And altered the 'style' name to 
something else as you hinted I should).


Now, this might be asking too much of ConTeXt, but some Newspaper names 
don't italicise the 'The', only the main name. Is it possible, do you 
think, to get the -> operator to work only on, say 'Observer' and not 
'The', and for that matter not on the page number as well? Perhaps not, 
but worth asking the question anyway!


Julian

On 8/1/21 9:46 am, Jairo A. del Rio wrote:

Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:

\defineregister[myindex]

\defineprocessor[style][style=italic]%Isn't another name available?

\starttext

In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018

\placemyindex%

\stoptext

Jairo


El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com 
) escribió:


I'm wondering if further progress has been made in Mk IV on
styling parts of an index (register) entry? I have followed the
explanation on the wiki, but do not seem to be able to achieve
what I need.

And what I need is to be able to italicise entries that refer to
newspaper names, e.g. The Observer

MWE

\defineregister[myindex]
\defineprocessor[style][style=italic]

\starttext

In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018

\stoptext

The only result I am getting is:

->Observer, The   223

But what I want is /Observer, The/ (in other words, in italics).

Clearly I am doing something wrong, or not enough, or... maybe
there is another way to achieve waht I need?

Julian


___
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

___


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


[NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Damien Thiriet
Hi,


I may have found the bug that broke my metafun 
file. Looks like it is connected to odd function. 

This snippet of code:

\starttext

\startMPpage
path p;p:=origin--(20,20);
draw p;
draw p reflectedabout ((10,10),(10,-10)) withcolor red;
for i=1 upto 2:
   if odd i:
  draw p yshifted 20 withcolor green; 
   else:
  draw p xshifted 20 withcolor blue;
   fi;
endfor;


\stopMPpage

\stoptext

does not compile as I would expect (no green
line drawn). I noticed such behaviour in
2020.12.30 16:45
version. I updated a few minutes ago and have
the same output.

I hope I didn't miss anything.
Best regards,

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


Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had 
\placeindex instead of \placemyindex! And altered the 'style' name to 
something else as you hinted I should).


Now, this might be asking too much of ConTeXt, but some Newspaper names 
don't italicise the 'The', only the main name. Is it possible, do you 
think, to get the -> operator to work only on, say 'Observer' and not 
'The', and for that matter not on the page number as well? Perhaps not, 
but worth asking the question anyway!


Julian

On 8/1/21 9:46 am, Jairo A. del Rio wrote:

Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:

\defineregister[myindex]

\defineprocessor[style][style=italic]%Isn't another name available?

\starttext

In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018

\placemyindex%

\stoptext

Jairo


El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com 
) escribió:


I'm wondering if further progress has been made in Mk IV on
styling parts of an index (register) entry? I have followed the
explanation on the wiki, but do not seem to be able to achieve
what I need.

And what I need is to be able to italicise entries that refer to
newspaper names, e.g. The Observer

MWE

\defineregister[myindex]
\defineprocessor[style][style=italic]

\starttext

In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018

\stoptext

The only result I am getting is:

->Observer, The   223

But what I want is /Observer, The/ (in other words, in italics).

Clearly I am doing something wrong, or not enough, or... maybe
there is another way to achieve waht I need?

Julian


___
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

___


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


[NTG-context] odd seems to be broken in lmtx-metafun

2021-01-07 Thread Damien Thiriet
Hi,

I think I found the bug that made me send a
"false positive" a few days ago.
Looks like something messes up with metafun odd function.

This snippet of code:

\starttext

\startMPpage
path p;p:=origin--(20,20);
draw p;
draw p reflectedabout ((10,10),(10,-10)) withcolor red;
for i=1 upto 2:
   if odd i:
  draw p yshifted 20 withcolor green; 
   else:
  draw p xshifted 20 withcolor blue;
   fi;
endfor;

%draw (0,0)--(20,20) withcolor red;
\stopMPpage

\stoptext
does not compile as I would expect it: no green line
is drawn (but there is an output). I hope I did not miss 
something and won't waste your time.

This appeared at least in 
2020.12.30 16:45 
version (I don't update often enough to give better hints)

Best regards,

Damien Thiriet


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


Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:

\defineregister[myindex]

\defineprocessor[style][style=italic]%Isn't another name available?

\starttext

In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018

\placemyindex%

\stoptext

Jairo

El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com) escribió:

> I'm wondering if further progress has been made in Mk IV on styling parts
> of an index (register) entry? I have followed the explanation on the wiki,
> but do not seem to be able to achieve what I need.
>
> And what I need is to be able to italicise entries that refer to newspaper
> names, e.g. The Observer
>
> MWE
>
> \defineregister[myindex]
> \defineprocessor[style][style=italic]
>
> \starttext
>
> In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018
>
> \stoptext
>
> The only result I am getting is:
>
> ->Observer, The   223
>
> But what I want is *Observer, The* (in other words, in italics).
>
> Clearly I am doing something wrong, or not enough, or... maybe there is
> another way to achieve waht I need?
>
> Julian
>
> ___
> 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
>
> ___
>
___
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
___


[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling 
parts of an index (register) entry? I have followed the explanation on 
the wiki, but do not seem to be able to achieve what I need.


And what I need is to be able to italicise entries that refer to 
newspaper names, e.g. The Observer


MWE

\defineregister[myindex]
\defineprocessor[style][style=italic]

\starttext

In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018

\stoptext

The only result I am getting is:

->Observer, The   223

But what I want is /Observer, The/ (in other words, in italics).

Clearly I am doing something wrong, or not enough, or... maybe there is 
another way to achieve waht I need?


Julian

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


Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen

On 1/7/2021 10:10 PM, Vedran Miletić wrote:

Hello,

I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 
(LuaTeX 1.12). The produced PDFs are:


https://miletic.net/lipsum-112.pdf
https://miletic.net/lipsum-208.pdf

Viewing them with Evince (and I assume Adobe Reader, I don't have it at 
hand to test) shows only minor differences in (horizontal) character 
spacing, which I would expect; the text looks reasonably good either 
way. However, viewing them with PDF.js shows a large difference:


https://miletic.net/lipsum-pdfjs-112.png
https://miletic.net/lipsum-pdfjs-208.png

As you can observe, b, m, n, p, and r (and possibly others) are moved 
slightly above other letters. Is this the expected behavior? If not, is 
this an issue with the way PDF.js is displaying the PDF or the way 
LuaTeX is producing it?
what lua does your 2.08 have? if it's 5.2. then such small differences 
can be a side effect of lua (different number models), serialization of 
numbers (default accuracy), or maybe rounding in the lua=>tex font 
interface (there were some fixes iir), the number of digist that the 
backend uses, etc


anyhow, so what you see (in the file) is (per line) transform matrices 
that are slightly different so what you then see is rounding to the 
device pixels


i wouldn't loose sleep over it .. nowadays fonts also evolve and that 
gives larger differences


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


Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
Oh, yeah. It works again. Thank you very much :)

Jairo

El jue., 7 de ene. de 2021 10:20 a. m., Hans Hagen 
escribió:

> On 1/7/2021 3:04 PM, Jairo A. del Rio wrote:
> > Hmm, it works for Persian because this uses less diacritics than Arabic.
> > The following fails with LMTX:
> >
> > \definefontfamily[main][serif][notonaskharabic][features=arabic]
> >
> > \setupdirections[bidi=global,method=one]
> >
> > \setupbodyfont[main]
> >
> > \starttext
> >
> > \obeylines
> >
> > %
> https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php
> > <
> https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php
> >
> >
> > بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ
> >
> > \stoptext
> >
> > Hi, Hans. Could you please check this out? It works for MKIV, but in
> > LMTX vowels are misplaced. Thank you in advance.
>
> It works here but i have different code in the meantime. We're in a
> transition to an lmtx version of the font handler. In lmtx we need to do
> a bit more checking when we are in in compact font mode so it might be
> that there is temporary loss of some functionality. In principle mkiv
> and lmtx should do the same as there is no real change in logic.)
>
> I'll push an update later today,
>
> 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 / 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
___


Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay

Thanks Hans!

I had forgotten about \enabletrackers[metapost.tracingall].

Best Wishes

Keith

On 07/01/2021 15:35, Hans Hagen wrote:

On 1/7/2021 4:11 PM, Keith McKay wrote:
In the MWE below I would expect the "show" command to print the value 
of p in the console output (I use Texworks), however this does not 
seem to be happening. I haven't used "show" in MetaFun for a while, 
am I implementing it correctly?


Best Wishes

Keith McKay

 MWE %

\setuppapersize[A4, portrait]

\starttext

\startMPpage

StartPage;

width := PaperWidth ; height := PaperHeight ; unit := cm ;

numeric p;

p := 0;

for q = 0 step 1 until 10:

show p;

p := p + 1;

fill fullcircle xyscaled(3cm,4cm) shifted ((p +2)*cm, (p + 2)*cm) 
withcolor red ;


endfor;

StopPage;

\stopMPpage

\stoptext


\enabletrackers[metapost.tracingall]


but best use:

message(p);

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


Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Hans Hagen

On 1/7/2021 4:11 PM, Keith McKay wrote:
In the MWE below I would expect the "show" command to print the value of 
p in the console output (I use Texworks), however this does not seem to 
be happening. I haven't used "show" in MetaFun for a while, am I 
implementing it correctly?


Best Wishes

Keith McKay

 MWE %

\setuppapersize[A4, portrait]

\starttext

\startMPpage

StartPage;

width := PaperWidth ; height := PaperHeight ; unit := cm ;

numeric p;

p := 0;

for q = 0 step 1 until 10:

show p;

p := p + 1;

fill fullcircle xyscaled(3cm,4cm) shifted ((p +2)*cm, (p + 2)*cm) 
withcolor red ;


endfor;

StopPage;

\stopMPpage

\stoptext


\enabletrackers[metapost.tracingall]


but best use:

message(p);

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


Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Hans Hagen

On 1/7/2021 3:04 PM, Jairo A. del Rio wrote:
Hmm, it works for Persian because this uses less diacritics than Arabic. 
The following fails with LMTX:


\definefontfamily[main][serif][notonaskharabic][features=arabic]

\setupdirections[bidi=global,method=one]

\setupbodyfont[main]

\starttext

\obeylines

%https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php 



بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ

\stoptext

Hi, Hans. Could you please check this out? It works for MKIV, but in 
LMTX vowels are misplaced. Thank you in advance.


It works here but i have different code in the meantime. We're in a 
transition to an lmtx version of the font handler. In lmtx we need to do 
a bit more checking when we are in in compact font mode so it might be 
that there is temporary loss of some functionality. In principle mkiv 
and lmtx should do the same as there is no real change in logic.)


I'll push an update later today,

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


[NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay
In the MWE below I would expect the "show" command to print the value of 
p in the console output (I use Texworks), however this does not seem to 
be happening. I haven't used "show" in MetaFun for a while, am I 
implementing it correctly?


Best Wishes

Keith McKay

 MWE %

\setuppapersize[A4, portrait]

\starttext

\startMPpage

StartPage;

width := PaperWidth ; height := PaperHeight ; unit := cm ;

numeric p;

p := 0;

for q = 0 step 1 until 10:

show p;

p := p + 1;

fill fullcircle xyscaled(3cm,4cm) shifted ((p +2)*cm, (p + 2)*cm) 
withcolor red ;


endfor;

StopPage;

\stopMPpage

\stoptext

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


Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
Hmm, it works for Persian because this uses less diacritics than Arabic.
The following fails with LMTX:

\definefontfamily[main][serif][notonaskharabic][features=arabic]

\setupdirections[bidi=global,method=one]

\setupbodyfont[main]

\starttext

\obeylines

%https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php

بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ

\stoptext

Hi, Hans. Could you please check this out? It works for MKIV, but in LMTX
vowels are misplaced. Thank you in advance.

Jairo

El jue, 7 de ene. de 2021 a la(s) 08:48, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:

> I didn't test it, but I could with some Iranian song lyrics as I did last
> time...
>
> Jairo
>
> El jue, 7 de ene. de 2021 a la(s) 01:33, 
> escribió:
>
>> Hi
>>
>> Does that work now?
>>
>> Best,
>>
>> Denis
>>
>>
>>
>> *Von:* ntg-context  *Im Auftrag von *Jairo
>> A. del Rio
>> *Gesendet:* Dienstag, 24. November 2020 08:12
>> *An:* mailing list for ConTeXt users 
>> *Betreff:* [NTG-context] Some ligatures don't work in latest LMTX
>>
>>
>>
>> Hi everyone. The following example works fine with MkIV, but fails with 
>> latest LMTX.
>>
>> To be specific, the lam-alif ligature isn't working. Compile with both to 
>> see differences.
>>
>> Majalla is a Windows font, so I guess it's available for testing:
>>
>>
>> \mainlanguage[arabic]
>>
>> \definefontfeature
>>
>>   [arabic]
>>
>>   [mode=node,language=dflt,script=arab,
>>
>>init=yes,medi=yes,fina=yes,isol=yes,
>>
>>liga=yes,dlig=yes,rlig=yes,clig=yes,
>>
>>mark=yes,mkmk=yes,kern=yes,curs=yes]
>>
>> \definefontfamily[main][serif][sakkalmajalla][features=arabic]
>>
>> \setupbodyfont[main]
>>
>> \setupdirections[bidi=global]
>>
>> \starttext
>>
>> أهلاً وسهلاً
>>
>> \stoptext
>>
>>
>>
>> Is that a bug or are more features to be specified? Thank you in advance.
>>
>> Jairo
>>
>>
>> ___
>> 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
>>
>> ___
>>
>
___
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
___


Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
I didn't test it, but I could with some Iranian song lyrics as I did last
time...

Jairo

El jue, 7 de ene. de 2021 a la(s) 01:33,  escribió:

> Hi
>
> Does that work now?
>
> Best,
>
> Denis
>
>
>
> *Von:* ntg-context  *Im Auftrag von *Jairo A.
> del Rio
> *Gesendet:* Dienstag, 24. November 2020 08:12
> *An:* mailing list for ConTeXt users 
> *Betreff:* [NTG-context] Some ligatures don't work in latest LMTX
>
>
>
> Hi everyone. The following example works fine with MkIV, but fails with 
> latest LMTX.
>
> To be specific, the lam-alif ligature isn't working. Compile with both to see 
> differences.
>
> Majalla is a Windows font, so I guess it's available for testing:
>
>
> \mainlanguage[arabic]
>
> \definefontfeature
>
>   [arabic]
>
>   [mode=node,language=dflt,script=arab,
>
>init=yes,medi=yes,fina=yes,isol=yes,
>
>liga=yes,dlig=yes,rlig=yes,clig=yes,
>
>mark=yes,mkmk=yes,kern=yes,curs=yes]
>
> \definefontfamily[main][serif][sakkalmajalla][features=arabic]
>
> \setupbodyfont[main]
>
> \setupdirections[bidi=global]
>
> \starttext
>
> أهلاً وسهلاً
>
> \stoptext
>
>
>
> Is that a bug or are more features to be specified? Thank you in advance.
>
> Jairo
>
>
> ___
> 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
>
> ___
>
___
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
___


Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm

> Am 07.01.2021 um 12:20 schrieb Henning Hraban Ramm :
> 
> 
>> Am 07.01.2021 um 11:29 schrieb Marco Patzer :
>> 
>> Thanks for the info. I updated the wiki.
> 
> https://wiki.contextgarden.net/Titles
> 
> I did some more edits, but the page is still a mess.

I created the command page; not sure if I got the description right:

https://wiki.contextgarden.net/Command/defineresetset

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


Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm

> Am 07.01.2021 um 11:29 schrieb Marco Patzer :
> 
> Thanks for the info. I updated the wiki.

https://wiki.contextgarden.net/Titles

I did some more edits, but the page is still a mess.

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


Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Sorry for the hassle, now I have read the other thread confirming the fix.

Jano

On Thu, 7 Jan 2021 at 12:04, Jano Kula  wrote:

> Hello Hans,
>
> On Thu, 7 Jan 2021 at 11:48, Hans Hagen  wrote:
>
>> On 1/7/2021 11:22 AM, Jano Kula wrote:
>> > Hello,
>> >
>> > On Sun, 27 Dec 2020 at 22:45, Hans Hagen > > > wrote:
>> >
>> > hm, so what was the last version that it still worked ok?
>> >
>> >
>> > not sure about last version, but it is working with version
>> >
>> > system  > ConTeXt  ver: 2020.12.10 22:26 LMTX  fmt: 2020.12.11
>> >   int: english/english
>> >
>> > Tested with expansion-001.tex from the test suite.
>> wasn't that already fixed?
>>
>
> It might be fixed, I haven't seen the confirmation, so I did answer the
> question having older version installed.
>
> Jano
>
>
___
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
___


Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Hello Hans,

On Thu, 7 Jan 2021 at 11:48, Hans Hagen  wrote:

> On 1/7/2021 11:22 AM, Jano Kula wrote:
> > Hello,
> >
> > On Sun, 27 Dec 2020 at 22:45, Hans Hagen  > > wrote:
> >
> > hm, so what was the last version that it still worked ok?
> >
> >
> > not sure about last version, but it is working with version
> >
> > system  > ConTeXt  ver: 2020.12.10 22:26 LMTX  fmt: 2020.12.11
> >   int: english/english
> >
> > Tested with expansion-001.tex from the test suite.
> wasn't that already fixed?
>

It might be fixed, I haven't seen the confirmation, so I did answer the
question having older version installed.

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


Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Hans Hagen

On 1/7/2021 11:22 AM, Jano Kula wrote:

Hello,

On Sun, 27 Dec 2020 at 22:45, Hans Hagen > wrote:


hm, so what was the last version that it still worked ok?


not sure about last version, but it is working with version

system          > ConTeXt  ver: 2020.12.10 22:26 LMTX  fmt: 2020.12.11 
  int: english/english


Tested with expansion-001.tex from the test suite.

wasn't that already fixed?

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


Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Marco Patzer
On Thu, 7 Jan 2021 00:02:20 +0100
Wolfgang Schuster  wrote:

> > \definestructureresetset is the same as \defineresetset. I assume
> > that \definestructureresetset is the preferred way. But both will
> > work.  
> 
> No, \defineresetset is the main command and \definestructureresetset
> is a alias for backwards compatibility.

Thanks for the info. I updated the wiki.

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


Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Hello,

On Sun, 27 Dec 2020 at 22:45, Hans Hagen  wrote:

> hm, so what was the last version that it still worked ok?
>

not sure about last version, but it is working with version

system  > ConTeXt  ver: 2020.12.10 22:26 LMTX  fmt: 2020.12.11
 int: english/english

Tested with expansion-001.tex from the test suite.

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