ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pgfplots module needs update from December
@ 2021-08-21  4:05 Gavin via ntg-context
  2021-08-21 11:26 ` Mojca Miklavec via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-21  4:05 UTC (permalink / raw)
  To: Gavin via ntg-context; +Cc: Gavin

Hello list,

The module pgfplots has a bug that produces an error for polar plots, and perhaps in other situations.

tex error       > tex error on line 20 in file ./chapter02-t-b-728d71c9823ff6bed735c6d6e1758718.tmp: Undefined control sequence

<macro> \pgfplots@environment@polaraxis@ [#1]->\begin 
    {axis}[#1,data cs=polar,axis type=polar]
<line 3.20>  ]

This bug was described and fixed on the pgfplots GitHub repository in December (https://github.com/pgf-tikz/pgfplots/pull/382). I fixed the bug on my personal installation, but when I update the modules using the wiki instructions, the bug returns. In the LMTX installation, the file requiring the fix is:

	context-osx-64/tex/texmf-modules/generic/pgfplots/pgfplots.code.tex

The fix is:

	Line 7928: change “\begin{axis}" to “\axis”
	Line 7934: change “\end{axis}" to “\endaxis”

Is there anything I can do to aid in getting this fixed in the distribution?

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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-21  4:05 pgfplots module needs update from December Gavin via ntg-context
@ 2021-08-21 11:26 ` Mojca Miklavec via ntg-context
  2021-08-21 12:02   ` Hans Hagen via ntg-context
  2021-08-22 12:25   ` Gavin via ntg-context
  0 siblings, 2 replies; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-21 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

Dear Gavin,

On Sat, 21 Aug 2021 at 06:05, Gavin via ntg-context wrote:
>
> The module pgfplots has a bug that produces an error for polar plots, and perhaps in other situations.
>
> Is there anything I can do to aid in getting this fixed in the distribution?

Can you please try updating and checking again (at least with the
"legacy installer", I'm not sure how Hans handles the modules for
lmtx)?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-21 11:26 ` Mojca Miklavec via ntg-context
@ 2021-08-21 12:02   ` Hans Hagen via ntg-context
  2021-08-22 12:25   ` Gavin via ntg-context
  1 sibling, 0 replies; 18+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-21 12:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Mojca Miklavec

On 8/21/2021 1:26 PM, Mojca Miklavec via ntg-context wrote:
> Dear Gavin,
> 
> On Sat, 21 Aug 2021 at 06:05, Gavin via ntg-context wrote:
>>
>> The module pgfplots has a bug that produces an error for polar plots, and perhaps in other situations.
>>
>> Is there anything I can do to aid in getting this fixed in the distribution?
> 
> Can you please try updating and checking again (at least with the
> "legacy installer", I'm not sure how Hans handles the modules for
> lmtx)?
I don't because then I need to have them on my system and I'm too lazy 
to update ... of course I do sync with the garden when I do a normal 
update so I guess that normally I have an okay tikz (as I don't use it, 
apart from a few tests in the suite, I depend on users to report issues.)

(Users can just symlink an lmtx module tree to the 'legacy' mkiv modules 
tree.)

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 / 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-21 11:26 ` Mojca Miklavec via ntg-context
  2021-08-21 12:02   ` Hans Hagen via ntg-context
@ 2021-08-22 12:25   ` Gavin via ntg-context
  2021-08-22 13:20     ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 12:25 UTC (permalink / raw)
  To: Gavin via ntg-context; +Cc: Gavin

Hi Mojca,

(I mistakenly sent this only to Mojca. I’m sending again to the group.)

>> Is there anything I can do to aid in getting this fixed in the distribution?
> 
> Can you please try updating and checking again (at least with the
> "legacy installer", I'm not sure how Hans handles the modules for
> lmtx)?

I just installed again and now pgfplots doesn’t work at all. Before it didn’t work just for polar plots. The new error is 

tex error       > tex error on line 48 in file /Users/Gavin/context-osx-64/tex/texmf-modules/tex/generic/pgfplots/pgfplots.code.tex: ! I can't find file `pgflibrarypgfplots.contourlua.code.tex'.

The instructions I followed from the garden are below.

- Gavin


> # Synchronize all modules from the ConTeXt Garden in the directory 'modules' which is created if it doesn't exist.
> 
> rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ modules
> 
> # Create the union of all modules in tex/texmf-modules (the directory is created if it doesn't exist).
> # If you have personal modules in tex/texmf-modules, they won't be modified.
> 
> rsync -rlt --exclude=/VERSION --del modules/*/ tex/texmf-modules
> 
> # You may delete the 'module's directory to reclaim some space or keep it to speed up the next update.
> # rm -rf modules
> 
> # Update the ConTeXt LMTX distribution. Alternatively, if you do not
> # want to do that, you have to run mtxrun --generate.
> 
> sh ./install.sh
___________________________________________________________________________________
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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 12:25   ` Gavin via ntg-context
@ 2021-08-22 13:20     ` Hans Hagen via ntg-context
  2021-08-22 13:42       ` Gavin via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-22 13:20 UTC (permalink / raw)
  To: Gavin via ntg-context; +Cc: Hans Hagen

On 8/22/2021 2:25 PM, Gavin via ntg-context wrote:
> Hi Mojca,
> 
> (I mistakenly sent this only to Mojca. I’m sending again to the group.)
> 
>>> Is there anything I can do to aid in getting this fixed in the distribution?
>>
>> Can you please try updating and checking again (at least with the
>> "legacy installer", I'm not sure how Hans handles the modules for
>> lmtx)?
> 
> I just installed again and now pgfplots doesn’t work at all. Before it didn’t work just for polar plots. The new error is
you haven't post the tex code that fails so no one can check it

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 / 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 13:20     ` Hans Hagen via ntg-context
@ 2021-08-22 13:42       ` Gavin via ntg-context
  2021-08-22 14:13         ` Hans Hagen via ntg-context
  2021-08-22 14:44         ` Mojca Miklavec via ntg-context
  0 siblings, 2 replies; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Gavin

> On Aug 22, 2021, at 7:20 AM, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
> 
> On 8/22/2021 2:25 PM, Gavin via ntg-context wrote:
>> Hi Mojca,
>> (I mistakenly sent this only to Mojca. I’m sending again to the group.)
>>>> Is there anything I can do to aid in getting this fixed in the distribution?
>>> 
>>> Can you please try updating and checking again (at least with the
>>> "legacy installer", I'm not sure how Hans handles the modules for
>>> lmtx)?
>> I just installed again and now pgfplots doesn’t work at all. Before it didn’t work just for polar plots. The new error is
> you haven't post the tex code that fails so no one can check it
> 
> Hans

usemodule[tikz]
\usemodule[pgfplots]
\usetikzlibrary[pgfplots.polar]

\startTEXpage
  \starttikzpicture
    \startpolaraxis
      \addplot coordinates {(0,1) (90,1)
        (180,1) (270,1)};
    \stoppolaraxis
  \stoptikzpicture
\stopTEXpage
___________________________________________________________________________________
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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 13:42       ` Gavin via ntg-context
@ 2021-08-22 14:13         ` Hans Hagen via ntg-context
  2021-08-22 14:32           ` Gavin via ntg-context
  2021-08-22 14:44         ` Mojca Miklavec via ntg-context
  1 sibling, 1 reply; 18+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-22 14:13 UTC (permalink / raw)
  To: Gavin, mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/22/2021 3:42 PM, Gavin wrote:
>> On Aug 22, 2021, at 7:20 AM, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> On 8/22/2021 2:25 PM, Gavin via ntg-context wrote:
>>> Hi Mojca,
>>> (I mistakenly sent this only to Mojca. I’m sending again to the group.)
>>>>> Is there anything I can do to aid in getting this fixed in the distribution?
>>>>
>>>> Can you please try updating and checking again (at least with the
>>>> "legacy installer", I'm not sure how Hans handles the modules for
>>>> lmtx)?
>>> I just installed again and now pgfplots doesn’t work at all. Before it didn’t work just for polar plots. The new error is
>> you haven't post the tex code that fails so no one can check it
>>
>> Hans
> 
> usemodule[tikz]
> \usemodule[pgfplots]
> \usetikzlibrary[pgfplots.polar]
> 
> \startTEXpage
>    \starttikzpicture
>      \startpolaraxis
>        \addplot coordinates {(0,1) (90,1)
>          (180,1) (270,1)};
>      \stoppolaraxis
>    \stoptikzpicture
> \stopTEXpage
even when you say

\def\begin#1{\csname begin#1\endcsname}

to get around the first hurdle it fails because \addplot is not defined

i can't grep it in the tikz module tree either but there are files with 
'plot' in it, so maybe you need to install more or maybe the commands / 
interfaces changed

(if it keeps failing on you, you can always try to use metapost instead)

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 / 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 14:13         ` Hans Hagen via ntg-context
@ 2021-08-22 14:32           ` Gavin via ntg-context
  2021-08-22 16:13             ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 14:32 UTC (permalink / raw)
  To: Hans Hagen; +Cc: Gavin, mailing list for ConTeXt users

> On Aug 22, 2021, at 8:13 AM, Hans Hagen <j.hagen@xs4all.nl> wrote:
>> 
>>> you haven't post the tex code that fails so no one can check it
>>> 
>>> Hans
>> usemodule[tikz]
>> \usemodule[pgfplots]
>> \usetikzlibrary[pgfplots.polar]
>> \startTEXpage
>>   \starttikzpicture
>>     \startpolaraxis
>>       \addplot coordinates {(0,1) (90,1)
>>         (180,1) (270,1)};
>>     \stoppolaraxis
>>   \stoptikzpicture
>> \stopTEXpage
> even when you say
> 
> \def\begin#1{\csname begin#1\endcsname}
> 
> to get around the first hurdle it fails because \addplot is not defined
> 
> i can't grep it in the tikz module tree either but there are files with 'plot' in it, so maybe you need to install more or maybe the commands / interfaces changed
> 
> (if it keeps failing on you, you can always try to use metapost instead)
> 
> Hans

Hi Hans,

It doesn’t keep failing for me because the fix is well documented, so I fixed it on my machine. I am just imagining that it might be nice to put that fix in the modules that people download. For example, a teacher wants to help me test my book, so he followed the instructions on the wiki to instal ConTeXt (LMTX) and the modules (https://wiki.contextgarden.net/Modules). Then he had to go in and change two commands the file:

	context-osx-64/tex/texmf-modules/generic/pgfplots/pgfplots.code.tex

The changes are:

	Line 7928: change “\begin{axis}" to “\axis”
	Line 7934: change “\end{axis}" to “\endaxis”

Then everything is great.

I don't know where the modules live and how they are maintained, but if this fix could be put into those modules before people download them, that would be helpful as I add more collaborators.

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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 13:42       ` Gavin via ntg-context
  2021-08-22 14:13         ` Hans Hagen via ntg-context
@ 2021-08-22 14:44         ` Mojca Miklavec via ntg-context
  2021-08-22 15:45           ` Gavin via ntg-context
  1 sibling, 1 reply; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-22 14:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On Sun, 22 Aug 2021 at 15:43, Gavin via ntg-context wrote:
>
> usemodule[tikz]
> \usemodule[pgfplots]
> \usetikzlibrary[pgfplots.polar]
>
> \startTEXpage
>   \starttikzpicture
>     \startpolaraxis
>       \addplot coordinates {(0,1) (90,1)
>         (180,1) (270,1)};
>     \stoppolaraxis
>   \stoptikzpicture
> \stopTEXpage

I tried a fresh installation of both MKIV and LMTX and both seem to
work fine for me, so sadly I cannot reproduce the problem.
(The files comes from rsync, from the same folder as shown here:
https://distribution.contextgarden.net/current/modules/t-tikz/)

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 14:44         ` Mojca Miklavec via ntg-context
@ 2021-08-22 15:45           ` Gavin via ntg-context
  2021-08-22 16:00             ` Mojca Miklavec via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 15:45 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: Gavin, mailing list for ConTeXt users

> On Aug 22, 2021, at 8:44 AM, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> 
> I tried a fresh installation of both MKIV and LMTX and both seem to
> work fine for me, so sadly I cannot reproduce the problem.
> (The files comes from rsync, from the same folder as shown here:
> https://distribution.contextgarden.net/current/modules/t-tikz/)
> 
> Mojca

The instructions we followed for installing the modules are at

	https://wiki.contextgarden.net/Modules#ConTeXt_LMTX

These instructions include the line

	rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ modules

This does not seem to produce the same files as the distribution.contextgarden.net address that you provided. Should we be following different installation instructions?

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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 15:45           ` Gavin via ntg-context
@ 2021-08-22 16:00             ` Mojca Miklavec via ntg-context
  0 siblings, 0 replies; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-22 16:00 UTC (permalink / raw)
  To: Gavin; +Cc: Mojca Miklavec, mailing list for ConTeXt users

On Sun, 22 Aug 2021 at 17:46, Gavin <gavinpublic@comcast.net> wrote:
>
> The instructions we followed for installing the modules are at
>
>         https://wiki.contextgarden.net/Modules#ConTeXt_LMTX
>
> These instructions include the line
>
>         rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ modules
>
> This does not seem to produce the same files as the distribution.contextgarden.net address that you provided.

What's the main difference?
(Sure, you get all of the modules, not just TikZ. I somewhat suspect
that old files don't get deleted, so you may also end up with some old
files with the same name taking precedence and breaking the
functionality.)

> Should we be following different installation instructions?

I didn't test them, but the instructions seem more or less correct.

If you only need tikz (or just for testing with a fresh installation),
you could test with something similar to
    rsync -av --delete
rsync://contextgarden.net/minimals/current/modules/t-tikz/
path-to/texmf-modules/

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 14:32           ` Gavin via ntg-context
@ 2021-08-22 16:13             ` Hans Hagen via ntg-context
  2021-08-22 16:27               ` Mojca Miklavec via ntg-context
  2021-08-22 16:30               ` Gavin via ntg-context
  0 siblings, 2 replies; 18+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-22 16:13 UTC (permalink / raw)
  To: Gavin; +Cc: Hans Hagen, mailing list for ConTeXt users

On 8/22/2021 4:32 PM, Gavin wrote:
>> On Aug 22, 2021, at 8:13 AM, Hans Hagen <j.hagen@xs4all.nl> wrote:
>>>
>>>> you haven't post the tex code that fails so no one can check it
>>>>
>>>> Hans
>>> usemodule[tikz]
>>> \usemodule[pgfplots]
>>> \usetikzlibrary[pgfplots.polar]
>>> \startTEXpage
>>>    \starttikzpicture
>>>      \startpolaraxis
>>>        \addplot coordinates {(0,1) (90,1)
>>>          (180,1) (270,1)};
>>>      \stoppolaraxis
>>>    \stoptikzpicture
>>> \stopTEXpage
>> even when you say
>>
>> \def\begin#1{\csname begin#1\endcsname}
>>
>> to get around the first hurdle it fails because \addplot is not defined
>>
>> i can't grep it in the tikz module tree either but there are files with 'plot' in it, so maybe you need to install more or maybe the commands / interfaces changed
>>
>> (if it keeps failing on you, you can always try to use metapost instead)
>>
>> Hans
> 
> Hi Hans,
> 
> It doesn’t keep failing for me because the fix is well documented, so I fixed it on my machine. I am just imagining that it might be nice to put that fix in the modules that people download. For example, a teacher wants to help me test my book, so he followed the instructions on the wiki to instal ConTeXt (LMTX) and the modules (https://wiki.contextgarden.net/Modules). Then he had to go in and change two commands the file:
> 
> 	context-osx-64/tex/texmf-modules/generic/pgfplots/pgfplots.code.tex
> 
> The changes are:
> 
> 	Line 7928: change “\begin{axis}" to “\axis”
> 	Line 7934: change “\end{axis}" to “\endaxis”
> 
> Then everything is great.
> 
> I don't know where the modules live and how they are maintained, but if this fix could be put into those modules before people download them, that would be helpful as I add more collaborators.
it makes no sense to mojca to fix modules that come from elsewhere 
because a next time it might be different so when tikz is not updated on 
ctan (where it's fetched from) it's not an official fix

(a well documented tikz fix that doesn't go into tikz is not really a 
fix, is it?)

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 / 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 16:13             ` Hans Hagen via ntg-context
@ 2021-08-22 16:27               ` Mojca Miklavec via ntg-context
  2021-08-22 17:32                 ` Gavin via ntg-context
  2021-08-22 16:30               ` Gavin via ntg-context
  1 sibling, 1 reply; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-22 16:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec


[-- Attachment #1.1: Type: text/plain, Size: 497 bytes --]

V ned., 22. avg. 2021 18:13 je oseba Hans Hagen via ntg-context <
ntg-context@ntg.nl> napisala:

>
> it makes no sense to mojca to fix modules that come from elsewhere
> because a next time it might be different so when tikz is not updated on
> ctan (where it's fetched from) it's not an official fix
>

I didn't have to fix anything in the code, but the git repository was
moved, so the module wasn't kept up to date for a while. I just updated the
URL for fetching the latest sources.

Mojca

>

[-- Attachment #1.2: Type: text/html, Size: 1055 bytes --]

[-- Attachment #2: 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 16:13             ` Hans Hagen via ntg-context
  2021-08-22 16:27               ` Mojca Miklavec via ntg-context
@ 2021-08-22 16:30               ` Gavin via ntg-context
  2021-08-22 16:57                 ` Mojca Miklavec via ntg-context
  1 sibling, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 16:30 UTC (permalink / raw)
  To: Hans Hagen; +Cc: Gavin, mailing list for ConTeXt users

>> Hi Hans,
>> It doesn’t keep failing for me because the fix is well documented, so I fixed it on my machine. I am just imagining that it might be nice to put that fix in the modules that people download. For example, a teacher wants to help me test my book, so he followed the instructions on the wiki to instal ConTeXt (LMTX) and the modules (https://wiki.contextgarden.net/Modules). Then he had to go in and change two commands the file:
>> 	context-osx-64/tex/texmf-modules/generic/pgfplots/pgfplots.code.tex
>> The changes are:
>> 	Line 7928: change “\begin{axis}" to “\axis”
>> 	Line 7934: change “\end{axis}" to “\endaxis”
>> Then everything is great.
>> I don't know where the modules live and how they are maintained, but if this fix could be put into those modules before people download them, that would be helpful as I add more collaborators.
> it makes no sense to mojca to fix modules that come from elsewhere because a next time it might be different so when tikz is not updated on ctan (where it's fetched from) it's not an official fix
> 
> (a well documented tikz fix that doesn't go into tikz is not really a fix, is it?)
> 
> Hans

TikZ is fixed on ctan (based on the fixed version in my TeXLive distribution). Mojca has directed me to a fixed version at distribution.contextgarden.net. I’m trying to figure out why my collaborator and I did not get that fixed version when we followed the instructions at https://wiki.contextgarden.net/Modules#ConTeXt_LMTX. I’ll keep working on it.

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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 16:30               ` Gavin via ntg-context
@ 2021-08-22 16:57                 ` Mojca Miklavec via ntg-context
  0 siblings, 0 replies; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-22 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec


[-- Attachment #1.1: Type: text/plain, Size: 88 bytes --]

I used the latest commit from the git repository rather than the latest
release.

Mojcs

[-- Attachment #1.2: Type: text/html, Size: 156 bytes --]

[-- Attachment #2: 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 16:27               ` Mojca Miklavec via ntg-context
@ 2021-08-22 17:32                 ` Gavin via ntg-context
  2021-08-22 17:36                   ` Mojca Miklavec via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 17:32 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: Gavin, mailing list for ConTeXt users

On Aug 22, 2021, at 10:27 AM, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> 
> I didn't have to fix anything in the code, but the git repository was moved, so the module wasn't kept up to date for a while. I just updated the URL for fetching the latest sources.
> 
> Mojca

Thanks for making that fix.

I am not sure what my next step should be. Should I wait a day for the system to do its fetching thing and then try the same instructions I followed before (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX)?

I know very little about these rsync commands. I’m just cutting-and-pasting into my command line.

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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 17:32                 ` Gavin via ntg-context
@ 2021-08-22 17:36                   ` Mojca Miklavec via ntg-context
  2021-08-22 21:19                     ` Gavin via ntg-context
  0 siblings, 1 reply; 18+ messages in thread
From: Mojca Miklavec via ntg-context @ 2021-08-22 17:36 UTC (permalink / raw)
  To: Gavin; +Cc: Mojca Miklavec, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 573 bytes --]

V ned., 22. avg. 2021 19:32 je oseba Gavin <gavinpublic@comcast.net>
napisala:

>
> I am not sure what my next step should be. Should I wait a day for the
> system to do its fetching thing and then try the same instructions I
> followed before (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX)?
>
> I know very little about these rsync commands. I’m just
> cutting-and-pasting into my command line.
>

Waiting won't help. Can you perhaps send full output of comping the sample
that you posted earlier? What OS and architecture do you use?

Mojca

>

[-- Attachment #1.2: Type: text/html, Size: 1199 bytes --]

[-- Attachment #2: 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] 18+ messages in thread

* Re: pgfplots module needs update from December
  2021-08-22 17:36                   ` Mojca Miklavec via ntg-context
@ 2021-08-22 21:19                     ` Gavin via ntg-context
  0 siblings, 0 replies; 18+ messages in thread
From: Gavin via ntg-context @ 2021-08-22 21:19 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: Gavin, mailing list for ConTeXt users

> V ned., 22. avg. 2021 19:32 je oseba Gavin <gavinpublic@comcast.net> napisala:
> 
>> I am not sure what my next step should be. Should I wait a day for the system to do its fetching thing and then try the same instructions I followed before (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX)?
>> 
>> I know very little about these rsync commands. I’m just cutting-and-pasting into my command line.
>> 
> Waiting won't help. Can you perhaps send full output of comping the sample that you posted earlier? What OS and architecture do you use?
> 
> Mojca

Right now, my documents are all working fine (since I fixed my module). I don’t have a full output with the error. I’m using MacOS X86.

It seems likely that I am the only person in the world who is working on a TikZ polar plot in a ConTeXt document right now. Since you found and fixed one potential source of the problem, and I’m currently functioning fine, I think I’ll set this aside for now and get some work done. When I have a little more time, I will try updating the modules again and compare the files to the current version of TikZ. Then, if everything is great, I’ll let you know. If anything is wrong, I’ll get the full logs and MWE and all that.

In the meantime, if you have some specific update procedure you would like me to test, I’d be happy to do that. Just let me know what commands you want me to run.

Thanks for all your help!
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] 18+ messages in thread

end of thread, other threads:[~2021-08-22 21:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21  4:05 pgfplots module needs update from December Gavin via ntg-context
2021-08-21 11:26 ` Mojca Miklavec via ntg-context
2021-08-21 12:02   ` Hans Hagen via ntg-context
2021-08-22 12:25   ` Gavin via ntg-context
2021-08-22 13:20     ` Hans Hagen via ntg-context
2021-08-22 13:42       ` Gavin via ntg-context
2021-08-22 14:13         ` Hans Hagen via ntg-context
2021-08-22 14:32           ` Gavin via ntg-context
2021-08-22 16:13             ` Hans Hagen via ntg-context
2021-08-22 16:27               ` Mojca Miklavec via ntg-context
2021-08-22 17:32                 ` Gavin via ntg-context
2021-08-22 17:36                   ` Mojca Miklavec via ntg-context
2021-08-22 21:19                     ` Gavin via ntg-context
2021-08-22 16:30               ` Gavin via ntg-context
2021-08-22 16:57                 ` Mojca Miklavec via ntg-context
2021-08-22 14:44         ` Mojca Miklavec via ntg-context
2021-08-22 15:45           ` Gavin via ntg-context
2021-08-22 16:00             ` Mojca Miklavec 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).