From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Project & automatic lookup for included directories
Date: Sun, 19 Aug 2012 18:54:49 +0200 [thread overview]
Message-ID: <CAF=dkzwM+ioF=92i5P59PpJ7pzPNNynKxgwZnTDx06dxo4xi4g@mail.gmail.com> (raw)
In-Reply-To: <op.wi2uznomtpjj8f@lpr>
A little experimentation shows the lookup order is as follows, from
highest to lowest priority:
current directory,
parent,
grandparent,
whatever is in \usepath.
> What is the default lookup of \environment? I thought it were at least one
> level up, but I'm not sure.
current directory, parent directory, grandparent
> Suppose having 3 files:
>
> _e-Geom.mkiv
> ../_e-Geom.mkiv
> ../../_e-Geom.mkiv
>
> Which of them will be used when I write '\environment _e-Geom.mkiv' and
>
> a) I specify explicitly \usepath[{../..}]?
> b) I don't use '\usepath'?
_e-Geom.mkiv will be used in both cases.
Does anybody know if there is a way to specify a lookup path that has
higher priority than the default lookups? I don't know one myself.
Cheers,
Sietse
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2012-08-19 16:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-15 10:20 Procházka Lukáš Ing. - Pontex s. r. o.
2012-08-19 16:54 ` Sietse Brouwer [this message]
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='CAF=dkzwM+ioF=92i5P59PpJ7pzPNNynKxgwZnTDx06dxo4xi4g@mail.gmail.com' \
--to=sbbrouwer@gmail.com \
--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).