ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Lmtx + pgfplots compilation error
Date: Mon, 13 Apr 2020 06:12:57 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.77.849.2004130600270.2054466@nqv-guvaxcnq> (raw)
In-Reply-To: <CACyK-eqXV1VZOSB5NBoNvkh1_=_81JtA21F7jpk5LwchsmLxhQ@mail.gmail.com>

On Mon, 13 Apr 2020, Fabrice Couvreur wrote:

> Hi,
> Sorry to restart the discussion, but I have updated my entire system and
> the problem remains. I used the example of Aditya.
> Thank you.
> Fabrice
>
> \usemodule[pgfplots]
> \starttext
> \starttikzpicture
>   \startaxis
>     \addplot {x};
>   \stopaxis
> \stoptikzpicture
> \stoptext
>
> tex error       > tex error on line 5 in file pgfplotsbinary.data.code.tex:
> ! Undefined control sequence
>
> l.5 ...ode`\^0=11    \expandafter\xdef\csname pgfp@bin@\the\counter
> \endcsname{^0
>
>    }\advance\counter by1
> lua error:

I have no clue what pgfplotsbinary.data.code.tex does, but simply 
bypassing that works for the simple example above.

Simply create an empty file with the name pgfplotsbinary.data.code.tex in 
your current directory and compile your example.

Note that if your code uses any of the features which are provided by this 
file (and I am not sure what they are), then it will fail. But at least 
this "fix" works for the simple example above.

Aditya
___________________________________________________________________________________
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:[~2020-04-13 10:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 20:23 Fabrice Couvreur
2020-04-07  2:20 ` Henri Menke
2020-04-07 12:22   ` Fabrice Couvreur
2020-04-08  9:20     ` Henri Menke
2020-04-08  9:52       ` Fabrice Couvreur
2020-04-08 10:40         ` Henri Menke
2020-04-08 21:40           ` Fabrice Couvreur
2020-04-08 22:02             ` Aditya Mahajan
2020-04-08 22:07               ` Aditya Mahajan
2020-04-13  9:41                 ` Fabrice Couvreur
2020-04-13 10:12                   ` Aditya Mahajan [this message]
2020-04-13 21:58                     ` Fabrice Couvreur

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=nycvar.YAK.7.77.849.2004130600270.2054466@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.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).