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: pgfplots error
Date: Tue, 20 Nov 2012 18:16:02 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.02.1211201814460.29220@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <Phh9MvWVztBgh+g3lvGVXASKIGF6bQDapLV9zhUEGi@t-8ch.de>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2190 bytes --]

On Tue, 20 Nov 2012, Thomas Weißschuh wrote:

> Hi,
>
> while trying to use the module pgfplots from latest ConTeXt minimals I
> encountered the following error:
>
>  [..]
>  )) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryfpu.code.tex)) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.codetex
>  ! LuaTeX error <\directlua >:1: module 'pgfplots.lua' not found:
>  	no field package.preload['pgfplots.lua']
>  	no file './pgfplots/lua.so'
>  	no file '/usr/local/lib/lua/5.1/pgfplots/lua.so'
>  	no file '/usr/local/lib/lua/5.1/loadall.so'
>  	no file './pgfplots.so'
>  	no file '/usr/local/lib/lua/5.1/pgfplots.so'
>  	no file '/usr/local/lib/lua/5.1/loadall.so'
>  stack traceback:
>  	[C]: in function 'require'
>  	<\directlua >:1: in main chunk.
>
> ConTeXt version: 2012.11.16 23:51

See: http://sourceforge.net/mailarchive/message.php?msg_id=29944181

> This could be fixed by removing the suffix '.lua' from the argument
> to `require(pgfplots.lua)` in line 1979 of the file
> tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex
>
>  diff --git a/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex.old b/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex
>  index 0ef2cb0..6d504a7 100644
>  --- a/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex.old
>  +++ b/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex
>  @@ -1976,7 +1976,7 @@
>   \catcode`\%=12 \gdef\pgfplotsPERCENT{%}}
>
>   \pgfutil@IfUndefined{directlua}{}{%
>  -	\directlua{require(\pgfplotsDQ pgfplots.lua\pgfplotsDQ)}%
>  +	\directlua{require(\pgfplotsDQ pgfplots\pgfplotsDQ)}%
>   }%
>
>   % swaps the content of two macros
>
> Is this report sufficient or should I also contact pgfplots upstream?

This will be fixed in the next release of pgfplots.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-11-20 23:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 22:54 Thomas Weißschuh
2012-11-20 23:16 ` Aditya Mahajan [this message]
2012-11-21 12:10   ` Mojca Miklavec
2012-11-21 19:38     ` Thomas Weißschuh
2012-11-21 20:59       ` Mojca Miklavec
2012-11-21 21:05         ` Aditya Mahajan
2012-11-20 23:20 ` Thomas Weißschuh
2014-03-12 13:49 Procházka Lukáš Ing. - Pontex s. r. o.

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=alpine.LNX.2.02.1211201814460.29220@ybpnyubfg.ybpnyqbznva \
    --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).