From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21426 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: RFE: Better error messages for \usemodule Date: Sun, 17 Jul 2005 20:27:29 +0200 Message-ID: <42DAA311.4020408@wxs.nl> References: <4.3.1.2.20050716165908.01d2d008@cits1.stanford.edu> <4.3.1.2.20050716165908.01d2d008@cits1.stanford.edu> <4.3.1.2.20050716234357.01ce5eb0@cits1.stanford.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1121624949 19503 80.91.229.2 (17 Jul 2005 18:29:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2005 18:29:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 17 20:29:03 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DuDsi-0002qG-6S for gctc-ntg-context-518@m.gmane.org; Sun, 17 Jul 2005 20:28:52 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD6611278A; Sun, 17 Jul 2005 20:28:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21644-03; Sun, 17 Jul 2005 20:28:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 97C591278D; Sun, 17 Jul 2005 20:26:59 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E01741278D for ; Sun, 17 Jul 2005 20:26:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21561-05 for ; Sun, 17 Jul 2005 20:26:57 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id EF04A1278A for ; Sun, 17 Jul 2005 20:26:56 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j6HIQpoT028000 for ; Sun, 17 Jul 2005 20:26:51 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 2115E1A19D; Sun, 17 Jul 2005 19:43:49 +0200 (CEST) Original-Received: from [10.100.1.52] (unknown [10.100.1.52]) by server-1.pragma-net.nl (Postfix) with ESMTP id CAA6117AEB for ; Sun, 17 Jul 2005 17:43:47 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4.3.1.2.20050716234357.01ce5eb0@cits1.stanford.edu> X-Virus-Scanned: ClamAV 0.86.1/982/Sun Jul 17 14:45:12 2005 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21426 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21426 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 -----------------------------------------------------------------