From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pgfplots error
Date: Wed, 21 Nov 2012 16:05:53 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.02.1211211600480.23417@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <CALBOmsbW7RNDcQP=95gXjKMUeJSp5+0x05SH3mEp+caB5ZkgLQ@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2202 bytes --]
On Wed, 21 Nov 2012, Mojca Miklavec wrote:
> On Wed, Nov 21, 2012 at 8:38 PM, Thomas Weißschuh wrote:
>> Quoting Mojca Miklavec (2012-11-21 12:10:37)
>> [..]
>>> t-tikz in distribution uses the master from git repository on
>>> sourceforge (even though I'm not exactly sure how frequently it
>>> updates). In any case, looking at the current state, I see the lua
>>> file is already inside "tex", not inside "scripts", so Aditya's
>>> comment to wait for the released patch should no longer hold. If the
>>> problem persists, it might be a different bug (I didn't test
>>> anything).
>>
>> I reproduced it with a brand new clone of minimals.
>> The fix for the last bug is indeed already there.
>>
>> You can test it with the following MWE:
>>
>> \usemodule [pgfplots]
>>
>> \starttext
>> \starttikzpicture
>> \startaxis
>> \addplot coordinates {
>> (0, 0)
>> };
>> \stopaxis
>> \stoptikzpicture
>> \stoptext
>>
>> If this is indeed a bug in pgfplots and not my setup I'll report it
>> upstream.
>
> I can reproduce the problem on my machine and the patch solves the
> problem,
So can I.
> but something seems really weird. Why on earth does it want
> to load files from /usr/local/lib/lua/5.1
> and why does it want to load
> a binary module instead of a lua file?
http://www.luafaq.org/#T1.19
> (I don't have that folder, but
> even if I had it, pgfplots wouldn't be there)
\startluacode
print(package.cpath)
\stopluacode
gives
./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so
so
require('pdfplots.lua')
searches for the library file in those folders.
> ! LuaTeX error <\directlua >:1: module 'pgfplots.lua' not found:
> no field package.preload['pgfplots.lua']
> no file './pgfplots/lua.so' <<< NOTICE pgfplots/lua
> no file '/usr/local/lib/lua/5.1/pgfplots/lua.so' <<<< NOTICE
> 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'
I think that pdfplots should be using dofile rather than require.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-21 21:05 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
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 [this message]
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.1211211600480.23417@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).