Re: [NTG-context] (No subject header)

2021-12-27 Thread Hans Hagen via ntg-context
most basic uses. Fortunately, my significantly more demanding needs for a client were met with the invaluable help from LuaTeX, but that won't be enough for my own projects, much more complex (facsimile of ancient editions), until Google improves this font. So actually the old pre-google fonts

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-27 Thread Thomas Savary via ntg-context
Garamond unusable for anything but the most basic uses. Fortunately, my significantly more demanding needs for a client were met with the invaluable help from LuaTeX, but that won't be enough for my own projects, much more complex (facsimile of ancient editions), until Google improves this font. Thomas

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-26 Thread Hans Hagen via ntg-context
On 12/25/2021 11:52 PM, Thomas Savary via ntg-context wrote: Hi Bruce and Hans ! Thank you very much for your answers, that helped me a lot. In fact, though I would love to switch to ConTeXt one day, I am still using LuaLaTeX — I am a slow learner and I know it will take me months to be

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Thomas Savary via ntg-context
Hi Bruce and Hans ! Thank you very much for your answers, that helped me a lot. In fact, though I would love to switch to ConTeXt one day, I am still using LuaLaTeX — I am a slow learner and I know it will take me months to be able to achieve what I need for my job with ConTeXt and can do

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 12:04 AM, Bruce Horrocks via ntg-context wrote: On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context wrote: Hello, dear list ! In order to fix a few bugs in some OpenType features included in EB Garamond font provided by Google Fonts, I am trying to remove some ligatures

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 12:04 AM, Bruce Horrocks via ntg-context wrote: On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context wrote: Hello, dear list ! In order to fix a few bugs in some OpenType features included in EB Garamond font provided by Google Fonts, I am trying to remove some ligatures

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context > wrote: > > Hello, dear list ! > > In order to fix a few bugs in some OpenType features included in EB Garamond > font provided by Google Fonts, I am trying to remove some ligatures > (erroneous in some contexts) with

[NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-24 Thread Thomas Savary via ntg-context
Hello, dear list ! In order to fix a few bugs in some OpenType features included in EB Garamond font provided by Google Fonts, I am trying to remove some ligatures (erroneous in some contexts) with fonts.handlers.otf.addfeature. I must be missing something, because I can't get it to work.

Re: [NTG-context] x86-64-amd-linux binary?

2021-12-16 Thread Hans Hagen via ntg-context
of context is in sync? e.g. Some internal (lua) keys were normalized recently.) So all I need to do is replace the luametatex binay (dl from the build server - debian9 build)? I also notice the luatex binary - I just leave it as is? luatex is the same fr a while already Hans

Re: [NTG-context] x86-64-amd-linux binary?

2021-12-16 Thread Ramkumar KB via ntg-context
Hans, Thank you. Just to clarify, in my current installation - context and mtxrun are already symlinks to the luametatex. So all I need to do is replace the luametatex binay (dl from the build server - debian9 build)? I also notice the luatex binary - I just leave it as is? best regards

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Hans Hagen via ntg-context
and/or mechanisms will end up in lmtx. But of course when we find serious bugs they can get solved. If it works for you it likely will keep working (assuming that luatex keeps working as it does). Hans

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Hans Hagen via ntg-context
if the error changed or if I copied the wrong error message in the OP, but a current LMTX throws: close source> level 1, order 2, name './t.tex' (\end occurred when parameter character luatex warning > print: bad string offset was incomplete)error (nodes): attempt to doubl

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Marco Patzer via ntg-context
wrong error message in the OP, but a current LMTX throws: close source> level 1, order 2, name './t.tex' (\end occurred when parameter character luatex warning > print: bad string offset was incomplete)error (nodes): attempt to double-free glue node 2986, ignored LMTX 2021.

Re: [NTG-context] \WORD regression

2021-12-10 Thread Henning Hraban Ramm via ntg-context
quot;; now it makes "sS". (If the current font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I gues

Re: [NTG-context] \WORD regression

2021-12-10 Thread Wolfgang Schuster via ntg-context
(If the current font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And y

Re: [NTG-context] \WORD regression

2021-12-09 Thread Hans Hagen via ntg-context
ent font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And y

Re: [NTG-context] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context
hose are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And yes, uppercase ß (ẞ, U1E9E) would be even better, even according to the

[NTG-context] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context
ons ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Status of Asymptote

2021-12-06 Thread Fabrice L via ntg-context
computational work. This is not easy, but the diagrams are super fast, > and I think they will always work. I would be very interested to see an example of a Metafun drawing made with the help of LuaTeX to speed up some calculations. Thanks

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Thangalin via ntg-context
Confirmed that the following worked: 1. Run: rm -rf /tmp/luatex-cache/ (your cache directory location will differ) 2. Edit ./tex/texmf-context/tex/context/base/mkiv/scrn-ref.lua 3. Replace line 15 to assign the empty function as Hans indicated 4. Save the file 5. Run: ./bin

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
Another problem. Maybe that's related? Running the file with the --luatex flag gives me this error message: tx-context | redirect luametatex -> luatex: luatex --luaonly "C:/context/tex/texmf-win64/bin/mtxrun.lua" --script mtx-context --luatex debug --redirected mtxrun

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Denis Maier via ntg-context
get correct results with the –luatex flag Denis Von: ntg-context mailto:ntg-context-boun...@ntg.nl>> Im Auftrag von Jean-Philippe Rey via ntg-context Gesendet: Samstag, 27. November 2021 16:22 An: ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> Cc: Jean-Philippe Rey mailto:j

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Denis Maier via ntg-context
Same here, but I get correct results with the –luatex flag Denis Von: ntg-context Im Auftrag von Jean-Philippe Rey via ntg-context Gesendet: Samstag, 27. November 2021 16:22 An: ntg-context@ntg.nl Cc: Jean-Philippe Rey Betreff: [NTG-context] Typographical quotes Dear list, When typing

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Hans Hagen via ntg-context
so because there is even more involved (which i happily let you guess about). I want clean solution with no fancy (and somewhat obscure) tex macro doing magic that only a few are supposed to understand. When we started with luatex, and thereby mkiv, we immediately went full unicode math (als

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
: the local box width > \localboxoffset: the total distance to the edge > \localboxleftskip : the effective leftskip > \localboxrightskip : the effective rightskip > \localboxlefthang : the current shape related value > \localboxrighthang :

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

2021-11-08 Thread Ramkumar KB via ntg-context
>>> would be interesting to hear about this from this community. > > > >> for sure i need more than an email to give a real answer (and some can > >> be read between the lines of the history documents / articles that we > >> ship); that said: > >>

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

2021-11-06 Thread Hans Hagen via ntg-context
hat we ship); that said: the main reasons for choosing lua for luatex has been that it is relatively small, has no dependencies, doesn't need tons of libraries to make it useful, is made for embeded usage, evolves in a proper academic setting, has long-term dedicated (nice) developers, is not part o

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

2021-11-06 Thread Michal Vlasák via ntg-context
en the lines of the history documents / articles that we > ship); that said: > > the main reasons for choosing lua for luatex has been that it is > relatively small, has no dependencies, doesn't need tons of libraries > to make it useful, is made for embeded usage, evolves in a prope

Re: [NTG-context] Strange result with the new upload

2021-11-06 Thread Alain Delmotte via ntg-context
still kind of work in progress, the old (luatex) interfaces were not that usefui / interesting anyway, and we can do more now)

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

2021-11-05 Thread Hans Hagen via ntg-context
would be interesting to hear about this from this community. for sure i need more than an email to give a real answer (and some can be read between the lines of the history documents / articles that we ship); that said: the main reasons for choosing lua for luatex has been that it is relatively smal

Re: [NTG-context] Strange result with the new upload

2021-11-05 Thread Hans Hagen via ntg-context
and nline numbers now (local boxes are still kind of work in progress, the old (luatex) interfaces were not that usefui / interesting anyway, and we can do more now) Hans - Hans Hagen |

Re: [NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Rik Kabel via ntg-context
\contextmark \stopTEXpage \stopbuffer \starttext    \contextmark\    \typesetbuffer[Buffer] \stoptext I get "MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. Does patching line 691 in buff-ini.lua     template = (jit and "--jit --e

Re: [NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Hans Hagen via ntg-context
  \contextmark\   \typesetbuffer[Buffer] \stoptext I get "MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. Does patching line 691 in buff-ini.lua template = (jit and "--jit --engine=luajittex" or "--engine=luatex")

[NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Rik Kabel via ntg-context
;MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] new upload

2021-11-02 Thread Luis Montgomery via ntg-context
Maybe because a requires , for example, 0003. See line 1506 in file /context/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv Luis Montgomery On the first run of MkIV (context --luatex) after updating my installation > on Win11-x64, I get a complaint just after load

Re: [NTG-context] new upload

2021-11-02 Thread Hans Hagen via ntg-context
.) Hans On the first run of MkIV (context --luatex) after updating my installation on Win11-x64, I get a complaint just after loading .../base/mkiv/syst-mac-lua : open source > level 1, order 11, name 'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.m

Re: [NTG-context] new upload

2021-11-02 Thread Rik Kabel via ntg-context
. It definitely is some low level mechanism but you can for instance use if for high performance efficient maginal notes and line numbering in controlled situations. (There is some room fro optimization in the engien but I deal with that later.) Hans On the first run of MkIV (context --luatex

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
to normalized lines and as such there is plenty to play with. Others can be seen in the examples. I might add some more control to both these 'injection' mechanism because directly out of the (pdftex/omega/luatex) they are not that useful (which is probably also why we don't use them

Re: [NTG-context] MkIV missing?

2021-10-19 Thread Jörg Hofmann via ntg-context
It works. I don't know why, but it works now. Best wishes Jörg Am 18.10.21 um 17:27 schrieb Jörg Hofmann via ntg-context: Am 04.10.21 um 15:33 schrieb Taco Hoekwater via ntg-context: We are busy with this off-list. If it is urgent: luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin

Re: [NTG-context] MkIV missing?

2021-10-18 Thread Jörg Hofmann via ntg-context
Am 04.10.21 um 15:33 schrieb Taco Hoekwater via ntg-context: We are busy with this off-list. If it is urgent: luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate fixed it for me (you’ll need to adjust the path, of course) Best wishes, Taco But not for me. :( After I set

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
ack the file >>>> >>>> /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex >>>> and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I >>>> get this error: >>>> (./luaotfload.sty >>>> (

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
y ditch this setup in favour of using 'context' directly, so it is >>>> not so important if there is no fix. >>> I have no clue .. >> I made this as experiment to make a texinfo file along with a manual >> generating a PDF to display math properly, which the Info format can

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
On 10/13/2021 6:54 PM, Hans Åberg wrote: On 13 Oct 2021, at 18:37, Hans Hagen wrote: On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: I was suggested a long ago to hack the file /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex and use LuaTeX directly

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
this as experiment to make a texinfo file along with a manual generating a PDF to display math properly, which the Info format cannot do. I'm not familiar with texinfo but in the context distribution are some luatex-* files that show how to load the generic context font loader (in plain tex). One can

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 18:37, Hans Hagen wrote: > > On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >> I was suggested a long ago to hack the file >> >> /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex >> and use LuaTeX d

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: I was suggested a long ago to hack the file /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I get this error: (./luaotfload.sty (/usr

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans van der Meer via ntg-context
a long ago to hack the file > /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex > and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I get > this error: > (./luaotfload.sty > (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex

[NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
I was suggested a long ago to hack the file /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I get this error: (./luaotfload.sty (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex

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

2021-10-08 Thread Hans Hagen via ntg-context
sed engine: luatex version: 1.13, functionality level: 7420, banner: this is luatex, version 1.13.0 (tex live 2021) mkiv lua stats  > used hash slots: 48846 of 65536 + 25 mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 212 MB, ctx: 210 MB, max: unknown MB, hash chars:

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

2021-10-08 Thread Thomas A. Schmitz via ntg-context
Hi all, I have a document here for one of my classes: xml processed via context, some layers, some two column paragraphs, a bibliography, nothing out of the ordinary. With mkiv, it compiles cleanly: mkiv lua stats > used engine: luatex version: 1.13, functionality level: 7420, ban

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
” 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-cache, only in luametatex-cache. > > > That is not a big problem unless som

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 Henning Hraban Ramm via ntg-context
> Am 04.10.2021 um 15:33 schrieb Taco Hoekwater via ntg-context > : > > We are busy with this off-list. > > If it is urgent: > > luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate > > fixed it for me (you’ll need to adjust the path, of course

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
We are busy with this off-list. If it is urgent: luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate fixed it for me (you’ll need to adjust the path, of course) Best wishes, Taco > On 4 Oct 2021, at 15:28, Marcus Vinicius Mesquita via ntg-context > wrote: > >

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-10-01 Thread Hans Hagen via ntg-context
On 10/1/2021 11:36 AM, Henri Menke via ntg-context wrote: When I last looked at it about a year ago it was completely unusable with the LuaTeX driver because position tracking primitives were removed (\pdflastxpos, \pdflastypos) and box keywords had changed (\hbox dir TRT). Some catcode

Re: [NTG-context] running tikz

2021-10-01 Thread Henri Menke via ntg-context
at will be needed to add a LMTX "driver" for TikZ? Porting pgfsys- > luatex.def to pgfsys-luametatex.def? Or is something else also > needed? Yes, there would have to be a pgfsys-luametatex.def and some detection code to switch the driver appropriately but that latter part is easy.

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
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-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] 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
() context("word 1") context.NC() context("word 2") context.NC() context("word 3") context.NC() 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

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

2021-09-08 Thread Floris van Manen via ntg-context
On 08/09/2021 19:08, Henning Hraban Ramm wrote: I just checked on my Linux laptop with a new installation, and it worked exactly like this. Did you check with --luatex (i.e. MkIV)? What’s your ConTeXt version? You left out this essential piece of information. $ context --version mtx

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

2021-09-08 Thread Henning Hraban Ramm via ntg-context
arcode[alternative=isbn, text=9783865419026, width=4cm] > \barcode[alternative=qr code, text={https://wiki.contextgarden.net}, > width=3cm] > \stoptext > I just checked on my Linux laptop with a new installation, and it worked exactly like this. Did you check wit

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

2021-09-08 Thread Axel Kielhorn via ntg-context
210903, format id: 593, compiler: clang mkiv lua stats > tex properties: 740039 hash slots used of 2097152, 46321 control sequences, approximate memory usage: 29 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 52 MB, ctx: 49 MB, max: 49 MB, symbol mask: utf (τεχ)

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Henning Hraban Ramm via ntg-context
> > hm, that looks bad ... maybe not have a look after all ... i get the > impression that many originally small programs get bloated by pulling in one > lib that then pulls in more, Exactly. The criticism by the GM maintainers probably *is* justified. (When I installed IM, actually all of

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

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 10:14 AM, Hans van der Meer via ntg-context wrote: There is something I do not understand in the passing of parameters from TeX to LuaTex. This is my TeX definition: \def\ListSort[#1]#2{\directlua{hvdm.listsort([===[#2]===],[===[#1]===])}} tex haalt de {} rond #2 weg Calling

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

2021-09-05 Thread Hans van der Meer via ntg-context
And \ListSort[[abc]]{value} turns out to be worse: doesn't makes it into LuaTeX at all. dr. Hans van der Meer > On 5 Sep 2021, at 10:14, Hans van der Meer via ntg-context > wrote: > > There is something I do not understand in the passing of parameters from TeX > to LuaTex. &

[NTG-context] parameters TeX->LuaTeX

2021-09-05 Thread Hans van der Meer via ntg-context
There is something I do not understand in the passing of parameters from TeX to LuaTex. This is my TeX definition: \def\ListSort[#1]#2{\directlua{hvdm.listsort([===[#2]===],[===[#1]===])}} Calling \ListSort[sep={ + }]{} delivers the string 'sep={ + }' into LuaTeX as the printout in the logfile

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
ng in one lib that then pulls in more, even if nothing of that is used or useful to the task (we sort of had that when luatex used xpdf from which we only need the reading part but we could not really complain about that because it has been so from the start but it triggered quite a bit of updati

[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
resolvers | formats | executing runner 'run luametatex format': /home/fvleung/ConTeXt/tex/texmf-linux-64/bin/luametatex --jobname="trial" --fmt=/home/fvleung/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/fvleung/Con

[NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
? And is that right with A{ij} After compiling i get the following Command Line: context.exe --synctex=-1 "Example1.tex" Startup Folder: C:\Users\Administrator\Documents\My Documents resolvers | formats | executing runner 'run luatex format': C:/texlive/2020/bin/win32/luatex --jobname

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
TEXMFCACHE to contain /var/opt/texlive first and then also an individual directory under $HOME. When I run context under my personal account, it only uses the second. I assume that's because I may not write under the first. There's a comment in texmfcnf.lua about that. Does it perhaps make no sense at

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
I want to configure the system so that everybody may use contents from TEXMFSYSVAR, but optionally uses an additional personal directory. I don't know if this makes sense in the case of luatex-cache, but had thought so. Thanks, Rainer _

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
/perl5/bin:.:/Applications/Qt/current/clang_64/bin:/usr/X11/bin dvipdfmx: /opt/local/bin/dvipdfmx dvips: /opt/local/bin/dvips fmtutil: /opt/local/bin/fmtutil kpsewhich: /opt/local/bin/kpsewhich luatex:/opt/local/bin/luatex mktexpk: /opt/local/bin/mktexpk pdf

Re: [NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Hans Hagen via ntg-context
On 8/25/2021 6:05 PM, Adam Reviczky via ntg-context wrote: Hi, I have been using the ansi and ansilog flags in the past and they work fine with lmtx, but do not seem to make a difference with luatex/mkiv. (There was a thread back in 2019: https://mailman.ntg.nl/pipermail/ntg-context/2019

[NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Adam Reviczky via ntg-context
Hi, I have been using the ansi and ansilog flags in the past and they work fine with lmtx, but do not seem to make a difference with luatex/mkiv. (There was a thread back in 2019: https://mailman.ntg.nl/pipermail/ntg-context/2019/095666.html) I am trying just a simple hello world: \starttext

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi again, Many thanks to Hans and Hans and Henri. The solution (going to low level) provided by Hans works fine. Best Thierry Le Monday 23 Aug 2021 à 17:13:00 (+0200), Hans Hagen a écrit : > On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: > > Hi everybody. > > > > I wonder how does

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 5:24 PM, Hans van der Meer via ntg-context wrote: I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated?

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
> random values generated? Someone who knows? https://tex.stackexchange.com/questions/468466/tikz-graphdrawing-differences-between-luatex-versions Cheers, Henri > > dr. Hans van der Meer > > > > On 23 Aug 2021, at 17:13, Hans Hagen via ntg-context < > > ntg-context

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans van der Meer via ntg-context
I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated? Someone who knows? dr. Hans van der Meer > On 23 Aug 2021, at

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
On Mon, 2021-08-23 at 16:46 +0200, Thierry Horsin via ntg-context wrote: > Hi everybody. > > I wonder how does math.random() work in context. I found that this > subject was discussed more than ten years ago by Otared and Taco and > Thomas. It is clear to me how to obtain new results upon

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file by changing the value of math.randomseed (with os.time()).

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-18 Thread Hans Hagen via ntg-context
font context agreed more often with uniscribe than xetex, but in the end on ehas to make the font okay for all i guess). When we started with opentype (luatex showed up in 2005) we took uniscribe as reference so that is our benchmark. And lack of specs made us figure out things stepwise. Now

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

2021-08-14 Thread Hans Hagen via ntg-context
gt; loading failed due to read error (This run used luametatex, but the same issue occurs when using luatex) The same font worked correctly with the ConTeXt version from 2021-05-20. that's because since then we check for the cycle (otherwise artifacts) it probably relates to these extra point

[NTG-context] Failure when loading variable font

2021-08-14 Thread Marcel Krüger via ntg-context
tx/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1336: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1193> (...tail calls...) fonts > otf loading > loading failed due to read error (This run used luametatex, but the same issu

[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
Keywords: template Author: Mickey Mouse Creator:LuaTeX 2.07 20200920 + ConTeXt MkIV 2020.09.20 23:02 Producer: LuaTeX-2.07 CreationDate: Tue Aug 10 09:16:30 2021 +08 ModDate:Tue Aug 10 09:16:30 2021 +08 Tagged: no UserProperties: no Suspects

Re: [NTG-context] footnote not appearing

2021-07-28 Thread jbf via ntg-context
You are correct Hans, I was using Mk IV luatex as the engine, though I could use lmtx. It's just that in a production environment I need to be absolutely sure things work (printers deadlines and that sort of thing!) and I know that the MkIV luatex scene always works. But I'll give the lmtx

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
lias \ifexpression : \ifnumexpression (2 * 10) + (3 << 4) > (4 & 5) \relax yes \else no \fi \stoptext Performance wise it is comparable to \dimexpr and \numexpr (these are a bit faster in luametatex than in luatex), the final \relax is mandate (so no lookahead side effects), and these don't su

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Hans Hagen via ntg-context
a problem the command line program qpdf is one of the best programs to check (when luigi sand i were checking luatex pdf issues we used qpdf and mupdf mostly) Now to the different mechanisms: 1) Sound objects - First appeared in PDF 1.2 (1996), but had since been deprecated (PDF 1.5

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
oindent \placerenderingwindow[myrenderingwindow][myvideo3] \stoptext All three file source types are demonstrated. Any "video.mp4" in the directory you compile in will do. (Works as expected in Okular on Linux.) This was a dump of knowledge that I gained from writing my

[NTG-context] \setupinitial: style Parameter resets size

2021-07-25 Thread Axel Kielhorn
before LMTX, thus it is not a regression. % !TEX TS-program = ConTeXt (LuaTeX LMTX2021) % !TEX encoding = UTF-8 Unicode \starttext \setupinitial[color=red] \start \setupinitial[n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\tf,n=2,m=1] \placeinitial\input ward \stop

Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Wolfgang Schuster
{*lmtx}{lmtx} I always get „mkiv“. I’ve tried - pre LMTX context - LMTX --luatex - LMTX (2021.07.23) What is the recommended way to detect LMTX? There is no mode value for LMTX, only MkIV is set. To check for LMTX you have to use \ifcase\contextlmtxmode but an additional for lmtx would be useful

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