Brooks Moses wrote:
At 11:16 PM 7/16/2005, you wrote:
Brooks Moses wrote:
After scratching my head over "no macros found in module mymodule", I decided to try replacing the line with "\input{t-mymodule}".
This produced the very cryptic result of a "I can't find the file 't-mymodule'. Please type another filename:" error. However, simply using "t-mymodule" as a replacement filename worked fine.
The \input with braces is latex-ese. The TeX primitive is \input t-mymodule and that would have worked.
Ah, ok. I hadn't realized those were different!
There are a few file reading macros, for instance: \readfile {yourfile.tex} {\message{OK}} {\message{BAD NEWS}} supp-fil.tex shows a few (global loading, local loading, recursive loading, etc) ans in core-fil there are some macros to load files with knowledge of system paths and such
However, as of ConTeXt release 2005.05.25, the original \usemodule would also have worked: the automatic filename truncation was removed in that version.
Good to know; it _did_ seem like something that really was likely to be more of an annoyance than a useful thing.
it was useful in the days that 8+3 filenames were the rule (msdos but also cdroms demanded it) and that the tex binaries were not able to handle truncated names well 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 -----------------------------------------------------------------