ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* What's (in) a module?
@ 2005-02-15 16:20 Thomas A.Schmitz
  2005-02-15 16:32 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A.Schmitz @ 2005-02-15 16:20 UTC (permalink / raw)


Two maybe related questions:

1. What constitutes a module? I wrote a couple of definitions and put 
them in a file t-foo.tex. When I write "\input t-foo" in the preamble 
of my document, everything works fine (so the file is found by TeX). 
When I say \usemodule[t-foo] or \usemodule[foo], I get "system          
: no macros found in module foo" and, obviously, "undefined control 
sequence." So: is there any special form for a module? I'm very curious 
because I defined a set of similar macros in another module, and 
everything works fine.

2. Is it possible to use a certain encoding file, enco-bar.tex, for 
parts of a file only? Could one define a macro (in a module???) that 
would do something like \switchtoencoding[bar] and switch back to the 
file's default encoding afterwards?

Thanks to all, best

Thomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-16 12:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-15 16:20 What's (in) a module? Thomas A.Schmitz
2005-02-15 16:32 ` Hans Hagen
2005-02-15 17:25   ` Thomas A.Schmitz
2005-02-15 17:32     ` Hans Hagen
2005-02-15 18:25       ` Thomas A.Schmitz
2005-02-16  8:26         ` Hans Hagen
2005-03-16  9:48         ` Patrick Gundlach
2005-03-16 12:37           ` Thomas A.Schmitz

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).