[NTG-context] search path for require(...)

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Thu Mar 24 11:14:00 CET 2011


On 2011-03-24 <10:50:58>, Ulrike Fischer wrote:
> I'm trying to store the virtual lua chess fonts I'm currently
> creating so that latex and context can use them. 
> 
> 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works
> for latex but not for context. tex/generic works for both. 
> 
> 2. My fonts loads a lua-file which should be shared by all fonts
> with 
> 
> chessfss=require('chessfss')
> 
> latex finds the chessfss.lua without problems in various locations
> (e.g. tex/generic) but context not. How can I solve this problem?

Hi Ulrike,

see also:
  http://www.ntg.nl/pipermail/ntg-context/2010/047721.html

(You’re going to have to declare the table “chessfss” globally
for this to work.)

Regards, Philipp

> 
> 
> 
> -- 
> Ulrike Fischer 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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 part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110324/082393a0/attachment.pgp>


More information about the ntg-context mailing list