[NTG-context] infinite number of runs

2021-02-17 Thread Pablo Rodriguez
Hans, I have some documents that trigger infinite runs. I want to provide a minimal sample that shows this. But is there some code in the .tuc file (or in the .log file with \tracingall) that shows the need of another run? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Hans Hagen
On 2/17/2021 12:18 AM, Jairo A. del Rio wrote: I've copied the following example from the ConTeXt archive: there is a comment in the code -- todo: anchor, page so i'll look into it (not hard to fix) in lmtx i want to add some more natural helpers to the interface; part of also updating the

Re: [NTG-context] infinite number of runs

2021-02-17 Thread Hans Hagen
On 2/17/2021 10:07 AM, Pablo Rodriguez wrote: Hans, I have some documents that trigger infinite runs. I want to provide a minimal sample that shows this. But is there some code in the .tuc file (or in the .log file with \tracingall) that shows the need of another run? you can try --keeptuc

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Hans Hagen
On 2/17/2021 12:18 AM, Jairo A. del Rio wrote: I've copied the following example from the ConTeXt archive: \defineoverlay[frames][\positionoverlay{frames}] \setupbackgrounds[text][background=frames] \startMPpositiongraphic{frame} if unknown context_apos : input mp-apos.mpiv ; fi ;

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Jairo A. del Rio
It works fine now. Thank you a lot for the fix. Cordially, Jairo :) El mié, 17 de feb. de 2021 a la(s) 06:09, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 2/17/2021 12:18 AM, Jairo A. del Rio wrote: > > I've copied the following example from the ConTeXt archive: > > > >

Re: [NTG-context] Lua code and table

2021-02-17 Thread Hans Hagen
On 2/17/2021 10:26 PM, Wolfgang Schuster wrote: Fabrice Couvreur schrieb am 17.02.2021 um 18:40: Hi,The code works, but is it possible to make it shorter ? Thank you Fabrice \startuseMPgraphic{DiagonalRule}     rulethickness := \frameddimension{rulethickness};     drawoptions(       withpen

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
Hi Fabrice, see below, I attached two ideas how to do it. The best, Tomáš Wed, Feb 17, 2021 ve 06:40:54PM +0100 Fabrice Couvreur napsal(a): #Hi, The code works, but is it possible to make it shorter ? #Thank you #Fabrice #\startuseMPgraphic{DiagonalRule} #   rulethickness

Re: [NTG-context] Lua code and table

2021-02-17 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 17.02.2021 um 18:40: Hi,The code works, but is it possible to make it shorter ? Thank you Fabrice \startuseMPgraphic{DiagonalRule}    rulethickness := \frameddimension{rulethickness};    drawoptions(      withpen pencircle scaled rulethickness      withcolor

Re: [NTG-context] MKIV format generation error with latest 2021-02-17 13:33

2021-02-17 Thread Hans Hagen
On 2/17/2021 7:23 PM, Adam Reviczky wrote: Hi, I am getting the following error with luatex/mkiv with today's latest: hm, looks like some split / file mixup .. i'll upload a new zip tomorrow Hans -

Re: [NTG-context] Lua code and table

2021-02-17 Thread Bruce Horrocks
> On 17 Feb 2021, at 17:40, Fabrice Couvreur > wrote: > > Hi, The code works, but is it possible to make it shorter ? > Thank you > Fabrice > You can reduce the size of the test by storing the pattern in a table: \startluacode local background_one = { align = "middle", style =

[NTG-context] MKIV format generation error with latest 2021-02-17 13:33

2021-02-17 Thread Adam Reviczky
Hi, I am getting the following error with luatex/mkiv with today's latest: context --make loading : ConTeXt Token Support / Initialization /usr/share/texmf/tex/context/base/mkxl/toks-ini.lmt:21: attempt to call a nil value (field 'getcommandvalues') stack traceback:

[NTG-context] Lua code and table

2021-02-17 Thread Fabrice Couvreur
Hi, The code works, but is it possible to make it shorter ? Thank you Fabrice \startuseMPgraphic{DiagonalRule} rulethickness := \frameddimension{rulethickness}; drawoptions( withpen pencircle scaled rulethickness withcolor \MPcolor{\framedparameter{framecolor}}); pair