Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
On Sun Sep 5, 2021 at 7:37 PM CEST, Hans Hagen wrote: > On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: > > Hello Hraban, > > > "execute" should be a function defined in LuaMetaTeX, that internally > > calls zint functions. > does > > conte

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: Hello Hraban, "execute" should be a function defined in LuaMetaTeX, that internally calls zint functions. does context libs-imp-zint.mkxl produce

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
On Sun Sep 5, 2021 at 6:30 PM CEST, Henning Hraban Ramm via ntg-context wrote: > > Am 05.09.2021 um 17:51 schrieb Michal Vlasák : > > "execute" should be a function defined in LuaMetaTeX, that internally > > calls zint functions. > > Hm, ok, but where are the zint

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Henning Hraban Ramm via ntg-context
place where you can keep an eye on >them being updated, like > > c:/data/tex-context/tex/texmf-win64/bin/lib/luametatex/foo/libfoo.dll Oh, yes, I should still know that from mujs. Works with a symlink. I.e. no need to change that in the module. >> But then still zin

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
nt.dylib"*. > I changed that in the source and the file appears to be found. > Could you add that, Hans? From libraries-mkiv: It is best to keep libraries in a place where you can keep an eye on them being updated, like c:/data/tex-context/tex/texmf-win64/bin/lib/luametate

Re: [NTG-context] parameters TeX->LuaTeX

2021-09-05 Thread Hans Hagen via ntg-context
passing by removing the outer braces? Is this a bug or is it an unavoidable consequence of the TeX-LuaTeX interface? \starttext \def\foo#1{\detokenize{#1}} \foo{hvdm has to read the tex book} \def\foo#+{\detokenize{#1}} \foo{hvdm has to read the luametatex

[NTG-context] update lmtx

2021-09-03 Thread Hans Hagen via ntg-context
ime on marks (aka markings), think of running headers and so. I'm considering replacing the marking code by new code that I already have one my machine. In mkiv we;ve always used a more powerful alternative for the marks that than what luatex and friends provide but in luametatex I a

[NTG-context] metafun doesn't compile \root 3 \of 2

2021-09-03 Thread fv leung via ntg-context
\starttext \m{\root3\of2} \stoptext works. But \starttext \startMPcode label("\m{\root3\of2}", origin); \stopMPcode \stoptext doesn't. Running `LuaMetaTeX' on `trial' with ``/home/fvleung/ConTeXt/tex/texmf-linux-64/bin/mtxrun --autogenerate --script conte

Re: [NTG-context] new upload

2021-08-30 Thread mf via ntg-context
(also discusses luametatex) new    : lowlevel-alignments  (also discusses luametatex) Hans -   Hans Hagen | PRAGMA ADE   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands    tel

[NTG-context] new upload

2021-08-30 Thread Hans Hagen via ntg-context
option is like g but better so it sort of replaces it. updated: lowlevel-expansion (also discusses luametatex) new: lowlevel-alignments (also discusses luametatex) Hans - Hans Hagen

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-29 Thread Ramkumar KB via ntg-context
.. doing > metapost things is a nice distraction and with the mp extensions that we > have in luametatex we can do quite a lot) > > Hans > > - >Hans Hagen | PRAGMA ADE >

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-29 Thread Hans Hagen via ntg-context
have wished for metafun they can let me know ... doing metapost things is a nice distraction and with the mp extensions that we have in luametatex we can do quite a lot) Hans - Hans Hagen

Re: [NTG-context] lmtx update

2021-08-22 Thread Hans Hagen via ntg-context
at when I copy the "faulty" part (my table) to another document (including all relevant defs etc.) it just works fine. So, I think it must have to do something with the placement of the float on the page. Any hints what has changed? your luametatex binary seems older than

[NTG-context] lmtx update/t-vim (again)

2021-08-22 Thread Benjamin Buchmuller via ntg-context
l documents, but it can > accumulate; also less memory used then; i could bring down an extreme 2000 > page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex > manual it reducec the tuc more than 30%; hard to tell if there will be an > associated performance hit, b

Re: [NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
extreme 2000 page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex manual it reducec the tuc more than 30%; hard to tell if there will be an associated performance hit, but i'm sure thomas will complain if that's the case I never realized that tuc files can grow s

Re: [NTG-context] lmtx update

2021-08-19 Thread Aditya Mahajan via ntg-context
doc tuc file down to 5% -- it was 70 MB; for the > luametatex manual it reducec the tuc more than 30%; hard to tell if > there will be an associated performance hit, but i'm sure thomas will > complain if that's the case I never realized that tuc files can grow so big. Fo

[NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
Hi, Here are the highlights of todays update: - somewhat more compact tuc files, not for all documents, but it can accumulate; also less memory used then; i could bring down an extreme 2000 page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex manual it reducec the tuc

Re: [NTG-context] Failure when loading variable font

2021-08-14 Thread Hans Hagen via ntg-context
otf reader > fatal error in file 'Fraunces.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-ttf-macro.lua:274: attempt to index a nil value (local 'p1') stack traceback: ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:2

[NTG-context] Failure when loading variable font

2021-08-14 Thread Marcel Krüger via ntg-context
dde776fb1556f32e/formats/luametatex/font-ttf-macro.lua:274: attempt to index a nil value (local 'p1') stack traceback: ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:2339: in metamethod 'index' ...e0dde776fb1556f32e/formats/luametatex

[NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-09 Thread Ramkumar KB via ntg-context
ct:A ConTeXt template Keywords: template Author: Mickey Mouse Creator:LuaMetaTeX 2.09 20210418 + ConTeXt LMTX 2021.04.21 11:39 Producer: LuaMetaTeX-2.09 CreationDate: Tue Aug 10 10:18:36 2021 +08 ModDate:Tue Aug 10 10:18:36 2021 +08 Tagged: no UserProperties: n

Re: [NTG-context] ECMAscript

2021-08-07 Thread Michal Vlasák via ntg-context
l ~/lmtx/tex/texmf-osx-64/bin/lib/luametatex/mujs/ > total 2832 > -rw-r--r-- 1 hraban staff 517K 7 Aug 09:49 libmujs.o > -rw-r--r-- 1 hraban staff 9,2K 7 Aug 09:49 main.o > -rwxr-xr-x 1 hraban staff 413K 7 Aug 09:49 mujs* > -rwxr-xr-x 1 hraban staff 408K 7 Aug 09:49 mujs-pp* > -rw-

Re: [NTG-context] ECMAscript

2021-08-07 Thread Hans Hagen via ntg-context
osx-64/bin/lib/luametatex/mujs/ total 2832 -rw-r--r-- 1 hraban staff 517K 7 Aug 09:49 libmujs.o -rw-r--r-- 1 hraban staff 9,2K 7 Aug 09:49 main.o -rwxr-xr-x 1 hraban staff 413K 7 Aug 09:49 mujs* -rwxr-xr-x 1 hraban staff 408K 7 Aug 09:49 mujs-pp* -rw-r--r-- 1 hraban staff 2,9K

[NTG-context] ECMAscript

2021-08-07 Thread Henning Hraban Ramm via ntg-context
Hi Taco (et al.), for running the ECMAscript part of the CG journal, I cloned the repo from https://github.com/ccxvii/mujs/ and executed "make release". I copied the resulting files to my TeX tree: ll ~/lmtx/tex/texmf-osx-64/bin/lib/luametatex/mujs/ total 2832 -rw-r--r-- 1 hraban st

Re: [NTG-context] footnote not appearing

2021-07-28 Thread jbf via ntg-context
is needed. localfootnotes does work but places the footnote immediately below the framed text, and I wanted it to appear in the usual footnote location, which is achieved with startpostponingnotes I assume that you use(d) mkiv/luatex and not lmtx/luametatex. Footnotes are in tex speak 'inserts

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
se the old one, so that's somewhat problematic). it's not too hard to make it work, see attached, but the new one is nicer because it permits more detailed control in luametatex you can do things like Au{\norightligaturing f}lage that is: each character can have a set of options;

Re: [NTG-context] footnote not appearing

2021-07-28 Thread Hans Hagen via ntg-context
startpostponingnotes I assume that you use(d) mkiv/luatex and not lmtx/luametatex. Footnotes are in tex speak 'inserts' and at some point they are filtered and added to the datastructure (list) that is taken into account when breaking a page. When tex was written, the main application was

[NTG-context] new lmtx upload

2021-07-27 Thread Hans Hagen via ntg-context
finalizing some luametatex code. Part of it had been there in commented form as I had not yet made up my mind about how much is needed. In the end I decided to *not* integrate it in the \numexpr an d\dimexpr primitives because of potential compatibility issues (although that is unlikely given the way

[NTG-context] MP keyword function: string parameters no longer accept string variables directly

2021-07-21 Thread Rudd, Kevin
ver: 2021.07.16 22:03 LMTX fmt: 2021.7.21 int: english/english metapost> trace > This is MPLIB for LuaMetaTeX, version 3.11, running in scaled mode. metapost> trace > metapost> trace > loading metafun for lmtx, including the plain 1.004 base definitio

[NTG-context] MP boxes: boxjoin not recognized?

2021-07-21 Thread Rudd, Kevin
format 'metafun' and method 'default' % metapost> loading 'metafun' as 'metafun.mpxl' using method 'default' % metapost> initializing number mode 'scaled' % metapost> trace > This is MPLIB for LuaMetaT

Re: [NTG-context] Problem getting lmtx version up

2021-07-18 Thread Mojca Miklavec
Jdh, Can you please try again with this binary? https://dl.contextgarden.net/build/luametatex/aarch64-linux/ On Fri, 16 Jul 2021 at 22:16, Alan Braslau wrote: > > Freebsd on arm64 is now a Tier 1 architecture. ;-) I figured out that there are should-be-working-out-of-the-box imag

Re: [NTG-context] Problem getting lmtx version up

2021-07-17 Thread Michal Vlasák
Although now it remains to apply this technique to LuaMetaTeX. Without access to source code I can't try anything, but the general ideas should apply: I used Zig for cross compiling. While Zig is a full fledged programming language in its own right, it also has the ability to compile C/C++

Re: [NTG-context] Problem getting lmtx version up

2021-07-16 Thread Lutz Haseloff
qemu-aarch64 ./ltex-aarch64-linux-musl --help > >The above are cross compiled (debug) builds of very stripped down >version of LuaTeX, that I have been experimenting with. They won't >solve >the immediate problem, but the cross compiling procedure could be used >to generate luamet

Re: [NTG-context] Problem getting lmtx version up

2021-07-16 Thread Michal Vlasák
g procedure could be used to generate luametatex binaries for this target until a better option is available. Of course, depending on whether it even works. :) Michal Vlasák ___ If your question is of interest to others as

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Floris van Manen
\setupinteraction[state=start] \usemodule[animation] \starttext     \useMPanimation[menu=yes]{demo} \stoptext Placing this excerpt in a file and compiling it I get an error: $ context animation.tex resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-li

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Hans Hagen
install on github which would then involve: -- core context code (with luametatex in source tree too: tex/texmf-context in the distribution -- the minimal set of resources: tex/texmf in the distribution -- binaries (which is the more complex part) -- modules: texmf/modules So, basically

Re: [NTG-context] hyphenate nothyphenated

2021-06-29 Thread Hans Hagen
On 6/29/2021 12:06 PM, Steffen Wolfrum wrote: When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align

[NTG-context] error luatex exceptions

2021-06-29 Thread Steffen Wolfrum
While luametatex works fine, running this mwe with luatex ends in an error: \startexceptions con-text \stopexceptions \starttext context \stoptext ...-64/tex/texmf-context/tex/context/base/mkiv/lang-ini.lua:198: attempt to call a nil value (global 'sortedhash') stack

[NTG-context] hyphenate nothyphenated

2021-06-29 Thread Steffen Wolfrum
When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align={nothyphenated}] \starttext \chapter{abc\-def

Re: [NTG-context] color conversion eats note

2021-06-27 Thread Wolfgang Schuster
Steffen Wolfrum schrieb am 27.06.2021 um 15:55: uncommenting the following \setupcolors changes magenta to black when running luatex. but when running luametatex the footnote is crippled to «error»: \starttext \definestartstop[UL][color=magenta] %\setupcolors[state=stop,conversion=never

[NTG-context] color conversion eats note

2021-06-27 Thread Steffen Wolfrum
uncommenting the following \setupcolors changes magenta to black when running luatex. but when running luametatex the footnote is crippled to «error»: \starttext \definestartstop[UL][color=magenta] %\setupcolors[state=stop,conversion=never]% <- bw with lualatex, but «error» with luameta

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-27 Thread Hans Hagen
\skip0=10pt plus 10pt minus 10pt plus 20pt test \skip0=10pt plus 10pt plus 20pt minus 10pt test \vrule width 10pt height 10pt depth 10pt depth 10pt height 10pt % test \hbox to 10pt to 10pt {x} \stoptext compare pdftex and luametatex. ok. but why does this run fine \starttext Test

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-27 Thread Steffen Wolfrum
t > test \skip0=10pt plus 10pt minus 10pt plus 20pt > > test \skip0=10pt plus 10pt plus 20pt minus 10pt > > test \vrule width 10pt height 10pt depth 10pt depth 10pt height 10pt > > % test \hbox to 10pt to 10pt {x} > > \

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-27 Thread Hans Hagen
10pt test \vrule width 10pt height 10pt depth 10pt depth 10pt height 10pt % test \hbox to 10pt to 10pt {x} \stoptext compare pdftex and luametatex. Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-26 Thread Steffen Wolfrum
gt; Steffen > > ––– > > … $ ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --script context > --autogenerate /Users/steffen/Desktop/error_1.tex > > resolvers | formats | executing runner 'run luametatex format': > /Users/steffen/context-osx-64/tex/texmf-osx

[NTG-context] Invalid keyword \spaceskip

2021-06-26 Thread Steffen Wolfrum
| executing runner 'run luametatex format': /Users/steffen/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="error_1" --fmt=/Users/steffen/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/steffe

Re: [NTG-context] lmtx upload

2021-06-24 Thread Hans Hagen
form optimizations (so one needs to run configure scripts) ... in luametatex i try to stay away from that .. but loading as external lib is of course an option; we already support zip, gz, tar, lz4, lzma (xz), lzo, xstd but i doubt if in practice they are used often (zip we need for pdf, gz for

[NTG-context] lmtx upload

2021-06-24 Thread Hans Hagen
variant uses the basic decompressor of the engine (different in lmtx than in mkiv but that should not matterl i only tested lmtx). The xz one is a bit more special as it uses the external xz program unless one has limlzma installed, e.g. in: tex/texmf-win64/bin/lib/luametatex/lzma

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-20 Thread Otared Kavian
rmula >> \stoptext > it's a bug i introduced in the engine .. you can try a newer bin from: > > https://dl.contextgarden.net/build/luametatex/ > > > - > Hans H

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-19 Thread Hans Hagen
\cup B = X \cap Y$ \startformula A \bigcup B = X \bigcap Y \stopformula \stoptext it's a bug i introduced in the engine .. you can try a newer bin from: https://dl.contextgarden.net/build/luame

[NTG-context] new upload lmtx

2021-06-18 Thread Hans Hagen
wired properties. I know that not all of that is really needed (also because much of tex math is chisseled in stone and not supposed to be controlled although in context i suppose we have a bit more freedom) but it simply fit in the luametatex effort to do so. Of course there might be math fields

[NTG-context] Fatal error: return code: 256 with documents in ConTeXt's distribution

2021-06-18 Thread Nicola
pages > flushing realpage 7, userpage 6, subpage 7 pages > flushing realpage 8, userpage 7, subpage 8 pages > flushing realpage 9, userpage 8, subpage 9 [Gets stuck at this point, with luametatex using 100% CPU] 3. Fatal error in both cases: $ /Libr

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
7; with ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf --purgeall hans-33'' resolvers | formats | executing runner 'run luametatex format': /home/viserion/LMTX/tex/texmf-linux-64/bin/luametatex --jobname="hans-33" --fmt=/ho

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Mikael Sundqvist
x = \int\Umathadaptsize^1_2 x = > x = \rab\Umathadaptsize^1_2^^1__2 \mathinner{\vrule height 30mm > depth 30mm width 5mm} > $ > > \stoptext > > After playing with several solutions (delimiters, fences, radicals etc) > I just settled for a few line extension to the engine

[NTG-context] upload / some new math stuff

2021-06-10 Thread Hans Hagen
= \rab\Umathadaptsize^1_2^^1__2 \mathinner{\vrule height 30mm depth 30mm width 5mm} $ \stoptext After playing with several solutions (delimiters, fences, radicals etc) I just settled for a few line extension to the engine (there was already plenty in place in luametatex for that anyway) and i

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Wolfgang Schuster
e are implemented and the way TeX (the engine) works when it reads arguments. and, also in mkiv \dofmode is unexpandable so cannot act as keyword (it might not crash but also doesn't work) Here is a short example which demonstrates the differences between LuaTeX (eTeX, pdfTeX etc.) and

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Hans Hagen
de{aaa}{on}} [[\meaningless\foo]] only in luametatex/lmtx Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pra

Re: [NTG-context] Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`

2021-06-08 Thread Leonard Janis Robert König
t-pgf.tex > For me this builds fine with MkIV (TeX Live 2021 on Arch, specifically 2021.58686-3), however TikZ is incompatible with LMTX right now: https://github.com/pgf-tikz/pgf/issues/990 There I get the following issue which is slightly different than yours though: resolvers

Re: [NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Hans Hagen
\startTEXpage[offset=1ex] \startitemize \item \MyURL{a.b\\/c.d\letterhash e} \stopitemize \stopTEXpage \stoptext I’m using current latest from 2021.06.04 17:28. LuaTeX generates the link rectangle right. LuaMetaTeX generates a wrong link rectangle. In the attached image, you can see

[NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Pablo Rodriguez
{a.b\\/c.d\letterhash e} \stopitemize \stopTEXpage \stoptext I’m using current latest from 2021.06.04 17:28. LuaTeX generates the link rectangle right. LuaMetaTeX generates a wrong link rectangle. In the attached image, you can see the output I get (MkIV and LMTX). Could anyone confirm the

Re: [NTG-context] Struggling with SQL!

2021-06-04 Thread G.C.H.M. Verhaag
\usemodule[sql] you also need to have the sql library in the tex binary tree (see manual) (in luatex/mkiv it's best to use the ffi variant that interfaces to the mysql library; in luametatex/lmtx it's a - by default - build in optional which loads the lib on demand; in all cases most

Re: [NTG-context] new upload

2021-06-04 Thread Hans Hagen
"--purgeall". This happens both with MkIV (LuaTeX 1.13 7420 + ConTeXt MkIV 2021.06.04 17:28) and LMTX (LuaMetaTeX 2.09 20210531 + ConTeXt LMTX 2021.06.04 17:28). Contents seem to be irrelevant, but actual contents of "mwe.tex" read: \starttext \input zapf \stopt

Re: [NTG-context] new upload

2021-06-04 Thread Pablo Rodriguez
appens both with MkIV (LuaTeX 1.13 7420 + ConTeXt MkIV 2021.06.04 17:28) and LMTX (LuaMetaTeX 2.09 20210531 + ConTeXt LMTX 2021.06.04 17:28). Contents seem to be irrelevant, but actual contents of "mwe.tex" read: \starttext \input zapf \stoptext I’m afraid that this might be

Re: [NTG-context] Struggling with SQL!

2021-06-03 Thread Hans Hagen
e (see manual) (in luatex/mkiv it's best to use the ffi variant that interfaces to the mysql library; in luametatex/lmtx it's a - by default - build in optional which loads the lib on demand; in all cases most happens in lua) so, if it doesn't work, y

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
0, late: 0, function 0, total: 0 (0 per page) mkiv lua stats > randomizer: resumed with value 0.19171403880136 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmmono10-regular.otf, lmroman12-regular.otf mkiv lua st

Re: [NTG-context] --luatex option failing

2021-05-28 Thread jbf
ins everything that is needed. In lmtx "mtxrun" and "context" are just links to "luametatex" and when called with a different name than "luametatex" they will try to locate scripts with their name in the same path (so there need to be mtxrun.lua and conte

Re: [NTG-context] --luatex option failing

2021-05-28 Thread Hans Hagen
they would not conflict. LMTX contains everything that is needed. In lmtx "mtxrun" and "context" are just links to "luametatex" and when called with a different name than "luametatex" they will try to locate scripts with their name in the same path (

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-27 Thread Nicola
ist callback tasks: 9 unique task lists, 8 instances (re)created, 47 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: internal: 0, file: 0, direct:

[NTG-context] Stack size for arguments too small in LMTX

2021-05-25 Thread Henri Menke
Dear list, For some reason pgfplots has a \pgfkeys invocation where the argument has more than 4000 lines. This crashes LuaMetaTeX with the message tex error > tex error on line 4045 in file pgfplots.code.tex: TeX capacity exceeded, sorry [token memory size=100] It doesn't se

Re: [NTG-context] Stack size for arguments too small in LMTX

2021-05-25 Thread mf
Il 25/05/21 17:25, Henri Menke ha scritto: Dear list, For some reason pgfplots has a \pgfkeys invocation where the argument has more than 4000 lines. This crashes LuaMetaTeX with the message tex error > tex error on line 4045 in file pgfplots.code.tex: TeX capacity exceeded, sorry [to

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Gavin
erribly long. I hope that’s not bad etiquette. (I’m fairly new here.) Thanks! Gavin > mtx-context | redirect luametatex -> luatex: luatex --luaonly > "/Users/Gavin/context-osx-64/tex/texmf-osx-64/bin/mtxrun.lua" --script > mtx-context --luatex --autopdf GlyphExp.

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
t someones pride and > joy > > over a nice and complex macro doing the same ... don't worry, i threw > > away plenty of code by now > > > > -- significant performance gain: which is seldom the case (there > really > > is not much to gain, at

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
ext which is rather optimized already) -- giving way less noise in tracing: which for me is a good reason (tracing changed a bit anyway) -- not adding much code to the engine or the need to refactor: although for some luametatex extensions some internals had to change fundame

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
to gain, at least not in context which is rather optimized > already) > > -- giving way less noise in tracing: which for me is a good reason > (tracing changed a bit anyway) > > -- not adding much code to the engine or the need to refactor: although > for some luametatex exten

Re: [NTG-context] LMTX install

2021-05-23 Thread Werner Hennrich
Julian, is the luametatex file in that directory executable? both context and mtxrun are links to it: lrwxrwxrwx 1 xxx xxx  10  context -> luametatex -rw-r--r-- 1 xxx xxx    1315  context.lua -rwxr-xr-x 1 xxx xxx 2957368  luametatex -rwxr-xr-x 1 xxx xxx 7150016  luatex lrwxrwxrwx 1 xxx

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
already) -- giving way less noise in tracing: which for me is a good reason (tracing changed a bit anyway) -- not adding much code to the engine or the need to refactor: although for some luametatex extensions some internals had to change fundamentally a good example is the extended macr

Re: [NTG-context] updating luametatex

2021-05-19 Thread Hans Hagen
On 5/19/2021 9:56 PM, Alan Bowen wrote: I seem to be stuck at ver. 209.08 (context ver. 2021.04.29). I downloaded context-osx-64.zip and made a clean install following the instructions for macOS on the wiki. context—version showed v. 2021.04.29 So I removed texmf cache and ran mtxrun —generate

[NTG-context] updating luametatex

2021-05-19 Thread Alan Bowen
showed ver. 2021.04.29 when I ran sh install.sh again, the result was the same. The version installed was still 2021.04.29 But this time the log showed an error mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun --generate lua error : startup file: ...owen1/Desktop

Re: [NTG-context] TeX capacity exceeded

2021-05-19 Thread Hans Hagen
cted to an usb3 ssd). My laptop is from 2013 (decent intel 3840QM cpu + 16 GB mem and ssd and so) and is about 3 times slower than the rpi 4 in the luametatex manual. Your file in mkiv does a decent ppm (is that an arm or intel mac?) mkiv lua stats > lua properties: engine: lua 5.3, used memor

Re: [NTG-context] TeX capacity exceeded

2021-05-18 Thread Hans Hagen
pen"] =500, -- i use 2000 ["luatex.maxprintline"] = 1, -- no need to change ["luatex.maxstrings"]= 50, -- maybe sometimes ["luatex.paramsize"] = 25000, -- seldom ["luatex.savesize"] = 10, -- often an error if more needed

[NTG-context] upcoming versions of lmtx

2021-05-07 Thread Hans Hagen
Hi, With luametatex becoming more mature, it's time to get rid of some old code. For instance, we have lmt files that assume 5.4, but regular lua files should work for luajittex (5.2) and luatex (5.3). Most noticable are the lack of bitwise operators and integer devision in luajittex

Re: [NTG-context] installing luametatex query

2021-05-03 Thread Hans Hagen
On 5/3/2021 5:58 PM, Alan Bowen wrote: I have re-installed the latest luametatex (macOS) following the directions on the wiki (https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS <https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS>) Though luametatex --version

[NTG-context] installing luametatex query

2021-05-03 Thread Alan Bowen
I have re-installed the latest luametatex (macOS) following the directions on the wiki ( https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS) Though luametatex --version mtxrun --generate are successful, context --version context --make --all gets mtxrun | unknown script 

Re: [NTG-context] wrong line break in recent LMTX

2021-04-27 Thread Hans Hagen
\exhyphenchar, in luametatex we can tag any char as such in traditional tex th ehyphenation, ligature building and kerning wre integrated, so handling - -- --- -- is kind of complex in luatex these stages are split but there's still messy logic wrt successive hyphens

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Hans Hagen
imapact in the lmtx code is that (when we go that route) some font code can be dropped. The impact on luametatex-the-engine is that all font related dimensions have more complex calculations, and of course the impact on the math code is even larger because there we also have the styles to deal

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread luigi scarso
On Sat, Apr 24, 2021 at 1:33 AM Sylvain Hubert wrote: > You're right, I just checked the symbols of luatex and they contain all > the APIs of lua 5.3. > So I guess the problem is specific to luametatex and the latest context. > > > but in any case you should compile aga

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread Sylvain Hubert
You're right, I just checked the symbols of luatex and they contain all the APIs of lua 5.3. So I guess the problem is specific to luametatex and the latest context. > but in any case you should compile against the luatex headers, not the stock lua 5.3.6. Does luatex have dedicated

[NTG-context] new upload

2021-04-09 Thread Hans Hagen
erver: https://dl.contextgarden.net/build/luametatex/win64/ make sure you replace/link luametatex.exe, mtxrun.exe and context.exe so that all then use the replacement. Mojca also configured the setup for native 32 bit binaries in case you need those. (The clang variants are compiled because wa

Re: [NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Hans Hagen
refore luametatex --luaonly can’t execute it. I suppose we can make it work (because lmtx can call out to kpse if needed) but it's not worth the trouble because afaiks it depends on perl, does all kind of map things, probably donwloads more than one needs and I actually prefer to be expli

[NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Philipp A.
Hi! The LMTX distribution comes with few binaries, texlua being none of them. The getnonfreefonts <https://www.tug.org/fonts/getnonfreefonts/> script seems simple enough, but it relies on a global “kpse” which it uses to get kpse variables. Therefore luametatex --luaonly can’t execute i

[NTG-context] tex live code freeze

2021-03-05 Thread Hans Hagen
ot and gets added to LMTX. I could backport some but it probably makes no sense (some is probably easy). There is of course untested code like the overload protection mechasnisms but I have that enabled on my machine (users can do that too) so I can notice side effects. The new engine (luam

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
ications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt to concatenate a boolean value (local 'v') I did a new upload that fixes is (had to do with 'nicer looking' logging). Hans -

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
ications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt to concatenate a boolean value (local 'v') can you run on a shorter path so that we can see where? -

[NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Alan Bowen
Files that ran well with ver ConTeXt ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:

Re: [NTG-context] Make LMTX load a custom library

2021-03-01 Thread Hans Hagen
\luametatex\wincon\wincon.dll (mtxrun --generate) maybe \enabletrackers[resolvers.libraries] gives you a clue Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Keith McKay
the latest luametatex/lmtx combination. It was crosscompiled on an intel mac which took ages so it stuck as experiment. Because th eintel bin runs on the arm mac it has a low priority (unless someone donates an arm mini to the farm). So, forget about the arm apple bins for now. We do generate wi

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-23 Thread Pablo Rodriguez
On 2/23/21 6:45 PM, Hans Hagen wrote: > On 2/23/2021 6:15 PM, kaddour kardio wrote: >> Thank you Hans and Pablo, symlinking the font directories to luametatex >> font directory worked as expected. I guess i have to follow the same >> steps after every update.. > no, beca

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-23 Thread Hans Hagen
On 2/23/2021 6:15 PM, kaddour kardio wrote: Thank you Hans and Pablo, symlinking the font directories to luametatex font directory worked as expected. I guess i have to follow the same steps after every update.. no, because texmf-fonts is never touched by an update Hans

Re: [NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Hans Hagen
, Shade) which is part of the ARM 64bit tree but not in the manual in the X86 64bits tree. That arm version was an experiment so it's definitely not in sync with the latest luametatex/lmtx combination. It was crosscompiled on an intel mac which took ages so it stuck as experiment. Becau

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-23 Thread kaddour kardio
Thank you Hans and Pablo, symlinking the font directories to luametatex font directory worked as expected. I guess i have to follow the same steps after every update.. Le dim. 21 févr. 2021 à 18:42, Pablo Rodriguez a écrit : > On 2/21/21 5:05 PM, Hans Hagen wrote: > > On 2/21/202

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

2021-02-17 Thread Hans Hagen
dating the metafun manual (but first i need to do the periodical update of the luametatex manual - kind of boring an dless fun than metafun) - Hans Hagen | PRAGMA ADE Ridde

<    2   3   4   5   6   7   8   9   10   11   >