From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27578 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: \typefile with a file in \usepath fails Date: Sun, 30 Apr 2006 17:04:13 +0200 Message-ID: References: <44549270.2080506@wxs.nl> <4454BA29.9020106@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146409255 8495 80.91.229.2 (30 Apr 2006 15:00:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 15:00:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 30 17:00:52 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FaDPl-00005C-IV for gctc-ntg-context-518@m.gmane.org; Sun, 30 Apr 2006 17:00:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22D4B127C5; Sun, 30 Apr 2006 17:00:48 +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 10688-02; Sun, 30 Apr 2006 17:00:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E05E127BF; Sun, 30 Apr 2006 17:00:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39E7F127BF for ; Sun, 30 Apr 2006 17:00:40 +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 10535-02 for ; Sun, 30 Apr 2006 17:00:39 +0200 (CEST) Original-Received: from swip.net (mailfe04.tele2.fr [212.247.154.108]) by ronja.ntg.nl (Postfix) with SMTP id 45293127A7 for ; Sun, 30 Apr 2006 17:00:39 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.152.93] (HELO localhost) by mailfe04.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 186324645 for ntg-context@ntg.nl; Sun, 30 Apr 2006 17:00:34 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: <4454BA29.9020106@wxs.nl> User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27578 Archived-At: On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen wrote: >>> what version of context do you run? i though that i added support for >>> that some time ago >> >> Version 2006.04.27. >> >> \dodotypefile checks where the file is, but a following call to >> \makelocreadfilename seems to set improperly \readfilename, but I'm not >> sure to understand correctly the code. >> > \tracefilestrue > Hm, verbatim seems not using the file interface: there's no trace about file found or not related to typefile. Another thing I did is to patch \processfileverbatim to trace what is actually the file used: \def\processfileverbatim#1% {\par \bgroup \writestatus{jo}{file=#1} ... And doing: \typefile{list1.tex} % file in the current directory (ok) \typefile{test-001.tex} % file in the \usepath directory (nok) \typefile{joke} % file that does not exist (ok, an error is printed) \typefile{pos2.tex} % again a local existing file (ok) Gives the traces: systems : begin file typefile at line 79 jo : file=list1.tex systems : searching for pdfr-ec on tex path systems : pdfr-ec located (/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex) jo : file=test-001.tex verbatim : file joke does not exist jo : file=pos2.tex So, the actual file path is not used, but it is the argument passed that is always used. Regards, BG