Thomas A.Schmitz wrote:

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.

did you run mktexlsr?

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?

you're talking about font encodings?

\definetypeface [PalatinoA] [rm] [serif] [palatino] [default] 
[encoding=texnansi]

\definetypeface [PalatinoB] [rm] [serif] [palatino] [default] [encoding=ec]

works ok; typefaces live in their own namespace

if you're talking about input encoding, you can switch regimes whenever you want

Hans


----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to