* Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
@ 2021-06-08 0:04 Gavin
2021-06-08 7:56 ` Leonard Janis Robert König
0 siblings, 1 reply; 6+ messages in thread
From: Gavin @ 2021-06-08 0:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
2021-06-08 0:04 Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex` Gavin
@ 2021-06-08 7:56 ` Leonard Janis Robert König
2021-06-08 12:36 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Leonard Janis Robert König @ 2021-06-08 7:56 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
2021-06-08 7:56 ` Leonard Janis Robert König
@ 2021-06-08 12:36 ` Hans Hagen
2021-06-08 13:00 ` Gavin
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2021-06-08 12:36 UTC (permalink / raw)
To: mailing list for ConTeXt users, Leonard Janis Robert König
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
2021-06-08 12:36 ` Hans Hagen
@ 2021-06-08 13:00 ` Gavin
2021-06-08 13:30 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Gavin @ 2021-06-08 13:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans,
> On Jun 8, 2021, at 6:36 AM, Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
2021-06-08 13:00 ` Gavin
@ 2021-06-08 13:30 ` Hans Hagen
2021-06-08 13:51 ` Fixed: " Gavin
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2021-06-08 13:30 UTC (permalink / raw)
To: mailing list for ConTeXt users, Gavin
[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]
On 6/8/2021 3:00 PM, Gavin wrote:
> Hans,
>
>> On Jun 8, 2021, at 6:36 AM, Hans Hagen <j.hagen@xs4all.nl> 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
-----------------------------------------------------------------
[-- Attachment #2: m-tikz.mkiv --]
[-- Type: text/plain, Size: 2914 bytes --]
%D A fixed variant if the t-tikz module distributed with tikz.
\ifdefined\pdflastxpos \else
\unprotect
\frozen\overloaded\protected\def\pdflastxpos{\numexpr\clf_lastxpos\relax}
\frozen\overloaded\protected\def\pdflastypos{\numexpr\clf_lastypos\relax}
\protect
\fi
\pushoverloadmode
\pushcatcodetable
\setcatcodetable\texcatcodes
\catcode`\@=11
\catcode`\|=12
\catcode`\!=12
\input t-pgf.tex
\input t-pgffor.tex
\input tikz.code.tex
\popcatcodetable
\popoverloadmode
\permanent\protected\def\tikzerrormessage#1#2#3%
{\writestatus{#1}{#2}}
\ifcase\contextlmtxmode
\let\starttikzsettings\relax
\let\stoptikzsettings \relax
\protected\def\starttikzpicture
{% \dontleavehmode
\begingroup
\ifdefined\PackageError\else \let\PackageError\tikzerrormessage \fi
\tikzpicture}
\protected\def\stoptikzpicture
{\endtikzpicture
\endgroup}
\else
% for now:
\overloadmode\zerocount
% but this will be mandate for settings outside the start .. stop
\permanent\protected\def\starttikzsettings
{\pushoverloadmode}
\permanent\protected\def\stoptikzsettings
{\popoverloadmode}
\permanent\protected\def\starttikzpicture
{\dontleavehmode
\hcontainer\bgroup
% \pushoverloadmode
\ifdefined\PackageError\else \let\PackageError\tikzerrormessage \fi
\tikzpicture}
\permanent\protected\def\stoptikzpicture
{\endtikzpicture
% \popoverloadmode
\egroup}
\fi
% \input t-pgf.tex
\ifx\pgfdefined\undefined
\let\pgfdefined\relax
% \input t-pgfcor.tex
\ifx\pgfcoredefined\undefined
\let\pgfcoredefined=\relax
\input t-pgfsys.tex
\edef\pgfcoreatcode {\the\catcode`\@}
\edef\pgfcorebarcode {\the\catcode`\|}
\edef\pgfcoreexclaimcode{\the\catcode`\!}
\catcode`\@=11
\catcode`\|=12
\catcode`\!=12
\input pgfcore.code.tex
\catcode`\@=\pgfcoreatcode
\catcode`\|=\pgfcorebarcode
\catcode`\!=\pgfcoreexclaimcode
\let\startpgfpicture \pgfpicture \let\stoppgfpicture \endpgfpicture
\let\startpgfscope \pgfscope \let\stoppgfscope \endpgfscope
\let\startpgflowlevelscope \pgflowlevelscope \let\stoppgflowlevelscope \endpgflowlevelscope
\let\startpgfinterruptpath \pgfinterruptpath \let\stoppgfinterruptpath \endpgfinterruptpath
\let\startpgfinterruptpicture \pgfinterruptpicture \let\stoppgfinterruptpicture \endpgfinterruptpicture
\let\startpgfinterruptboundingbox\pgfinterruptboundinbox \let\stoppgfinterruptboudingbox\endpgfinterruptboundingbox
\fi
\usepgfmodule[shapes,plot]
\fi
\stopmodule
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Fixed: Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`
2021-06-08 13:30 ` Hans Hagen
@ 2021-06-08 13:51 ` Gavin
0 siblings, 0 replies; 6+ messages in thread
From: Gavin @ 2021-06-08 13:51 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
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 <j.hagen@xs4all.nl> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-06-08 13:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 0:04 Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex` Gavin
2021-06-08 7:56 ` Leonard Janis Robert König
2021-06-08 12:36 ` Hans Hagen
2021-06-08 13:00 ` Gavin
2021-06-08 13:30 ` Hans Hagen
2021-06-08 13:51 ` Fixed: " Gavin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).