From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Info about creating modules for beginners.
Date: Fri, 24 Sep 2010 00:08:12 +0200 [thread overview]
Message-ID: <DA0530E5-75C5-4681-94B3-35910E3EA48E@st.estfiles.de> (raw)
In-Reply-To: <78A01E48-A117-4758-A125-BB608B184B84@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]
Am 23.09.2010 um 23:15 schrieb Wolfgang Schuster:
>
> Am 23.09.2010 um 23:08 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?
>
> Can you give more information or a example, you don’t mention which file you process and what’s loaded in them.
Attached you may find a nice minimal example:
the module should trigger french date,
the environment shoud trigger german date
when chap_1.tex is set.
The second works, the first fails: french is not loaded ... the date is set english ;o(
Steffen
[-- Attachment #2: project_minimal.zip --]
[-- Type: application/zip, Size: 23328 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-23 22:08 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 ` Steffen Wolfrum [this message]
2010-09-23 21:17 ` Info about creating modules for beginners Aditya Mahajan
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=DA0530E5-75C5-4681-94B3-35910E3EA48E@st.estfiles.de \
--to=context@st.estfiles.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).