From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45200 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: typefile Date: Thu, 30 Oct 2008 15:09:56 -0400 (EDT) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225393908 9628 80.91.229.12 (30 Oct 2008 19:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2008 19:11:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 30 20:12:50 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1Kvcwr-0003CJ-28 for gctc-ntg-context-518@m.gmane.org; Thu, 30 Oct 2008 20:12:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F4F01FCA2; Thu, 30 Oct 2008 20:11:39 +0100 (CET) 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 15271-03; Thu, 30 Oct 2008 20:10:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 207D01FC78; Thu, 30 Oct 2008 20:10:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A375C1FC78 for ; Thu, 30 Oct 2008 20:10:36 +0100 (CET) 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 15267-04-3 for ; Thu, 30 Oct 2008 20:10:00 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id C0A921FC72 for ; Thu, 30 Oct 2008 20:09:59 +0100 (CET) Original-Received: FROM dhcp128036151129.central.yale.edu (dhcp128036151129.central.yale.edu [128.36.151.129]) BY hackers.mr.itd.umich.edu ID 490A0684.DA00A.11887 ; 30 Oct 2008 15:09:56 -0400 User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:45200 Archived-At: Hi, Something is wrong with \typefile in latest context in MKIV. \starttext \typefile{somefile} \stoptext (the file 'somefile' should exist) gives ! Undefined control sequence. \filepath \pathplusfile #1#2->#1 \f!pathseparator #2 \mktypefileverbatim ...rs.typefile("\readfilename ")} \dosometyping ...rt }{\typingparameter \c!stop }}} \stopverbatimcolor \stoppa... \dotypefile ...else \dodotypefile [\v!file ][]{#3} \fi \fi l.3 \typefile{somefile} Also, in MKII, when the file does not exist, you get a warning message in the pdf output. In MKIV, there is no warning. Missing files are silently ignored. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________