On 11/4/2014 4:49 PM, Mikael P. Sundqvist wrote:
ConTeXt$ find . -iname '*pgfluamath*'
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.functions.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.functions.lua
require("foo.bar")
means: look for file [configured paths]/foo/bar.[so|dll|lua]
so, those filenames looks weird. I have no clue how e.g. latex or plain
looks for files with require (maybe they kick in some kpse lookup) but
i'm not going to add such an exception to context
local foo = dofile(resolvers.findfile(foo.bar.lua"))
might work for such files
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________