ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
To: news3@nililand.de, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: search path for require(...)
Date: Thu, 24 Mar 2011 11:14:00 +0100	[thread overview]
Message-ID: <20110324101400.GC3626@orcus> (raw)
In-Reply-To: <55a1sy0sjbc.dlg@nililand.de>


[-- Attachment #1.1: Type: text/plain, Size: 1319 bytes --]


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@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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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:[~2011-03-24 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24  9:50 Ulrike Fischer
2011-03-24 10:14 ` Philipp Gesang [this message]
2011-03-24 10:34   ` Ulrike Fischer
2011-03-24 10:50     ` Philipp Gesang
2011-03-24 11:41       ` Ulrike Fischer

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=20110324101400.GC3626@orcus \
    --to=pgesang@ix.urz.uni-heidelberg.de \
    --cc=news3@nililand.de \
    --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).