From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Modules how?
Date: Sun, 02 Oct 2005 10:09:22 +0200 [thread overview]
Message-ID: <433F95B2.4040802@elvenkind.com> (raw)
In-Reply-To: <BAY24-F6EC0D648F9D6A6DA65ECDCE8E0@phx.gbl>
Boris Pedrofiets wrote:
> Looking at the files s-mag-01.tex and mag-0000.tex from the context
> distribution I created a file with layout and defs myself. My question:
> how can I use my-module?
Rename the file you made, so the name starts with "p-" and
ends with the extension ".tex", like:
p-boris.tex
Now you can start your documents with
\usemodule[boris]
Modules normally start with a single letter, followed by a dash.
Context first looks for m-boris (a core system module), then
p-boris (a user private module), then s-boris (a style module),
then x-boris (dunno?), then t-boris (a third-party module),
and finally (if nothing else works), in a new context
distribution it will try boris.tex.
Even if it works, using module names without a prefix is a bad
idea, because it is very likely to create clashes with other
input file names. Use "p-boris.tex" for your own files, and
"t-boris.tex" for files you want to share with other people.
Taco
next prev parent reply other threads:[~2005-10-02 8:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 10:50 using 1 layout on several documents Boris Pedrofiets
2005-09-30 11:46 ` Peter Rolf
2005-09-30 13:08 ` Boris Pedrofiets
2005-09-30 14:57 ` Peter Rolf
2005-10-01 20:06 ` Modules how? Boris Pedrofiets
2005-10-02 8:09 ` Taco Hoekwater [this message]
2005-10-02 16:58 ` Boris Pedrofiets
2005-10-02 17:53 ` Christopher Creutzig
2005-10-02 20:05 ` using 1 layout on several documents Hans Hagen
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=433F95B2.4040802@elvenkind.com \
--to=taco@elvenkind.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).