On Wed, May 20 2020, Hans Hagen wrote:
[offset=\getdocumentargumentdefault{paperformat_to}{0pt}]
shouldn't that one then become
\setuppaper [offset=\getdocumentargumentdefault{paperformat_print}{0pt}]
Yes, I guess.
With LMTX, --extra=select is not working at all. I get this error:
mtx-context | processing extra: mtx-context-select.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --extra=select --selection=2 file.pdf --redirected mtx-context | processing extra: mtx-context-select.tex mtx-context | warning: lua mismatch (luv: 0 <> bin: 5.2), forcing remake /usr/share/texmf/scripts/context/lua/mtx-context.lua:1176: attempt to index field 'instance' (a nil value)
that's not lmtx, but mkiv that you call
Ok, I've found the problem: context.lua and mtxrun.lua in texmf-linux-64/bin did not have the execute permissions. It works after adding the permissions. Thanks, -- Peter