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//",

kind of subtle ... so no lua path in there (one needs to run mtxrun --genenate after changing this)

(it went unnoticed because i have that in my texmf-local tree and as i had patched some files when testing an update i did was fooled by newer timestamps so i ended up in the wrong cache)

anyway, zint works on linux (one needs to copy the file to the texm-platform tree and get rid of the version number in the name; long ago i dealt with that so maybe i need to reintroduce that ugly hackery again; installing zint in linux didn't create a simple .so link) so ... i've added some error messages in the process (so that "result, message = ..." can handle it) but no upload yet

when it works, you will see some mp magick kicking in (becvause we use the vectorized output) ... if you are bored you can try to make a simple cmake file for compiling zint (i couldn't compile because of some depedencies, i.e. gcc not found by cmake; we don't need all that qt stuff anyway but i didn't want to waste time on that now)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to