[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
Hi Denis, I made a similar solution for docker image [minidocks/context](https://hub.docker.com/r/minidocks/context): [https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e](https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e). You can get inspired. Everything works as it should: ``` $ docker run --rm -it minidocks/context --luatex --version resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md' mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket "/usr/share/tex/texmf/bin/mtxrun.lua" --script mtx-context --luatex --version --redirected resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md' mtx-context | ConTeXt Process Management 1.06 mtx-context | mtx-context | main context file: /usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2024.04.01 08:59 mtx-context | main context file: /usr/share/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.04.01 08:59 ``` Best, Martin Hasoň ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] LMTX musl broken download link
Hi Hans, download link http://lmtx.pragma-ade.nl/install-lmtx/context-linuxmusl.zip on http://www.pragma-ade.com/install.htm (64 bit Linux Musl) page doesn't exist. Would it be possible to fix the link? Best regards Martin Hasoň ___ 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 ___
[NTG-context] Inkscape 1 without gui
Hi all, Inkscape version detection doesn't work for Inkscape 1 and non-gui environments (eg docker). The output of the `inkscape --version` command is > Unable to init server: Could not connect: Connection refused > Inkscape 1.0 (4035a4fb49, 2020-05-01) >Pango version: 1.44.7 This is standard commands behaviour without `--batch-process` and `--without-gui` options https://wiki.inkscape.org/wiki/index.php/Using_the_Command_Line Because the version of inkscape is on the second line, ConTeXt use options for 0.92 version and Inkscape 1 ends with an error message: > Unable to init server: Could not connect: Connection refused Unknown option --export-pdf=/app/pages/m_k_i_v_01.svg.pdf Best regards Martin Hasoň ___ 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 ___
[NTG-context] Update luatex for linuxmusl-64 platform in standalone distribution
Hi all, would it be possible to update luatex for the linuxmusl-64 platform, please? The current version ( http://minimals.contextgarden.net/setup/linuxmusl-64/bin/) ends with error: > This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev) (INITEX) > system commands enabled. > (/usr/share/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv (/usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv (/usr/share/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv) : Your luatex binary is too old, you need at least version 1.10!)) > 121 words of node memory still in use: >11 glue_spec nodes >avail lists: 2:2,5:1 > No pages of output. In Dockerfile for alpine linux https://github.com/minidocks/context, I fixed this bug by downloading the latest version from https://github.com/TeX-Live/luatex. Best regards Martin Hasoň ___ 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 ___
Re: [NTG-context] LMTX for alpine linux (musl)
>> Hi all, >> >> I would like use the LMTX in alpine linux (musl). Is this version planned to be prepared? >> Best regards >> Martin Hasoň > > What's the oldest version of Alpine that we would want to support? > > Mojca I want to make the new lmtx tags for docker image minidocks/context https://hub.docker.com/r/minidocks/context. I would support the latest Alpine (3.11 or 3.10). Martin ___ 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 ___
[NTG-context] LMTX for alpine linux (musl)
Hi all, I would like use the LMTX in alpine linux (musl). Is this version planned to be prepared? Best regards Martin Hasoň ___ 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 ___
Re: [NTG-context] Old version of luatex for alpine linux (musl)
Dear Mojca, musl LuaTeX binary is out of date again: This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev) (INITEX) system commands enabled. (/usr/share/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv (/usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv (/usr/share/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv) : Your luatex binary is too old, you need at least version 1.10!)) Would it be possible to update automatically LuaTeX? Best regards Martin pá 26. 10. 2018 v 14:08 odesílatel Mojca Miklavec < mojca.miklavec.li...@gmail.com> napsal: > Dear Martin, > > On Tue, 23 Oct 2018 at 15:24, Mojca Miklavec wrote: > > On Tue, 23 Oct 2018 at 13:37, Martin Hasoň wrote: > > > > > > I want to use the last beta version of standalone ConTeXt distribution > in alpine linux (musl). The installation was OK, but an error occurred > while compiling the file: > > > > Eeeem, my fault, sorry. I did not update LuaTeX for musl as it comes > > from another source > > Can you please try again if it works now? > > Thanks to Henri I fetched the binary of LuaTeX 1.09 (but did not yet > set up automation to do that in the future, please give me some more > time :). > > Henri, thanks a lot. > > Mojca > ___ 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 ___
[NTG-context] Missing modules crossref and pararef
Hi all, I want to use pararef <https://wiki.contextgarden.net/Paragraph_Referencing> and crossref <http://wiki.contextgarden.net/Cross_Referencing> modules, but they are not present in the ConTeXt installation. These modules also missing in output of install command sh ./first-setup.sh --modules=all Best regards Martin Hasoň ___ 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 ___
[NTG-context] Reset bibliography numbering
Hi all, I want to use a custom bibliography for every section in document. It is possible to starting the numbering from 1 for each section? \setupbtxrendering[default][ repeat=yes, continue=yes, method=local, numbering=yes, criterium=section, ] \usebtxdataset[default][bib.buffer] \starttext \startsection[title=Section 1] \cite[a] \placelistofpublications \stopsection \startsection[title=Section 2] \cite[b] \cite[a] \cite[c] \placelistofpublications \stopsection \stoptext Actual output: Section 1 [1] 1 bib a Section 2 [2] [1] [3] 2 bib b 1 bib a 3 bib c Expected output: Section 1 [1] 1 bib a Section 2 [1] [2] [3] 1 bib b 2 bib a 3 bib c Many thanks for your help Martin ___ 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 ___
[NTG-context] Old version of luatex for alpine linux (musl)
Hi all, I want to use the last beta version of standalone ConTeXt distribution in alpine linux (musl). The installation was OK, but an error occurred while compiling the file: This is LuaTeX, Version 1.07.0 (TeX Live 2018) (INITEX) > system commands enabled. > (/usr/share/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv > (/usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv > (/usr/share/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv > warning (pdf backend): unexpected use of \pdfvariable > ! Missing number, treated as zero. > > \edef > l.1122 \edef > \pdfpagebox {\pdfvariable pagebox} > \pdfpag... > ? > ) > : Your luatex binary is too old, you need at least version 1.08! > Assertion failed: kpse->program_name (../../../texk/kpathsea/variable.c: > kpathsea_var_value: 36) > mtx-context | error, no format found with name: cont-en, aborting Best regards Martin Hasoň ___ 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 ___
[NTG-context] The best command for parallel texts
Hi all, I need to type parallel text on double columns. I've tried paragraphs, tabulate, table and column environments. The best result of these options gives the tabulate. Unfortunately, it does not respect alignment - many \hbox errors in all environments except columns :(. What should I use and set up? \setuppapersize[A6][A6] \defineparagraphs[TwoLang][n=2] \setuptabulate[split=yes] \setupalign[verytolerant,stretch] \starttext \startTwoLang \input lorem \nextTwoLang \input davis \stopTwoLang \starttabulate[|p|p|] \NC\input lorem \NC\input davis \NC\NR \stoptabulate \bTABLE[frame=off,align=yes,split=yes] \bTR \bTD[roffset=2mm]\input lorem\eTD \bTD[loffset=2mm]\input davis\eTD \eTR \eTABLE \startcolumns[n=2] \input lorem \column \input davis \stopcolumns \stoptext Best regards Martin Hasoň ___ 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 ___