zint module on LMTX
Dear list, using latest LMTX and following the steps from https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t get any barcode either in Linux or Windows. Minimal sample: \starttext \usemodule[zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext Error message is rather weird on Linux: optional > using library '/home/ousia/context/tex/texmf-linux- 64/bin/lib/luametatex/zint/libzint.so' zint > unknown barcode alternative 'isbnx' zint > zint > valid barcode alternatives: zint > [...] zint > isbn zint > isbnx [...] It seems that a valid barcode alternative ends up being unknown to the library. What am I missing here? Many thanks for your help, Pablo
On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
using latest LMTX and following the steps from https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t get any barcode either in Linux or Windows.
Minimal sample:
\starttext \usemodule[zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext
Error message is rather weird on Linux:
optional > using library '/home/ousia/context/tex/texmf-linux- 64/bin/lib/luametatex/zint/libzint.so' zint > unknown barcode alternative 'isbnx' zint > zint > valid barcode alternatives: zint > [...] zint > isbn zint > isbnx [...]
It seems that a valid barcode alternative ends up being unknown to the library.
What am I missing here?
Many thanks for your help, Are you sure that you have the latest zint? (from sourceforge)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi Pablo, If you use an older version of zint, maybe "isbn" instead of "isbnx" would work. I have used both isbnx and qrcode successfully with zint 2.10 on linux. \usemodule[zint] \starttext \barcode[alternative=isbn,text=9783865419026,width=4cm] %\barcode[alternative=isbnx,text=9783865419026,width=4cm] \stoptext Adam On Wed, Mar 16, 2022 at 5:07 PM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote:
On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
using latest LMTX and following the steps from https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t get any barcode either in Linux or Windows.
Minimal sample:
\starttext \usemodule[zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext
Error message is rather weird on Linux:
optional > using library '/home/ousia/context/tex/texmf-linux- 64/bin/lib/luametatex/zint/libzint.so' zint > unknown barcode alternative 'isbnx' zint > zint > valid barcode alternatives: zint > [...] zint > isbn zint > isbnx [...]
It seems that a valid barcode alternative ends up being unknown to the library.
What am I missing here?
Many thanks for your help, Are you sure that you have the latest zint? (from sourceforge)
----------------------------------------------------------------- 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
___________________________________________________________________________________
On 3/16/22 19:11, Adam Reviczky via ntg-context wrote:
Hi Pablo,
If you use an older version of zint, maybe "isbn" instead of "isbnx" would work.
Hi Adam, I have just installed version 2.10. "isbn" works, but "isbnx" doesn’t. As already reported is an unrecognized option that is also listed as available alternative (weird).
I have used both isbnx and qrcode successfully with zint 2.10 on linux.
As said, for some strange reason, "isbnx" doesn’t work on my Linux machine. On Windows, I need to check the issue further. Many thanks for your help, Pablo
Hi Pablo,
You are correct, the LuaMetaTeX file is still expecting the old "isbn" as
the name, whereas the MKIV running zint directly requires the new one with
"isbnx".
Not sure with which zint version the "isbn" got changed to "isbnx".
@Hans Hagen
On 3/16/22 19:11, Adam Reviczky via ntg-context wrote:
Hi Pablo,
If you use an older version of zint, maybe "isbn" instead of "isbnx" would work.
Hi Adam,
I have just installed version 2.10.
"isbn" works, but "isbnx" doesn’t. As already reported is an unrecognized option that is also listed as available alternative (weird).
I have used both isbnx and qrcode successfully with zint 2.10 on linux.
As said, for some strange reason, "isbnx" doesn’t work on my Linux machine.
On Windows, I need to check the issue further.
Many thanks for your help,
Pablo
___________________________________________________________________________________ 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
___________________________________________________________________________________
On 3/16/22 22:32, Pablo Rodriguez via ntg-context wrote:
[...] On Windows, I need to check the issue further.
Using latest binary from SF (which is Win32, btw), I get the following error message: error (lmt library): unable to load 'D:/utilidades/context/tex/ texmf-win64/bin/lib/luametatex/zint/libzint.dll', quitting mtx-context | fatal error: return code: 1 So, latest version in Windows breaks compilation on my computer. What am I doing wrong? Many thanks for your help, Pablo
Hi all, with the new upload, for me on Win64 the zint module does not work yet.
cmd /c context test.tex && start sumatrapdf test.pdf
test.log: resolvers | formats | executing runner 'run luametatex format': C:/context/tex/texmf-win64/bin/luametatex --jobname="./test.tex" --fmt=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="C:/context/tex/texmf-win64/bin" system > system > ConTeXt ver: 2022.03.24 21:18 LMTX fmt: 2022.3.25 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/context/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 'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './test', input './test.tex', result './test' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './test.tex' modules > using user prefixed file 'libs-imp-zint' modules > 'zint' is loaded open source > level 2, order 3, name 'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' resolvers > lua > loading file 'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.lmt' succeeded close source > level 2, order 3, name 'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded error (lmt library): unable to load 'C:/context/tex/texmf-win64/bin/lib/luametatex/zint/libzint.dll', quitting mtx-context | fatal error: return code: 1
Exit code: 1
Greetings Lutz
Am 17. März 2022 16:26:21 MEZ schrieb Pablo Rodriguez via ntg-context
On 3/16/22 22:32, Pablo Rodriguez via ntg-context wrote:
[...] On Windows, I need to check the issue further.
Using latest binary from SF (which is Win32, btw), I get the following error message:
error (lmt library): unable to load 'D:/utilidades/context/tex/ texmf-win64/bin/lib/luametatex/zint/libzint.dll', quitting
mtx-context | fatal error: return code: 1
So, latest version in Windows breaks compilation on my computer.
What am I doing wrong?
Many thanks for your help,
Pablo ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 3/16/22 18:05, Hans Hagen via ntg-context wrote:
On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
using latest LMTX and following the steps from https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t get any barcode either in Linux or Windows.
Minimal sample:
\starttext \usemodule[zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext [...] Are you sure that you have the latest zint? (from sourceforge)
Many thanks for your reply, Hans. I have version 2.9.2 on Linux and version 2.10 on Windows. I’ll try to install the new version on Linux and report results here. Many thanks for your help, Pablo
participants (4)
-
Adam Reviczky
-
Hans Hagen
-
Lutz Haseloff
-
Pablo Rodriguez