Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
Hello list, Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE: \usemodule[tikz] % Error in current MkIV and LMTX, but OK in TeX Live 2021 \usemodule[pgfplots] % Error in Tex Live 2021 \starttext Hello \stoptext The error is in MkIV is: tex error > tex error on line 21 in file /Users/Gavin/context-osx-64/tex/texmf-context/tex/context/modules/mkiv/m-tikz.mkiv: ! I can't find file `t-pgf.tex'. l.21 \input t-pgf.tex The same error in LMTX. The error in Tex Live 2021 is: tex error > tex error on line 48 in file /usr/local/texlive/2021/texmf-dist/tex/generic/pgfplots/pgfplots.code.tex: ! I can't find file `pgflibrarypgfplots.contourlua.code.tex’. l.48 \usepgfplotslibrary{contourlua} Maybe I’m doing a poor job of maintaining my installations, but maybe this is a problem with the download. Thanks! Gavin
Hello Gavin, On Mon, 2021-06-07 at 18:04 -0600, Gavin wrote:
Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE:
\usemodule[tikz] % Error in current MkIV and LMTX, but OK in TeX Live 2021 \usemodule[pgfplots] % Error in Tex Live 2021 \starttext Hello \stoptext
The error is in MkIV is:
tex error > tex error on line 21 in file /Users/Gavin/context- osx-64/tex/texmf-context/tex/context/modules/mkiv/m-tikz.mkiv: ! I can't find file `t-pgf.tex'. l.21 \input t-pgf.tex
For me this builds fine with MkIV (TeX Live 2021 on Arch, specifically 2021.58686-3), however TikZ is incompatible with LMTX right now: https://github.com/pgf-tikz/pgf/issues/990 There I get the following issue which is slightly different than yours though: resolvers | formats | executing runner 'run luametatex format': /opt/context/lmtx/tex/texmf-linux-64/bin/luametatex -- jobname="texweb" --fmt=/opt/context/lmtx/tex/texmf-cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont- en.fmt --lua=/opt/context/lmtx/tex/texmf-cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont- en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./texweb.tex" -- c:input="./texweb.tex" --c:kindofrun=1 --c:maxnofruns=9 -- c:texmfbinpath="/opt/context/lmtx/tex/texmf-linux-64/bin" This is LuaMetaTeX, Version 2.06.12 open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2020.06.30 17:30 MKIV beta fmt: 2020.7.1 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/opt/context/lmtx/tex/texmf-context/tex/context/base/mkiv/cont- new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source > level 2, order 2, name '/opt/context/lmtx/tex/texmf-context/tex/context/base/mkiv/cont- new.mkiv' system > files > jobname 'texweb', input './texweb', result 'texweb' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name './texweb.tex' modules > 'tikz' is loaded open source > level 3, order 4, name '/opt/context/lmtx/tex/texmf-context/tex/context/modules/mkiv/m- tikz.mkiv' runtime error : input file 't-pgf.tex' is not found, quitting mtx-context | fatal error: return code: 256
The same error in LMTX. The error in Tex Live 2021 is: tex error > tex error on line 48 in file /usr/local/texlive/2021/texmf- dist/tex/generic/pgfplots/pgfplots.code.tex: ! I can't find file `pgflibrarypgfplots.contourlua.code.tex’. l.48 \usepgfplotslibrary{contourlua}
Maybe I’m doing a poor job of maintaining my installations, but maybe this is a problem with the download.
You can always check whether your installation or an issue with the current LMTX here: https://live.contextgarden.net/ Cheers ~ Leo
On 6/8/2021 9:56 AM, Leonard Janis Robert König wrote:
Hello Gavin,
On Mon, 2021-06-07 at 18:04 -0600, Gavin wrote:
Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE:
\usemodule[tikz] % Error in current MkIV and LMTX, but OK in TeX Live 2021 \usemodule[pgfplots] % Error in Tex Live 2021 \starttext Hello \stoptext
The error is in MkIV is:
tex error > tex error on line 21 in file /Users/Gavin/context- osx-64/tex/texmf-context/tex/context/modules/mkiv/m-tikz.mkiv: ! I can't find file `t-pgf.tex'. l.21 \input t-pgf.tex
For me this builds fine with MkIV (TeX Live 2021 on Arch, specifically 2021.58686-3), however TikZ is incompatible with LMTX right now:
https://github.com/pgf-tikz/pgf/issues/990
There I get the following issue which is slightly different than yours \usemodule[tikz] \usemodule[pgfplots] \starttext Hello \stoptext
rusn without error here (so are you sure that you use m-tikz.mkiv from the distribution)? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hans,
On Jun 8, 2021, at 6:36 AM, Hans Hagen
wrote: On 6/8/2021 9:56 AM, Leonard Janis Robert König wrote:
Hello Gavin, On Mon, 2021-06-07 at 18:04 -0600, Gavin wrote:
Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE:
\usemodule[tikz] % Error in current MkIV and LMTX, but OK in TeX Live 2021 \usemodule[pgfplots] % Error in Tex Live 2021 \starttext Hello \stoptext
The error is in MkIV is:
tex error > tex error on line 21 in file /Users/Gavin/context- osx-64/tex/texmf-context/tex/context/modules/mkiv/m-tikz.mkiv: ! I can't find file `t-pgf.tex'. l.21 \input t-pgf.tex
For me this builds fine with MkIV (TeX Live 2021 on Arch, specifically 2021.58686-3), however TikZ is incompatible with LMTX right now: https://github.com/pgf-tikz/pgf/issues/990 There I get the following issue which is slightly different than yours \usemodule[tikz] \usemodule[pgfplots] \starttext Hello \stoptext
rusn without error here (so are you sure that you use m-tikz.mkiv from the distribution)?
Yes, I’m using m-tikz.mkiv from the distribution. I opened it to confirm that it has the line \input t-pgf.tex, but I can’t find the file "t-pgf.tex” anywhere on my computer. I also checked the source browser at contextgarden. There m-tikz.mkiv also has the line "\input t-pgf.tex”, but I can’t find the file t-pgf.tex on the source browser either. Where is t-pgf.tex supposed to be? Thanks, Gavin
On 6/8/2021 3:00 PM, Gavin wrote:
Hans,
On Jun 8, 2021, at 6:36 AM, Hans Hagen
wrote: On 6/8/2021 9:56 AM, Leonard Janis Robert König wrote:
Hello Gavin, On Mon, 2021-06-07 at 18:04 -0600, Gavin wrote:
Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE:
\usemodule[tikz] % Error in current MkIV and LMTX, but OK in TeX Live 2021 \usemodule[pgfplots] % Error in Tex Live 2021 \starttext Hello \stoptext
The error is in MkIV is:
tex error > tex error on line 21 in file /Users/Gavin/context- osx-64/tex/texmf-context/tex/context/modules/mkiv/m-tikz.mkiv: ! I can't find file `t-pgf.tex'. l.21 \input t-pgf.tex
For me this builds fine with MkIV (TeX Live 2021 on Arch, specifically 2021.58686-3), however TikZ is incompatible with LMTX right now: https://github.com/pgf-tikz/pgf/issues/990 There I get the following issue which is slightly different than yours \usemodule[tikz] \usemodule[pgfplots] \starttext Hello \stoptext
rusn without error here (so are you sure that you use m-tikz.mkiv from the distribution)?
Yes, I’m using m-tikz.mkiv from the distribution. I opened it to confirm that it has the line \input t-pgf.tex, but I can’t find the file "t-pgf.tex” anywhere on my computer. I also checked the source browser at contextgarden. There m-tikz.mkiv also has the line "\input t-pgf.tex”, but I can’t find the file t-pgf.tex on the source browser either.
Where is t-pgf.tex supposed to be? somplace in a mdoules tree i installed from the garden (but maybe it's nowaways not there)
but we can try to avoid it (probably error prone anyway because i see a dangling \stopmodule) by moving what is in there to the m- one; can you test the attached (i have a few files in the test suite so when something tikz breaks i normally get a signal - i'm not a tikz user myself so i rely on otheres for more detailed reports) 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 -----------------------------------------------------------------
Hi Hans and everyone, The problem was fixed by reinstalling all modules using the instructions at https://wiki.contextgarden.net/Modules. Specifically, I ran these in the directory for my installation: rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ modules rsync -rlt --exclude=/VERSION --del modules/*/ tex/texmf-modules sh ./install.sh I don’t know what any of that means (except for the last line) or why my modules folder had become empty, but everything is working again.
On Jun 8, 2021, at 7:30 AM, Hans Hagen
wrote: but we can try to avoid it (probably error prone anyway because i see a dangling \stopmodule) by moving what is in there to the m- one; can you test the attached
I also tried the modified m-tikz.mkiv that you sent. It also works fine when I typeset my book full of Tik-Z diagrams. I don’t notice any difference. Thanks! Gavin
participants (3)
-
Gavin
-
Hans Hagen
-
Leonard Janis Robert König