ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gavin via ntg-context <ntg-context@ntg.nl>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: Gavin <gavinpublic@comcast.net>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pgfplots module needs update from December
Date: Sun, 22 Aug 2021 08:32:20 -0600	[thread overview]
Message-ID: <03430D88-7C4D-4CBB-840D-6EEE12412D3F@comcast.net> (raw)
In-Reply-To: <90d53fc8-0480-e355-bdac-126ad0722d34@xs4all.nl>

> 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
___________________________________________________________________________________

  reply	other threads:[~2021-08-22 14:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21  4:05 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03430D88-7C4D-4CBB-840D-6EEE12412D3F@comcast.net \
    --to=ntg-context@ntg.nl \
    --cc=gavinpublic@comcast.net \
    --cc=j.hagen@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).