From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62683 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \ReadFile in MkII vs MkIV Date: Sun, 17 Oct 2010 20:06:36 +0200 Message-ID: <0D5FE2D5-9566-4459-8667-B560427588F3@gmail.com> References: <0511A24C-C978-4DE9-804D-1995071C957E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287338839 17543 80.91.229.12 (17 Oct 2010 18:07:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Oct 2010 18:07:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 17 20:07:15 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P7XdY-0000qR-86 for gctc-ntg-context-518@m.gmane.org; Sun, 17 Oct 2010 20:07:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D2ADCA75D; Sun, 17 Oct 2010 20:07:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id H8pnUe0a37uQ; Sun, 17 Oct 2010 20:07:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E85BECA758; Sun, 17 Oct 2010 20:07:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53E08CA758 for ; Sun, 17 Oct 2010 20:07:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uspAK6w1vaI3 for ; Sun, 17 Oct 2010 20:06:56 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id E6C01CA73E for ; Sun, 17 Oct 2010 20:06:55 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9HI6ssY029073 for ; Sun, 17 Oct 2010 20:06:55 +0200 Original-Received: by bwz19 with SMTP id 19so112696bwz.14 for ; Sun, 17 Oct 2010 11:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Izpp/7xOz4VEnzsa4ANcco1smnpCB+KqJamKIzVf3sQ=; b=QUsS8RreuGQKQF1Oxz+BzVoX+4ddT2ViKJNGZE1yAtqsO4jaIiKvaEIk64UpVACk+y 9pJo30JQ+S6JgKLrQgU10L4gPQOjzHtWeanYVgvFD/py2CcTchZOemunnP1q1222nqOV 4UlIy9v5OQNQstK7K46a98aWIs8YBknONM0ZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=u0ijjdsfvRGKI2G/NN3NYSQtw2yic0r1gv1aFWygdinUcjcpP4b8j3opVgU0x7Mj9F 322dnuTyjbE5FF8T5jvINrx4nZLm3FWniiHNZUI1TjWSxO5NkrV24zrn2LooOG0rKVln KeXcKEcrqB2NIsoUoD56QSe+aMHzhR1v1Y6yU= Original-Received: by 10.204.78.8 with SMTP id i8mr3379531bkk.176.1287338814640; Sun, 17 Oct 2010 11:06:54 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B297F5E.dip.t-dialin.net [91.41.127.94]) by mx.google.com with ESMTPS id y19sm16176715bkw.18.2010.10.17.11.06.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Oct 2010 11:06:53 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0xDjS6TzU - 11822ad0a793 - 20101017 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62683 Archived-At: Am 17.10.2010 um 19:58 schrieb Aditya Mahajan: > I wanted something that will work consistently in MkII and MkIV. I can do: > = > \doifmodeelse{\s!mkii} > {\let\ReadFilter\ReadFile} > {\def\ReadFilter#1{\doreadfile{any}\empty{#1}\donothing\donothing}} > = > but, I wanted to avoid such things if possible :-/ Does this work: \def\ReadFilter#1% {\readsetfile{/tmp/}{#1}\donothing\donothing} > (BTW, why is system mode *mkii not set in MkII?) Maybe Hans forgot it for mkii but it doesn=92t matter whether mkii/mkiv is = a normal mode or a system mode. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________