From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Info about creating modules for beginners.
Date: Thu, 23 Sep 2010 17:17:59 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1009231716090.9713@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <B34CD999-1449-4F63-832A-0F20E9D97311@st.estfiles.de>
On Thu, 23 Sep 2010, Steffen Wolfrum wrote:
>
> Am 23.09.2010 um 22:47 schrieb Wolfgang Schuster:
>
>>
>> Am 23.09.2010 um 22:42 schrieb Steffen Wolfrum:
>>
>>> btw: modules are used to be stored eg. in ~/context/tex/texmf-local/tex/context/third/ folder.
>>>
>>> is is also possible to keep/find them not in texfm tree but in a projects folder?
>>> or do I have to use for this purpose environment files?
>>
>> You can put modules in your project folder and these are always loaded before the files in the tex tree.
>
>
> Sounds good, but ...
>
> For example I have in a project's folder a project_test file with these line:
>
> \environment Style_Test
> \usemodule[p-my-test]
>
> Both files (Style_Test.tex and p-my-test.tex are stored next to project_test.tex in the project's folder).
> The environment file is found without problems ... even when I change the file's name between two runs.
>
> The module is never found.
>
> What is missing?
Module lookups do not search in the parent or grand parent directories.
One alternative is to always run files from the top project folder:
context dir/dir/file
Aditya
___________________________________________________________________________________
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:[~2010-09-23 21:17 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 16:35 Jaroslav Hajtmar
2010-09-23 20:32 ` Hans Hagen
2010-09-23 20:42 ` Steffen Wolfrum
2010-09-23 20:47 ` Wolfgang Schuster
2010-09-23 21:08 ` Steffen Wolfrum
2010-09-23 21:15 ` Hans Hagen
2010-09-23 21:15 ` Wolfgang Schuster
2010-09-23 21:21 ` Aditya Mahajan
2010-09-23 21:38 ` Wolfgang Schuster
2010-09-23 21:42 ` Aditya Mahajan
2010-09-23 21:46 ` Wolfgang Schuster
2010-09-24 4:26 ` Aditya Mahajan
2010-09-24 7:04 ` Peter Münster
2010-09-23 21:30 ` Steffen Wolfrum
2010-09-23 21:36 ` Jaroslav Hajtmar
2010-09-23 21:43 ` Wolfgang Schuster
2010-09-25 15:07 ` \definenamespace and module setup (was: Info about creating modules for beginners.) Philipp Gesang
2010-09-25 17:35 ` Wolfgang Schuster
2010-09-27 8:30 ` Philipp Gesang
2010-09-23 22:08 ` Info about creating modules for beginners Steffen Wolfrum
2010-09-23 21:17 ` Aditya Mahajan [this message]
2010-09-23 21:21 ` Steffen Wolfrum
2010-09-23 20:46 ` Wolfgang Schuster
2010-09-26 0:02 ` Aditya Mahajan
2010-09-26 11:24 ` Hans Hagen
2010-09-26 15:48 ` Aditya Mahajan
2010-09-26 14:06 ` Wolfgang Schuster
2010-09-26 15:41 ` Aditya Mahajan
2010-09-26 17:51 ` Peter Münster
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.01.1009231716090.9713@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).