Re: [NTG-context] zint barcode module on LMTX/MacOS
Am 07.09.2021 um 23:27 schrieb Floris van Manen
: Hello Hraban,
On 07/09/2021 21:03, Henning Hraban Ramm via ntg-context wrote:
Since I got zint running (thanks, Hans!), there’s now a wiki page: https://wiki.contextgarden.net/Barcodes
I followed the instructions on the wiki, but still get an empty page. I compiled the libzint.so and installed it into /usr/local/lib/
Given my local path definitions: export TEXMF=$HOME/context export LMTXPATH=$TEXMF/tex/texmf-linux-64/bin export PATH=$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 \barcode[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 with --luatex (i.e. MkIV)? What’s your ConTeXt version? You left out this essential piece of information. Hraban
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-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2021.09.06 11:47 mtx-context | main context file: /home/vm/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.09.06 11:47 this is the results form --generate: $ mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' set to '/home/vm/context/tex/texmf-linux-64/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/home/vm/context/tex/texmf-linux-64' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/vm/context/tex' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '/home/vm/context' resolvers | resolving | variable 'TEXOS' set to 'texmf-linux-64' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vm/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vm/context/tex/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vm/context/tex/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vm/context/tex/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vm/context/tex/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | found regular configuration file '/home/vm/context/tex/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | locating list of '/home/vm/context' (runtime) (tree:////home/vm/context) resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:////home/vm/context' resolvers | trees | locator '/home/vm/context' found resolvers | resolving | hash '/home/vm/context' appended resolvers | resolving | resolvers | methods | resolving, method 'generators', how 'uri', handler 'file', argument '/home/vm/context' resolvers | expansions | scanning path '/home/vm/context', branch '/home/vm/context' resolvers | expansions | 5750 files found on 358 directories with 207 uppercase remappings resolvers | resolving | resolvers | resolving | not saving runtime tree '/home/vm/context' mtxrun | mtxrun | elapsed lua time: 0.031 seconds
participants (2)
-
Floris van Manen
-
Henning Hraban Ramm