Re: [NTG-context] Another LMTX small issue

2020-11-25 Thread Hans Hagen
On 11/25/2020 2:42 PM, Rik Kabel wrote: The following code generates an error message in the log under LMTX 2020.11.24 19:02 but compilation continues with no apparent issue. \starttext \framedtext{abc} \stoptext should be ok in next upload (later today)

[NTG-context] Another LMTX small issue

2020-11-25 Thread Rik Kabel
The following code generates an error message in the log under LMTX 2020.11.24 19:02 but compilation continues with no apparent issue. \starttext \framedtext{abc} \stoptext -- Rik ___ If your question is

[NTG-context] Problem with gnuplot-module in lmtx

2020-11-25 Thread Christian Prim
Hi with the latest version of lmtx (upgraded a minute ago), the gnuplot-example from the wiki-page (for lmtx with externalfigure) doesn't work. Error is: tex error > tex error on line 1 in file virtual://buffer.svg-sin-inclusion.1: Undefined control sequence \font_basics_predefine

Re: [NTG-context] accessing tex variable on lua side

2020-11-25 Thread Jano Kula
Hello Hans! On Wed, 25 Nov 2020 at 12:33, Hans Hagen wrote: > Never give up ... > > \meaning\getvariable > Thank you for reminding me of this one. print(">>",tokens.getters.macro(tokens.getters.macro("??variables") .. > "test:something") > Not that trivial, but does the job. Thanks,

Re: [NTG-context] RE : upload

2020-11-25 Thread Pablo Rodriguez
On 11/24/20 7:22 PM, Floris van Manen wrote: > On 24/11/2020 18:28, Pablo Rodriguez wrote: >> I’m afraid you are getting an old version, since the newer one reads: >> >> mtx-context | ConTeXt Process Management 1.04 >> mtx-context | >> mtx-context | main context file: >>

[NTG-context] Issue with LMTX and placeformula

2020-11-25 Thread Jean-Philippe Rey
Dear list, \placeformula doesn't seem to work with LMTX. == \starttext \placeformula[F] \startformula a^2 + b^2 = c^2 \stopformula The \in[F] formula \stoptext == Thank you for your help. -- Jean-Philippe Rey jean-philippe@centralesupelec.fr 91192

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

2020-11-25 Thread Jairo A. del Rio
Now diacritics work again. Thank you for the fix! Best regards, Jairo El mar, 24 de nov. de 2020 a la(s) 14:17, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > > > -- Forwarded message - > De: Jairo A. del Rio > Date: mar, 24 de nov. de 2020 a la(s) 14:16 > Subject:

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Hans Hagen
On 11/25/2020 7:51 PM, Joseph wrote: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). ah, some left over from a test, i'll fix it Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] accessing tex variable on lua side

2020-11-25 Thread Jano Kula
Passing variables to Lua wikified . Jano On Wed, 25 Nov 2020 at 14:33, Jano Kula wrote: > Hello Hans! > > On Wed, 25 Nov 2020 at 12:33, Hans Hagen wrote: > >> Never give up ... >> >> \meaning\getvariable >> > > Thank you for

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Wolfgang Schuster
Joseph schrieb am 25.11.2020 um 19:51: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). Is there a reason why you don't use the conversion mechanism? \starttext \convertnumber{r}{7} \cldcontext{converters.convert("r",7)} \stoptext Wolfgang

Re: [NTG-context] RE : RE : RE : RE : Issue with grid

2020-11-25 Thread Hans Hagen
On 11/25/2020 6:10 PM, Joseph wrote: \setupindenting[yes, next, 1em] \starttext \input knuth \stoptext hm, maybe i did somethign wrong. i'll check it, but indeed for now you can just use the patch Hans -

Re: [NTG-context] Setting and measuring boxes TeX/Lua

2020-11-25 Thread Jano Kula
Hello Hans! On Wed, 25 Nov 2020 at 21:25, Hans Hagen wrote: > \startluacode > context.stepwise (function() > context.step() > end) > \stopluacode > Thank you very much! I was trying context.stepwise several times (and \dowithnextbox, \nextboxht and other things). I bet there was no

[NTG-context] RE : RE : RE : RE : Issue with grid

2020-11-25 Thread Joseph
Thanks for the fix in today upload. Unfortunately the issue with paragraph indentation seems to be back (first paragraph is indented but given ‘next’ is given, it should not, or at least was not before) \setupindenting[yes, next, 1em]\starttext\input knuth\stoptext Do we still need to add the

Re: [NTG-context] RE : upload

2020-11-25 Thread Floris van Manen
On 25/11/2020 16:48, Pablo Rodriguez wrote: Just out of curiosity, could you fix your already installed ConTeXt version? no, that did not work. I just dumped the whole folder after a new folder/download seemed to work again. .F

[NTG-context] Setting and measuring boxes TeX/Lua

2020-11-25 Thread Jano Kula
Hello! I would like to set framed boxes, measure their dimensions and proceed based on the measurement. It is a combination of TeX and Lua ends. - Boxes are set on the TeX side. Stacking boxes (hbox, framed, vbox) in Lua looked too complex. - The content of the inner box is set on the

[NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Joseph
Dear list, Following MWE outputs only ‘m’ characters (with latest upload).Thanks \startluacode function roman_num(n)   assert(type(n) == 'number')   context(tex.romannumeral(n))end \stopluacode \define[1]\RM{\ctxlua{roman_num(#1)}} \starttext\RM{1}\RM{7}\RM{10}\RM{70}\RM{100}\stoptext  

[NTG-context] question about frames

2020-11-25 Thread Pablo Rodriguez
Dear list, here is a minimal sample of frames to make up labels: \setuplayout[page] \starttext \dorecurse{16}{\dontleavehmode\dorecurse{4} {\framed[width=52.5mm, height=18.5mm, align=right]{\null}}\\} \stoptext Which is the way to avoid any vertical space between frames? Sorry, this

Re: [NTG-context] Issue with LMTX and placeformula

2020-11-25 Thread Jairo A. del Rio
Hi, Jean-Philippe. This seems to be a bug, indeed. In the meantime, you could use the preferred \start ... \stop variant. \starttext \startplaceformula[F] % works \startformula a^2 + b^2 = c^2 \stopformula \stopplaceformula The \in[F] formula \stoptext Cordially, Jairo El mié, 25 de nov. de

[NTG-context] RE : Issue with tex.romannumeral output

2020-11-25 Thread Joseph
Yes, I replace last ‘i’ with a ‘j’ in roman number, that’s to mimic old typesetting (very specific case for sure :-).Ie 118 -> cxiijIs there a way to do this with convertnumber anyhow ? De : Wolfgang SchusterEnvoyé le :mercredi 25 novembre 2020 20:11À : mailing list for ConTeXt usersCc :

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Jairo A. del Rio
Hi, Joseph. Something like this? \starttext \cldcontext{converters.convert("r",118):gsub("i$", "j") } \stoptext Jairo El mié, 25 de nov. de 2020 a la(s) 14:30, Joseph (josephcan...@gmail.com) escribió: > Yes, I replace last ‘i’ with a ‘j’ in roman number, that’s to mimic old > typesetting

Re: [NTG-context] Setting and measuring boxes TeX/Lua

2020-11-25 Thread Hans Hagen
On 11/25/2020 7:31 PM, Jano Kula wrote: Hello! I would like to set framed boxes, measure their dimensions and proceed based on the measurement. It is a combination of TeX and Lua ends. * Boxes are set on the TeX side. Stacking boxes (hbox, framed, vbox) in Lua looked too complex. *

Re: [NTG-context] new upload

2020-11-25 Thread Giulio Bertellini
Great. Made a clean install from scratch and now metafun manual compiles great at first run: mkiv lua stats > used engine:* luametatex version: 2.0803, functionality level: 20201123*, format id: 547, compiler: gcc mkiv lua stats > tex properties: 740024 hash slots used of 2097152, approximate

[NTG-context] accessing tex variable on lua side

2020-11-25 Thread Jano Kula
Hello, running in circles I have to give up on such an easy thing as passing a tex variable to lua (knowing everything is stored in lua). \setvariable{test}{something}{} \starttext \getvariable{test}{something}\par % how to access the variable on lua end? \startluacode -- var = \stopluacode

Re: [NTG-context] new upload

2020-11-25 Thread Hans Hagen
On 11/25/2020 10:12 AM, Giulio Bertellini wrote: Great. Made a clean install from scratch and now metafun manual compiles great at first run: mkiv lua stats  > used engine:*luametatex version: 2.0803, functionality level: 20201123*, format id: 547, compiler: gcc mkiv lua stats  > tex

Re: [NTG-context] accessing tex variable on lua side

2020-11-25 Thread Hans Hagen
On 11/25/2020 11:54 AM, Jano Kula wrote: Hello, running in circles I have to give up on such an easy thing as passing a tex variable to lua (knowing everything is stored in lua). \setvariable{test}{something}{} \starttext \getvariable{test}{something}\par % how to access the variable on

Re: [NTG-context] Error with spaces in Argument of \startproduct

2020-11-25 Thread Henning Hraban Ramm
> Am 24.11.2020 um 22:38 schrieb Wolfgang Schuster > : > > Jannik Voges schrieb am 24.11.2020 um 22:24: >> Hello, >> as the title suggested, I get an error when using spaces in the argument of >> \startproduct. For example typesetting >> \startproduct{foo bar} > > You can have a filename with