Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
inject code path (shared > function with different stack values; i'll probably have to ditch a "low level > backward compatibility feature no one uses anyway" some day) > > i uploaded a fix that you can test when the bins are compiled at > > https://build.context

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Hans Hagen via ntg-context
en in: https://dl.contextgarden.net/build/luametatex/ (fyi: in the mp code you see that the path p is 'get' from the lua end where it got passed to by parameter) (interesting that it didn't show up sooner, maybe most users have closed paths a

[NTG-context] minimum working example plus (output)

2021-11-13 Thread skyhorse--- via ntg-context
luametatex format': /opt/context-lmtx/tex/texmf-linux-64/bin/luametatex --jobname="./bullet-style-example-iteration.lmtx" --fmt=/opt/context-lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/opt/context-lmtx/tex/t

Re: [NTG-context] Concerning \installparameterhashhandler and family

2021-11-10 Thread Hans Hagen via ntg-context
he implementation.) For modules: don't go too low level. Not all helpers in modules like mult-aux are meant for usage outside well known situations. Just like some low level helpers in syst-aux stay around for compatibility. In fact, one of the ideas behind luametatex/lmtx is to get rid of &q

Re: [NTG-context] Any initial thoughts on luau?

2021-11-08 Thread Ramkumar KB via ntg-context
g the structures (in C syntax) and using > > them transparently in LuaJIT (like "specialized and fast tables"). > > sure, it's a nice piece of software > > > I wonder how possible and usable would a LuaTeX implementation in pure > > (LuaJIT specific) Lua code woul

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Hans Hagen via ntg-context
it's also why i discarded libs in luametatex that have cpu specific optimizations that then in turn demand running scripts to generate files for compilation ... all not worth the trouble) now, keep in mind that (lua)jit involves some runtime analysis and that is why we don't gain (we did quite

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
\localbox[linenumber]{}% \localbox[linenumbertwo]{}% \localbox[linetext]{L}% \startlocalbox[linetexttwo] R \stoplocalbox \dorecurse{100}{ \samplefile{tufte} \par } \stop If you play a bit with these low level mechanism the luametatex / context

Re: [NTG-context] MkIV missing?

2021-10-19 Thread Jörg Hofmann via ntg-context
/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.09.26 17:00 $ context --version --luatex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context --ver

Re: [NTG-context] MkIV missing?

2021-10-18 Thread Jörg Hofmann via ntg-context
--luatex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context --version --luatex --redirected mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' $ which context /Users/hraban/l

Re: [NTG-context] new upload

2021-10-14 Thread Hans Hagen via ntg-context
? they are in there; but i still need to check multiple notes and spacing before the first (we have some trickery in mkiv and lmtx but maybe i can still make that better / more reliable in lmtx/luametatex) Hans

[NTG-context] new upload

2021-10-13 Thread Hans Hagen via ntg-context
n't go too high which is currently not enabled by default but might be in upcoming versions; this also depends on user feedback. It's a non intrusive extension the LuaMetaTeX engine. I have this setting in my local preferences file. Hans % test code (for Massimiliano and Hraban to play wi

Re: [NTG-context] Something smells rotten in the state of luametatex...

2021-10-08 Thread Hans Hagen via ntg-context
min(64,40), symbol mask: utf (τεχ) mkiv lua stats  > runtime: 2.775 seconds, 119 processed pages, 119 shipped pages, 42.883 pages/second system  | total runtime: 5.996 seconds When I compile the same document with luametatex, things slow down to a crawl: mkiv lua stats  > used eng

[NTG-context] Something smells rotten in the state of luametatex...

2021-10-08 Thread Thomas A. Schmitz via ntg-context
seconds, 119 processed pages, 119 shipped pages, 42.883 pages/second system | total runtime: 5.996 seconds When I compile the same document with luametatex, things slow down to a crawl: mkiv lua stats > used engine: luametatex version: 2.0921, functionality level: 20210903,

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
Thank you, Taco Your suggestion resolved the issue for me. Regards Marcus Vinicius On Mon, Oct 4, 2021 at 10:50 AM Taco Hoekwater via ntg-context < ntg-context@ntg.nl> wrote: > Hi, > > Here is what I assume has happened: > > Hans gave LMTX its own "luametatex-cache

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
Hi, Here is what I assume has happened: Hans gave LMTX its own "luametatex-cache” directory (around August 20). Previously, the cache for LMTX still used files under luatex-cache, just like MKIV. But since that change, the “context -—generate” call no longer updates files in luatex-

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
kiv/context.mkiv > >> mtx-context | current version: 2021.09.26 17:00 > >> mtx-context | main context file: > >> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl > >> mtx-context | current version: 2021.09.26 17:00 >

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
ntext | current version: 2021.09.26 17:00 > >> mtx-context | main context file: > /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl > >> mtx-context | current version: 2021.09.26 17:00 > >> $ context --version --luatex > >

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context
ntext/tex/context/base/mkiv/context.mkiv >> mtx-context | current version: 2021.09.26 17:00 >> mtx-context | main context file: >> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl >> mtx-context | current version: 2021.09.26 17:00 >>

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Hans Hagen via ntg-context
/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.09.26 17:00 $ context --version --luatex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context --ver

[NTG-context] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context
| current version: 2021.09.26 17:00 $ context --version --luatex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context --version --luatex --redirected mtxrun | unknown script 'mtx-context.lua

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
rogram from the tikz manual, but I get an error saying > that "t-pgf.tex" is not found; but it is in the tree of ConTeXt-lmtx. How did you install TikZ? The error message seems to suggest that tikz module is not installed. You can check by looking at the output of mtxrun t-pgf.tex O

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:49 PM, Hugh Fisher via ntg-context wrote: It may be unfair, but my impression is that TeX and typesetting / layout systems based on TeX can do more interesting things than say XML or Sphinx. Moving to a more "universal" markup format might broaden my options, but I don't want a

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:19 PM, Hugh Fisher wrote: On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: [ munch ] in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
Collating several suggestions into one: On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > Did you try pandoc? On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > you can consider coding your documents in xml and convert them to latex > and html .. neutral input so to say On Sat, 11

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > [ munch ] > > in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better integration? > > so, if y

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > > No. > > LuaMetaTeX is ConTeXt-only. > You would need a LaTeX -> ConTeXt conversion, and there is none. > Well I am thinking about switching to ConTeX/LuaMetaTEX anyway, because at the moment I draw vecto

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
Freitag, 10. September 2021 17:35 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) ; > hugo.fis...@gmail.com > Betreff: Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > You may want to have a look at the lwarp package as an alternative to tex4ht. >

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
r > Betreff: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > I have documents in LaTeX, and would like to generate XHTML (ePub) output > without going through an intermediate DVI or PDF step. > Markup to markup, translating or transpiling rather than typesetting. &g

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
(nil headers and footers) the resulting pdf can then be converted to html with pdftotex or something like that so, basically, you just typeset the html So (finally) my question: is LuaMetaTEX what I'm looking for? in this area there is nothing in luametatex that luatex can't do Yes

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
t; context("word 2") >> > context.NC() >> > context("word 3") >> > context.NC() >> > context.AR() >> > end >> > context.stoptabulate() >> > >> > \stopluacode >> > \stoptext >> > >> &g

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Henning Hraban Ramm via ntg-context
> Am 10.09.2021 um 13:13 schrieb Hugh Fisher via ntg-context > : > > So (finally) my question: is LuaMetaTEX what I'm looking for? No. LuaMetaTeX is ConTeXt-only. You would need a LaTeX -> ConTeXt conversion, and there is none. Did you try

[NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hugh Fisher via ntg-context
text, then emits . Similarly there would be an implied lookup of \beginParagraph and \endParagraph which would emit and . Plain text just gets copied through unchanged. So (finally) my question: is LuaMetaTEX what I'm looking for? Yes is the answer I'm hoping for. And any guidance would be much

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
> context.AR() > > end > > context.stoptabulate() > > > > \stopluacode > > \stoptext > > > > But it compiles with no problems with MKIV. > > > > context version: 2021.09.06 11:47 > > > > How to avoid this with lmtx? > In luatex there is

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-09 Thread Hans Hagen via ntg-context
with lmtx? In luatex there is also a max on configured memory usage but because in luametatex we have larger nodes you hit limits earlier. Also, the memory allocation in luametatex is somewhat different (larger nodes are compensated by savings elsewhere so in the end mem usage for this run is similar).

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

2021-09-08 Thread Henning Hraban Ramm via ntg-context
$LMTXPATH:$PATH > export TEXROOT=$TEXMF/ctx > > I placed a symbolic link in the folder > > $LMTXPATH/lib/luametatex/zint/libzint.so -> /usr/local/lib/libzint.so > > did the mtxrun --generate > > Trying the example: > > \usemodule[zint] > \starttext > \b

Re: [NTG-context] modules not found

2021-09-08 Thread Hans Hagen via ntg-context
to another volume. Could that cause the problem? Allthough I set their location in the .bashrc. # The current version of the ConTeXt luametatex in use: CONTEXTLMTX=/Volumes/REALM/TeX/context export CONTEXTLMTX PATH=$CONTEXTLMTX/tex/texmf-osx-64/bin:$PATH ; export PATH did you run mtxrun --generate

Re: [NTG-context] modules not found

2021-09-08 Thread Hans van der Meer via ntg-context
their location in the .bashrc. # The current version of the ConTeXt luametatex in use: CONTEXTLMTX=/Volumes/REALM/TeX/context export CONTEXTLMTX PATH=$CONTEXTLMTX/tex/texmf-osx-64/bin:$PATH ; export PATH dr. Hans van der Meer > On 8 Sep 2021, at 12:46, Hans van der Meer via ntg-context >

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

2021-09-08 Thread Axel Kielhorn via ntg-context
vel 2, order 3, name '/usr/local/texlive/LMTX2021/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded optional > using library '/usr/local/t

Re: [NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 11:02 AM, Henning Hraban Ramm via ntg-context wrote: (Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm

[NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Henning Hraban Ramm via ntg-context
(Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm] \setupbackgrounds[text][background={bg},state=start] \starttext

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

2021-09-06 Thread Hans Hagen via ntg-context
Hraban, "execute" should be a function defined in LuaMetaTeX, that internally calls zint functions. does context libs-imp-zint.mkxl new upload, maybe better messages - Hans Hagen |

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

2021-09-06 Thread Henning Hraban Ramm via ntg-context
gt;>> >>>> "execute" should be a function defined in LuaMetaTeX, that internally >>>> calls zint functions. >>> does >>> >>> context libs-imp-zint.mkxl >>> >>> produce something? >> Empty page (empty cont

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

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 7:53 PM, Michal Vlasák wrote: 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 contex

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

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

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

2021-09-05 Thread Hans Hagen via ntg-context
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 manual} \stoptext

[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

[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 context trial.tex''

Re: [NTG-context] new upload

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

[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
ow ... 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-23 Thread Hans Hagen via ntg-context
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 in the lmt

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

2021-08-22 Thread Benjamin Buchmuller via ntg-context
own 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, but i'm sure thomas will complain if that's the > case > > - more mp-tex-lu

Re: [NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
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, but i'm sure thomas will complain if that's the case I never realized that tuc files can grow so big

Re: [NTG-context] lmtx update

2021-08-19 Thread Aditya Mahajan via ntg-context
umn 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. For big d

[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:2339: in metamethod

[NTG-context] Failure when loading variable font

2021-08-14 Thread Marcel Krüger via ntg-context
56f32e/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/font-ttf-macro.lua:274: in u

[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
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: no Suspects

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
. 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' and at some point

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
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; ok, one can do

Re: [NTG-context] footnote not appearing

2021-07-28 Thread Hans Hagen via ntg-context
with 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 books like

[NTG-context] new lmtx upload

2021-07-27 Thread Hans Hagen via ntg-context
of 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
.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 definitions metapos

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

2021-07-21 Thread Rudd, Kevin
tafun' and method 'default' % metapost> loading 'metafun' as 'metafun.mpxl' using method 'default' % metapost> initializing number mode 'scaled' % metapost> trace > This is MPLIB for LuaMetaTeX, version 3.11, running in scaled mode. % metapost>

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

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

2021-07-17 Thread Michal Vlasák
orks! 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++ (wit

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

2021-07-16 Thread Lutz Haseloff
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 luametatex binaries for this ta

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

2021-07-16 Thread Michal Vlasák
sed 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 well, please add an en

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-linux-64/bin

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

2021-07-02 Thread Hans Hagen
n 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 several re

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 traceback

[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-64/bin/lu

[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/steffen/context-

Re: [NTG-context] lmtx upload

2021-06-24 Thread Hans Hagen
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 some

[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 Hagen

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

2021-06-19 Thread Hans Hagen
$A \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/luametatex

[NTG-context] new upload lmtx

2021-06-18 Thread Hans Hagen
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 that need such things (so

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

2021-06-18 Thread Nicola
> 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: $ /Library/T

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

2021-06-11 Thread Fabrice Couvreur
/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=/home/viserion/LMTX/tex/texmf-cache/lu

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

2021-06-11 Thread Mikael Sundqvist
mathadaptsize^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 (there

[NTG-context] upload / some new math stuff

2021-06-10 Thread Hans Hagen
thadaptsize^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 it

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

2021-06-08 Thread Wolfgang Schuster
the 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 LuaMetaTeX

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

2021-06-08 Thread Hans Hagen
}{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.pragma-ade.nl

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

2021-06-08 Thread Leonard Janis Robert König
> 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 | forma

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