From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48598 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: \input file with parameter ? Date: Fri, 20 Mar 2009 14:28:30 +0100 Message-ID: References: <49C396E5.8020301@wxs.nl> 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 1237555748 927 80.91.229.12 (20 Mar 2009 13:29:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 13:29:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 20 14:30:25 2009 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 1Lkenn-0005db-8M for gctc-ntg-context-518@m.gmane.org; Fri, 20 Mar 2009 14:30:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C2CC1FD30; Fri, 20 Mar 2009 14:28:58 +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 23876-03-3; Fri, 20 Mar 2009 14:28:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 56ADB1FCE5; Fri, 20 Mar 2009 14:28:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9CC2D1FCE5 for ; Fri, 20 Mar 2009 14:28:38 +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 23876-03-2 for ; Fri, 20 Mar 2009 14:28:31 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by ronja.ntg.nl (Postfix) with ESMTP id 7155F1FCD7 for ; Fri, 20 Mar 2009 14:28:31 +0100 (CET) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by filter4-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2KDSUCY028308 for ; Fri, 20 Mar 2009 14:28:30 +0100 Original-Received: by fk-out-0910.google.com with SMTP id z22so375262fkz.2 for ; Fri, 20 Mar 2009 06:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cuNcxO0KX146zrLW0FQEX2VidFSbR1gjZxK1V7hVgOk=; b=RZs98TSMSBKGOQFf1Ukr7q25hoa+TGvTa4rUv56apty4Neor6BPZVt6T+exrEqZ2jv BX3GGLXkbTcsU846F0p1BU1AG4FjwybpWnuKip5YOrNHXWV4VoNohHjzBVqsk6V4MMeC Sm/xrHxgLaXkFRvGFQO8kbN4YWettzFK8hC2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JhJf6e1iDfs5VTTt3CH6FIASdFf0cndbynnMTKqOL2UhXcbyU9+dxObDwmjUIIz5AA KM99a/f3Yrt3jnn8eSFBhvp36Ea3jlTlljXlVkjt7SSId0JjA75xXZ80MElB19BFz+q0 /dVp8E56btVS7mMFMFnG3rePZiJBMSpg/Zhx4= Original-Received: by 10.204.113.198 with SMTP id b6mr1255077bkq.115.1237555710290; Fri, 20 Mar 2009 06:28:30 -0700 (PDT) In-Reply-To: <49C396E5.8020301@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.128.185; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 196640299 - a23fa7a07bab X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48598 Archived-At: On Fri, Mar 20, 2009 at 2:15 PM, Hans Hagen wrote: > luigi scarso wrote: >> >> Hi >> today , while writing some code I have made a mistake like this >> \input combine[file=depliant-block.pdf] >> instead of >> \input combine >> >> (I have combine.tex in my path of course) >> >> After a while I have thought : >> "Is it possibile to implement this (as a macro) in mkiv ?" > > parsing of \input is somewhat special as the name has to be delimited by a > space or unexpandable token ok > > i dunny, but is some weird syntax you're proposing just curiosity , (btw curiosity killed the cat) > >> (Of course, on can write things like >> \Input[style=combine, file=fo] and so on) > > indeed, or \loadfile[...] depending on your needs hmm, grepping for \loadfile gives nothing (but I'm using a rather old context , contextversion : 2008.10.31 13:58 ) -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________