* pgfplots module wrecks in latest @ 2022-12-29 23:40 Gavin via ntg-context 2022-12-30 9:33 ` Hans Hagen via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Gavin via ntg-context @ 2022-12-29 23:40 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Gavin Hi List, The TikZ related module “pgfplots” is causing a fatal error in the latest ConTeXt. Here is a MWE: \usemodule[tikz] \usemodule[pgfplots] % PGFPlots module for graphs \starttext \starttikzpicture \draw (0, 0) circle (3cm); \stoptikzpicture \stoptext Without loading the pgfplots module, this draws a circle. With the \usemodule[pgfplots] line, this has the error below before doing anything. I don’t know when this started happening, because I don’t use pgfplots often, but it was probably in the last couple months. Thanks for all the great updates! Gavin tex error > tex error on line 521 in file pgfplots.code.tex: Use of \pgfplots@command@to@string@@ doesn't match its definition <inserted text> m acro:colormap <argument> \pgfplots@colormap@catcodemagic <macro> \pgfplots@command@to@string #1#2->\expandafter \pgfplots@command@to@string@@ \meaning #1 \pgfplots@EOI {#2} <line 6.521> \pgfplots@command@to@string\pgfplots@colormap@catcodemagic\pgfplots@colormap@catcodemagic <empty file> If you say, e.g., '\def\a1{...}', then you must always put '1' after '\a', since control sequence names are made up of letters only. The macro here has not been followed by the required stuff, so I'm ignoring it. ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2022-12-29 23:40 pgfplots module wrecks in latest Gavin via ntg-context @ 2022-12-30 9:33 ` Hans Hagen via ntg-context 2023-01-16 2:21 ` Aditya Mahajan via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen via ntg-context @ 2022-12-30 9:33 UTC (permalink / raw) To: Gavin via ntg-context; +Cc: Hans Hagen On 12/30/2022 12:40 AM, Gavin via ntg-context wrote: > Hi List, > > The TikZ related module “pgfplots” is causing a fatal error in the latest ConTeXt. Here is a MWE: > > > \usemodule[tikz] > \usemodule[pgfplots] % PGFPlots module for graphs > > \starttext > > \starttikzpicture > \draw (0, 0) circle (3cm); > \stoptikzpicture > > \stoptext > > > Without loading the pgfplots module, this draws a circle. With the \usemodule[pgfplots] line, this has the error below before doing anything. > > I don’t know when this started happening, because I don’t use pgfplots often, but it was probably in the last couple months. > > Thanks for all the great updates! these extra modules have bad loaders ... i'll send you better ones to test 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2022-12-30 9:33 ` Hans Hagen via ntg-context @ 2023-01-16 2:21 ` Aditya Mahajan via ntg-context 2023-01-16 9:16 ` Hans Hagen via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-16 2:21 UTC (permalink / raw) To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan [-- Attachment #1: Type: text/plain, Size: 1593 bytes --] On Fri, 30 Dec 2022, Hans Hagen via ntg-context wrote: > On 12/30/2022 12:40 AM, Gavin via ntg-context wrote: > > Hi List, > > > > The TikZ related module “pgfplots” is causing a fatal error in the latest > > ConTeXt. Here is a MWE: > > > > > > \usemodule[tikz] > > \usemodule[pgfplots] % PGFPlots module for graphs > > > > \starttext > > > > \starttikzpicture > > \draw (0, 0) circle (3cm); > > \stoptikzpicture > > > > \stoptext > > > > > > Without loading the pgfplots module, this draws a circle. With the > > \usemodule[pgfplots] line, this has the error below before doing anything. > > > > I don’t know when this started happening, because I don’t use pgfplots > > often, but it was probably in the last couple months. > > > > Thanks for all the great updates! > these extra modules have bad loaders ... i'll send you better ones to test pgfplots still appears to be broken in LMTX: \usemodule[pgfplots] \starttext Hello \stoptext gives tex error > tex error on line 521 in file pgfplots.code.tex: Use of \pgfplots@command@to@string@@ doesn't match its definition <inserted text> m acro:colormap <argument> \pgfplots@colormap@catcodemagic <macro> \pgfplots@command@to@string #1#2->\expandafter \pgfplots@command@to@string@@ \meaning #1 \pgfplots@EOI {#2} <line 6.521> \pgfplots@command@to@string\pgfplots@colormap@catcodemagic\pgfplots@colormap@catcodemagic <empty file> @Hans, could you please send me the new loaders as well and I can test them. Thanks, Aditya [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 2:21 ` Aditya Mahajan via ntg-context @ 2023-01-16 9:16 ` Hans Hagen via ntg-context 2023-01-16 16:56 ` Aditya Mahajan via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen via ntg-context @ 2023-01-16 9:16 UTC (permalink / raw) To: Aditya Mahajan via ntg-context; +Cc: Hans Hagen On 1/16/2023 3:21 AM, Aditya Mahajan via ntg-context wrote: > On Fri, 30 Dec 2022, Hans Hagen via ntg-context wrote: > >> On 12/30/2022 12:40 AM, Gavin via ntg-context wrote: >>> Hi List, >>> >>> The TikZ related module “pgfplots” is causing a fatal error in the latest >>> ConTeXt. Here is a MWE: >>> >>> >>> \usemodule[tikz] >>> \usemodule[pgfplots] % PGFPlots module for graphs >>> >>> \starttext >>> >>> \starttikzpicture >>> \draw (0, 0) circle (3cm); >>> \stoptikzpicture >>> >>> \stoptext >>> >>> >>> Without loading the pgfplots module, this draws a circle. With the >>> \usemodule[pgfplots] line, this has the error below before doing anything. >>> >>> I don’t know when this started happening, because I don’t use pgfplots >>> often, but it was probably in the last couple months. >>> >>> Thanks for all the great updates! >> these extra modules have bad loaders ... i'll send you better ones to test > > pgfplots still appears to be broken in LMTX: > > \usemodule[pgfplots] > > \starttext > Hello > \stoptext > > gives > > tex error > tex error on line 521 in file pgfplots.code.tex: Use of \pgfplots@command@to@string@@ doesn't match its definition just load tikz first so that the right loader helpers are there \usemodule[tikz] \usemodule[pgfplots] \starttext Hello \stoptext seems to work here loaders are in the distribution (it makes no sense to have 2000 dedicated loader modules for all that tikz/pgf provides, ) 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 9:16 ` Hans Hagen via ntg-context @ 2023-01-16 16:56 ` Aditya Mahajan via ntg-context 2023-01-16 17:10 ` Henri Menke via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-16 16:56 UTC (permalink / raw) To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan, Henri Menke [-- Attachment #1: Type: text/plain, Size: 500 bytes --] On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > just load tikz first so that the right loader helpers are there > > \usemodule[tikz] > \usemodule[pgfplots] > > \starttext > Hello > \stoptext > > seems to work here I did a fresh install of context and downloaded the latest version of pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz: \usemodule[tikz] \starttext Hello \stoptext gives the attached log file. Not sure what changed on the tikz end. Thanks, Aditya [-- Attachment #2: Type: text/plain, Size: 6155 bytes --] system > system > ConTeXt ver: 2023.01.15 14:04 LMTX fmt: 2023.1.16 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/opt/luametatex/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 '/opt/luametatex/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 > 'tikz' is loaded open source > level 2, order 3, name '/opt/luametatex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 3, order 4, name 'pgfutil-common.tex' close source > level 3, order 4, name 'pgfutil-common.tex' open source > level 3, order 5, name 'pgfutil-context.def' close source > level 3, order 5, name 'pgfutil-context.def' open source > level 3, order 6, name 'pgfrcs.code.tex' open source > level 4, order 7, name 'pgf.revision.tex' close source > level 4, order 7, name 'pgf.revision.tex' close source > level 3, order 7, name 'pgfrcs.code.tex' open source > level 3, order 8, name 'pgfsys.code.tex' open source > level 4, order 9, name 'pgfkeys.code.tex' open source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source > level 4, order 10, name 'pgfkeys.code.tex' cld > stack > cld > stack > use : slot = context.functions.register(f) cld > stack > and : context.functions.unregister(slot) cld > stack > open source > level 4, order 11, name 'pgf.cfg' close source > level 4, order 11, name 'pgf.cfg' Driver file for pgf: pgfsys-luatex.def open source > level 4, order 12, name 'pgfsys-luatex.def' open source > level 5, order 13, name 'pgfsys-common-pdf.def' close source > level 5, order 13, name 'pgfsys-common-pdf.def' close source > level 4, order 13, name 'pgfsys-luatex.def' open source > level 4, order 14, name 'test.pgf' close source > level 4, order 14, name 'test.pgf' close source > level 3, order 14, name 'pgfsys.code.tex' open source > level 3, order 15, name 'pgfkeys.code.tex' close source > level 3, order 15, name 'pgfkeys.code.tex' open source > level 3, order 16, name 'pgfsyssoftpath.code.tex' close source > level 3, order 16, name 'pgfsyssoftpath.code.tex' open source > level 3, order 17, name 'pgfsysprotocol.code.tex' close source > level 3, order 17, name 'pgfsysprotocol.code.tex' open source > level 3, order 18, name 'pgfcore.code.tex' open source > level 4, order 19, name 'pgfmath.code.tex' open source > level 5, order 20, name 'pgfmathutil.code.tex' close source > level 5, order 20, name 'pgfmathutil.code.tex' open source > level 5, order 21, name 'pgfmathparser.code.tex' close source > level 5, order 21, name 'pgfmathparser.code.tex' open source > level 5, order 22, name 'pgfmathfunctions.code.tex' close source > level 5, order 22, name 'pgfmathfunctions.code.tex' open source > level 5, order 23, name 'pgfmathfunctions.basic.code.tex' close source > level 5, order 23, name 'pgfmathfunctions.basic.code.tex' open source > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex' close source > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex' open source > level 5, order 25, name 'pgfmathfunctions.random.code.tex' close source > level 5, order 25, name 'pgfmathfunctions.random.code.tex' open source > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex' close source > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex' open source > level 5, order 27, name 'pgfmathfunctions.base.code.tex' close source > level 5, order 27, name 'pgfmathfunctions.base.code.tex' open source > level 5, order 28, name 'pgfmathfunctions.round.code.tex' close source > level 5, order 28, name 'pgfmathfunctions.round.code.tex' open source > level 5, order 29, name 'pgfmathfunctions.misc.code.tex' close source > level 5, order 29, name 'pgfmathfunctions.misc.code.tex' open source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' close source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' open source > level 5, order 31, name 'pgfmathcalc.code.tex' close source > level 5, order 31, name 'pgfmathcalc.code.tex' open source > level 5, order 32, name 'pgfmathfloat.code.tex' close source > level 5, order 32, name 'pgfmathfloat.code.tex' close source > level 4, order 32, name 'pgfmath.code.tex' open source > level 4, order 33, name 'pgfint.code.tex' close source > level 4, order 33, name 'pgfint.code.tex' open source > level 4, order 34, name 'pgfcorepoints.code.tex' tex error > tex error on line 926 in file pgfcorepoints.code.tex: Missing control sequence inserted <inserted text> \inaccessible <to be read again> " <macro> \pgfsetzvec \catcode `\==12 \catcode `\,=12 \catcode `\|=12 \catcode `\&=12 \let " \pgfmath@char@quote <macro> \pgfsetzvec \begingroup \pgfmath@catcodes \pgfmath@quickparsefalse \ifpgfmathfloat \let \pgfmath@parse@next =\pgfmathfloatparsenumber \else \let \pgfmath@parse@next =\pgfmathparse@ \fi \pgfmath@parse@next <argument> \pgfmathparse {1cm}\ifpgfmathmathunitsdeclared \pgf@x \pgfmathresult mu\relax \else \pgf@x \pgfmathresult pt\relax \fi <macro> \pgfmath@next #1#2->#2 ... <line 7.926> \pgfsetxvec{\pgfpoint{1cm}{0cm}} <empty file> Please don't say '\def cs{...}', say '\def\cs{...}'. I've inserted an inaccessible control sequence so that your definition will be completed without mixing me up too badly. [-- Attachment #3: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 16:56 ` Aditya Mahajan via ntg-context @ 2023-01-16 17:10 ` Henri Menke via ntg-context 2023-01-16 17:23 ` Aditya Mahajan via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Henri Menke via ntg-context @ 2023-01-16 17:10 UTC (permalink / raw) To: Hans Hagen via ntg-context; +Cc: Henri Menke On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: > > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > just load tikz first so that the right loader helpers are there > > > > \usemodule[tikz] > > \usemodule[pgfplots] > > > > \starttext > > Hello > > \stoptext > > > > seems to work here > > I did a fresh install of context and downloaded the latest version of > pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz: > > \usemodule[tikz] > > \starttext > Hello > \stoptext > > gives the attached log file. Not sure what changed on the tikz end. That's most likely due to https://github.com/pgf-tikz/pgf/issues/1062 https://github.com/pgf-tikz/pgf/pull/1073 but this MWE \catcode`\@=11 \begingroup \lccode`\~=`\" \lowercase{\endgroup \def\pgfmath@catcodes{% \catcode`\==12 % \catcode`\,=12 % \catcode`\|=12 % \catcode`\&=12 % \let~\pgfmath@char@quote }}% {\pgfmath@catcodes "} \bye works in Knuth TeX, so it's likely not our fault. Cheers, Henri > > Thanks, > Aditya > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 17:10 ` Henri Menke via ntg-context @ 2023-01-16 17:23 ` Aditya Mahajan via ntg-context 2023-01-16 17:35 ` Hans Hagen via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-16 17:23 UTC (permalink / raw) To: Henri Menke via ntg-context; +Cc: Aditya Mahajan On Mon, 16 Jan 2023, Henri Menke via ntg-context wrote: > On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: > > > > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > > > just load tikz first so that the right loader helpers are there > > > > > > \usemodule[tikz] > > > \usemodule[pgfplots] > > > > > > \starttext > > > Hello > > > \stoptext > > > > > > seems to work here > > > > I did a fresh install of context and downloaded the latest version of > > pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz: > > > > \usemodule[tikz] > > > > \starttext > > Hello > > \stoptext > > > > gives the attached log file. Not sure what changed on the tikz end. > > That's most likely due to > > https://github.com/pgf-tikz/pgf/issues/1062 > https://github.com/pgf-tikz/pgf/pull/1073 > > but this MWE > > \catcode`\@=11 > > \begingroup > \lccode`\~=`\" > \lowercase{\endgroup > \def\pgfmath@catcodes{% > \catcode`\==12 % > \catcode`\,=12 % > \catcode`\|=12 % > \catcode`\&=12 % > \let~\pgfmath@char@quote > }}% > > {\pgfmath@catcodes "} > > \bye > > works in Knuth TeX, so it's likely not our fault. I haven't looked pgf core in a while, but does it make sense to just redefine all the catcode jugglery in pgf as a catcodetable in m-tikz.mkxl? Thanks, Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 17:23 ` Aditya Mahajan via ntg-context @ 2023-01-16 17:35 ` Hans Hagen via ntg-context 2023-01-17 4:39 ` Aditya Mahajan via ntg-context 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen via ntg-context @ 2023-01-16 17:35 UTC (permalink / raw) To: Aditya Mahajan via ntg-context; +Cc: Hans Hagen On 1/16/2023 6:23 PM, Aditya Mahajan via ntg-context wrote: > On Mon, 16 Jan 2023, Henri Menke via ntg-context wrote: > >> On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: >>> >>> On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: >>> >>>> just load tikz first so that the right loader helpers are there >>>> >>>> \usemodule[tikz] >>>> \usemodule[pgfplots] >>>> >>>> \starttext >>>> Hello >>>> \stoptext >>>> >>>> seems to work here >>> >>> I did a fresh install of context and downloaded the latest version of >>> pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz: >>> >>> \usemodule[tikz] >>> >>> \starttext >>> Hello >>> \stoptext >>> >>> gives the attached log file. Not sure what changed on the tikz end. >> >> That's most likely due to >> >> https://github.com/pgf-tikz/pgf/issues/1062 >> https://github.com/pgf-tikz/pgf/pull/1073 >> >> but this MWE >> >> \catcode`\@=11 >> >> \begingroup >> \lccode`\~=`\" >> \lowercase{\endgroup >> \def\pgfmath@catcodes{% >> \catcode`\==12 % >> \catcode`\,=12 % >> \catcode`\|=12 % >> \catcode`\&=12 % >> \let~\pgfmath@char@quote >> }}% >> >> {\pgfmath@catcodes "} >> >> \bye >> >> works in Knuth TeX, so it's likely not our fault. So what's with the double quote ... > I haven't looked pgf core in a while, but does it make sense to just redefine all the catcode jugglery in pgf as a catcodetable in m-tikz.mkxl? there is no gain in that as it is basically a tex catcode regime with a few differences; if you look in m-mkxl it's more some other things that can clash (they use some \meaning stuff and we need to temporary disable overload mode and disable some neat new features and such) make sure to get rid of the t-tikz modules 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-16 17:35 ` Hans Hagen via ntg-context @ 2023-01-17 4:39 ` Aditya Mahajan via ntg-context 2023-01-18 6:29 ` Aditya Mahajan via ntg-context 2023-01-25 4:27 ` Aditya Mahajan via ntg-context 0 siblings, 2 replies; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-17 4:39 UTC (permalink / raw) To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan [-- Attachment #1: Type: text/plain, Size: 447 bytes --] On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > make sure to get rid of the t-tikz modules Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are unzipped but still get the following error on a simple hello world example: \usemodule[tikz] \starttext Hello \stoptext gives the attached log. Does the latest pgf/tikz run at your end? Aditya [-- Attachment #2: Type: text/plain, Size: 6214 bytes --] job > passes > version mismatch: 1.32 <> 1.33 system > system > ConTeXt ver: 2023.01.15 14:04 LMTX fmt: 2023.1.16 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/opt/luametatex/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 '/opt/luametatex/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 > 'tikz' is loaded open source > level 2, order 3, name '/opt/luametatex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 3, order 4, name 'pgfutil-common.tex' close source > level 3, order 4, name 'pgfutil-common.tex' open source > level 3, order 5, name 'pgfutil-context.def' close source > level 3, order 5, name 'pgfutil-context.def' open source > level 3, order 6, name 'pgfrcs.code.tex' open source > level 4, order 7, name 'pgf.revision.tex' close source > level 4, order 7, name 'pgf.revision.tex' close source > level 3, order 7, name 'pgfrcs.code.tex' open source > level 3, order 8, name 'pgfsys.code.tex' open source > level 4, order 9, name 'pgfkeys.code.tex' open source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source > level 4, order 10, name 'pgfkeys.code.tex' cld > stack > cld > stack > use : slot = context.functions.register(f) cld > stack > and : context.functions.unregister(slot) cld > stack > open source > level 4, order 11, name 'pgf.cfg' close source > level 4, order 11, name 'pgf.cfg' Driver file for pgf: pgfsys-luatex.def open source > level 4, order 12, name 'pgfsys-luatex.def' open source > level 5, order 13, name 'pgfsys-common-pdf.def' close source > level 5, order 13, name 'pgfsys-common-pdf.def' close source > level 4, order 13, name 'pgfsys-luatex.def' open source > level 4, order 14, name 'test.pgf' close source > level 4, order 14, name 'test.pgf' close source > level 3, order 14, name 'pgfsys.code.tex' open source > level 3, order 15, name 'pgfkeys.code.tex' close source > level 3, order 15, name 'pgfkeys.code.tex' open source > level 3, order 16, name 'pgfsyssoftpath.code.tex' close source > level 3, order 16, name 'pgfsyssoftpath.code.tex' open source > level 3, order 17, name 'pgfsysprotocol.code.tex' close source > level 3, order 17, name 'pgfsysprotocol.code.tex' open source > level 3, order 18, name 'pgfcore.code.tex' open source > level 4, order 19, name 'pgfmath.code.tex' open source > level 5, order 20, name 'pgfmathutil.code.tex' close source > level 5, order 20, name 'pgfmathutil.code.tex' open source > level 5, order 21, name 'pgfmathparser.code.tex' close source > level 5, order 21, name 'pgfmathparser.code.tex' open source > level 5, order 22, name 'pgfmathfunctions.code.tex' close source > level 5, order 22, name 'pgfmathfunctions.code.tex' open source > level 5, order 23, name 'pgfmathfunctions.basic.code.tex' close source > level 5, order 23, name 'pgfmathfunctions.basic.code.tex' open source > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex' close source > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex' open source > level 5, order 25, name 'pgfmathfunctions.random.code.tex' close source > level 5, order 25, name 'pgfmathfunctions.random.code.tex' open source > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex' close source > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex' open source > level 5, order 27, name 'pgfmathfunctions.base.code.tex' close source > level 5, order 27, name 'pgfmathfunctions.base.code.tex' open source > level 5, order 28, name 'pgfmathfunctions.round.code.tex' close source > level 5, order 28, name 'pgfmathfunctions.round.code.tex' open source > level 5, order 29, name 'pgfmathfunctions.misc.code.tex' close source > level 5, order 29, name 'pgfmathfunctions.misc.code.tex' open source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' close source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' open source > level 5, order 31, name 'pgfmathcalc.code.tex' close source > level 5, order 31, name 'pgfmathcalc.code.tex' open source > level 5, order 32, name 'pgfmathfloat.code.tex' close source > level 5, order 32, name 'pgfmathfloat.code.tex' close source > level 4, order 32, name 'pgfmath.code.tex' open source > level 4, order 33, name 'pgfint.code.tex' close source > level 4, order 33, name 'pgfint.code.tex' open source > level 4, order 34, name 'pgfcorepoints.code.tex' tex error > tex error on line 926 in file pgfcorepoints.code.tex: Missing control sequence inserted <inserted text> \inaccessible <to be read again> " <macro> \pgfsetzvec \catcode `\==12 \catcode `\,=12 \catcode `\|=12 \catcode `\&=12 \let " \pgfmath@char@quote <macro> \pgfsetzvec \begingroup \pgfmath@catcodes \pgfmath@quickparsefalse \ifpgfmathfloat \let \pgfmath@parse@next =\pgfmathfloatparsenumber \else \let \pgfmath@parse@next =\pgfmathparse@ \fi \pgfmath@parse@next <argument> \pgfmathparse {1cm}\ifpgfmathmathunitsdeclared \pgf@x \pgfmathresult mu\relax \else \pgf@x \pgfmathresult pt\relax \fi <macro> \pgfmath@next #1#2->#2 ... <line 7.926> \pgfsetxvec{\pgfpoint{1cm}{0cm}} <empty file> Please don't say '\def cs{...}', say '\def\cs{...}'. I've inserted an inaccessible control sequence so that your definition will be completed without mixing me up too badly. [-- Attachment #3: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-17 4:39 ` Aditya Mahajan via ntg-context @ 2023-01-18 6:29 ` Aditya Mahajan via ntg-context 2023-01-25 4:27 ` Aditya Mahajan via ntg-context 1 sibling, 0 replies; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-18 6:29 UTC (permalink / raw) To: Aditya Mahajan via ntg-context; +Cc: Aditya Mahajan On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote: > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > make sure to get rid of the t-tikz modules > > Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are unzipped but still get the following error on a simple hello world example: > > \usemodule[tikz] > > \starttext > Hello > \stoptext > > gives the attached log. In case anyone else needs a temp workaround until this is resolved: \usemodule[filter] \startbuffer[tikz-start] \usemodule[tikz] % Add font setup % Add tikz setup \starttext \startTEXpage \starttikzpicture \stopbuffer \startbuffer[tikz-stop] \stoptikzpicture \stopTEXpage \stoptext \stopbuffer \defineexternalfilter [tikzpicture] [ filter=context --luatex --once, cache=yes, output=\externalfilterbasefile.pdf, readcommand=\IncludeTikzPicture, bufferbefore=tikz-start, bufferafter=tikz-stop, ] \define[1]\IncludeTikzPicture{\externalfigure[#1]} \starttext Hello \starttikzpicture \draw (0,0) -- (1,1); \stoptikzpicture \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pgfplots module wrecks in latest 2023-01-17 4:39 ` Aditya Mahajan via ntg-context 2023-01-18 6:29 ` Aditya Mahajan via ntg-context @ 2023-01-25 4:27 ` Aditya Mahajan via ntg-context 1 sibling, 0 replies; 11+ messages in thread From: Aditya Mahajan via ntg-context @ 2023-01-25 4:27 UTC (permalink / raw) To: Aditya Mahajan via ntg-context; +Cc: Aditya Mahajan On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote: > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > make sure to get rid of the t-tikz modules > > Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are unzipped but still get the following error on a simple hello world example: > > \usemodule[tikz] > > \starttext > Hello > \stoptext > > gives the attached log. FWIW, the above example also fails on 2023.01.24 (with latest tikz from CTAN), with the same error message as in the last log. Could someone else please confirm if that is the case to rule out a misconfiguration/bug in my local install. Thanks, Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-01-25 4:27 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-12-29 23:40 pgfplots module wrecks in latest Gavin via ntg-context 2022-12-30 9:33 ` Hans Hagen via ntg-context 2023-01-16 2:21 ` Aditya Mahajan via ntg-context 2023-01-16 9:16 ` Hans Hagen via ntg-context 2023-01-16 16:56 ` Aditya Mahajan via ntg-context 2023-01-16 17:10 ` Henri Menke via ntg-context 2023-01-16 17:23 ` Aditya Mahajan via ntg-context 2023-01-16 17:35 ` Hans Hagen via ntg-context 2023-01-17 4:39 ` Aditya Mahajan via ntg-context 2023-01-18 6:29 ` Aditya Mahajan via ntg-context 2023-01-25 4:27 ` Aditya Mahajan via ntg-context
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).