From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45440 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: typefile Date: Mon, 10 Nov 2008 19:09:06 +0100 Message-ID: References: <49187427.4070705@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1108492099==" X-Trace: ger.gmane.org 1226340905 21839 80.91.229.12 (10 Nov 2008 18:15:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 18:15:05 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 10 19:16:05 2008 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 1KzbI2-00086M-OQ for gctc-ntg-context-518@m.gmane.org; Mon, 10 Nov 2008 19:15:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A5161FD19; Mon, 10 Nov 2008 19:13:56 +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 18300-03-2; Mon, 10 Nov 2008 19:12:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F81E1FCA1; Mon, 10 Nov 2008 19:12:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9038A1FCA1 for ; Mon, 10 Nov 2008 19:12:37 +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 18463-01 for ; Mon, 10 Nov 2008 19:11:31 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by ronja.ntg.nl (Postfix) with ESMTP id 6D7121FC00 for ; Mon, 10 Nov 2008 19:09:18 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id l26so2450348fgb.8 for ; Mon, 10 Nov 2008 10:09:07 -0800 (PST) Original-Received: by 10.181.141.18 with SMTP id t18mr2166364bkn.203.1226340546468; Mon, 10 Nov 2008 10:09:06 -0800 (PST) Original-Received: by 10.180.247.2 with HTTP; Mon, 10 Nov 2008 10:09:06 -0800 (PST) In-Reply-To: <49187427.4070705@wxs.nl> 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:45440 Archived-At: --===============1108492099== Content-Type: multipart/alternative; boundary="----=_Part_84959_10686344.1226340546464" ------=_Part_84959_10686344.1226340546464 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen wrote: > Aditya Mahajan wrote: > > >> \starttext > >> \typefile{test-aditya-001.tex} > >> \stoptext > > > > Ah, this also works here. The error only shows if the file does not have > > an extension. > > this is fixed (hack, awaiting a proper split of supp-fil into mkii and > mkiv) > > Hans > \starttext \typefile{test-aditya-TEST} \stoptext where test-aditya-TEST has TEST fails with ! 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{test-aditya-TEST} ? minimals-beta Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.42.10 15:11 PS context --version gives current version: 2008.42.10 15:11 -- luigi ------=_Part_84959_10686344.1226340546464 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen <pragma@wxs.nl> wrote:
Aditya Mahajan wrote:

>> \starttext
>> \typefile{test-aditya-001.tex}
>> \stoptext
>
> Ah, this also works here. The error only shows if the file does not have
> an extension.

this is fixed (hack, awaiting a proper split of supp-fil into mkii and
mkiv)

Hans
\starttext
\typefile{test-aditya-TEST}
\stoptext
where
test-aditya-TEST has
TEST
fails
with

! Undefined control sequence.
<argument> \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{test-aditya-TEST}
                              
?

minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.42.10 15:11

PS
context --version gives current version: 2008.42.10 15:11

--
luigi

------=_Part_84959_10686344.1226340546464-- --===============1108492099== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1108492099==--