![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 06.09.2021 um 01:13 schrieb 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
context libs-imp-zint.mkxl
produce something? Empty page (empty content stream) and Crop/Media/TrimBox is [ 0 0 7.790488 103.5872 ]. The line: local result = zintlib_execute(specification) returns false each time. it took me a while to figure it out on a linux box but the following nbeeds to be changed in the texmfcnf.lua file:
CLUAINPUTS = ".;$SELFAUTOLOC/lib/$engine//",
I changed it in texmf/web2c/texmfcnf.lua as well as in texmf-context/web2c/contextcnf.lua and generated a few times – no change, the PDF is still empty. There’s no other texmfcnf.lua in my trees. Hraban $ context --autopdf=auto ~/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl resolvers | formats | executing runner 'run luametatex format': /Users/hraban/lmtx/tex/texmf-osx-64/bin/luametatex --jobname="/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl" --fmt=/Users/hraban/lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/hraban/lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:autopdf="auto" --c:currentrun=1 --c:fulljobname="/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl" --c:input="/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/Users/hraban/lmtx/tex/texmf-osx-64/bin" system > system > ConTeXt ver: 2021.09.03 18:49 LMTX fmt: 2021.9.3 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint', input '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl', result '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' resolvers > lua > loading file '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.lmt' succeeded system > continuing input file 'libs-imp-zint.mkxl' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded optional > using library '/Users/hraban/lmtx/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so' backend > xmp > using file '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 1, order 2, name '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /Users/hraban/lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.007 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none> mkiv lua stats > stored bytecode data: 498 modules (0.342 sec), 100 tables (0.018 sec), 598 chunks (0.360 sec) mkiv lua stats > traced context: maxstack: 1596, freed: 0, unreachable: 1596 mkiv lua stats > cleaned up reserved nodes: 68 nodes, 9 lists of 434 mkiv lua stats > node memory usage: 10 attribute, 5 attribute_list, 3 glue, 58 glue_spec, 3 kern, 4 penalty, 2 temp mkiv lua stats > node list callback tasks: 10 unique task lists, 7 instances (re)created, 34 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds loading mkiv lua stats > callbacks: file: 121, saved: 175, direct: 4, function: 1110, value: 1, message: 0, bytecode: 598, late 0, total: 2009 (2009 per page) mkiv lua stats > randomizer: resumed with value 0.032879785206596 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, dejavusansmono.ttf mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.228 seconds mkiv lua stats > result saved in file: /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.pdf, compresslevel 1, objectcompresslevel 3 mkiv lua stats > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64 mkiv lua stats > used engine: luametatex version: 2.0921, functionality level: 20210903, format id: 593, compiler: clang mkiv lua stats > tex properties: 740039 hash slots used of 2097152, 46334 control sequences, approximate memory usage: 29 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 53 MB, ctx: 50 MB, max: 50 MB, symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.686 seconds, 1 processed pages, 1 shipped pages, 1.459 pages/second mtx-context | pdfview methods: auto default okular pdfxcview sumatra, current method: auto (directives_pdfview_method) pdfview | command: open "libs-imp-zint.pdf" 1>/dev/null 2>/dev/null & mtx-context | pdfview overhead: 0.004 seconds system | total runtime: 0.708 seconds of 0.771 seconds