From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46716 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Catcode tables Date: Sun, 11 Jan 2009 20:59:40 +0100 Message-ID: <8672A1D7-2ACF-410F-A9D9-033F41A8C32E@gmail.com> References: <33EE4AC4-1EB3-4E43-A4CA-23A581DAEFD6@gmail.com> <349E5862-6F1F-4BF8-A57E-9CDC73ABB064@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231704128 32742 80.91.229.12 (11 Jan 2009 20:02:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2009 20:02:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 11 21:03:20 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 1LM6Wk-00056c-9k for gctc-ntg-context-518@m.gmane.org; Sun, 11 Jan 2009 21:03:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2C84E1FD6D; Sun, 11 Jan 2009 21:02:00 +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 13795-01-8; Sun, 11 Jan 2009 21:00:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DF9B1FD06; Sun, 11 Jan 2009 21:00:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E65F1FD38 for ; Sun, 11 Jan 2009 21:00:53 +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 13795-01-7 for ; Sun, 11 Jan 2009 21:00:05 +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 66B681FD06 for ; Sun, 11 Jan 2009 21:00:03 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id 19so1592132fgg.8 for ; Sun, 11 Jan 2009 12:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:in-reply-to :content-type:content-transfer-encoding:mime-version:subject:date :references:x-mailer:from; bh=AuqOKWQfWiCvQhDo0oqWcGrgd1oufbomw95lIh2eghA=; b=k40koQhICi7DXWNol3L/9OtXb8k55Xz2vAU2vZLR2zZoYt0Lp+vdV22a85FDr5utx/ T3iFagRbno8Wl9tFtHxsKLr5I26kfoSmtx1oKYYgg2l5hDXwmP2zEbSecDk+C/miKPoX osfk6sjGcivQCVdJkZVUhyI6xsE/zVAFBsKDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:to:in-reply-to:content-type:content-transfer-encoding :mime-version:subject:date:references:x-mailer:from; b=qyoCKG3/a0eh2F93UhC4OxNLJrMY9ouqp45r848Z6srSQUhUhWC3Rs2+NH1YIP3KtD VZY3BYgALtMGaKFKfcTCPxb+QcEBYXHZomN1N3yLQcMD+5b4UH0l2R5M6zCTp0BJWyKo 5ECUoPQf/r5evCVl+QvysJkHC/dB7VpsoBbsM= Original-Received: by 10.86.80.17 with SMTP id d17mr4559579fgb.55.1231704003075; Sun, 11 Jan 2009 12:00:03 -0800 (PST) Original-Received: from ?10.70.161.217? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id 4sm9964529fgg.44.2009.01.11.11.59.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Jan 2009 12:00:01 -0800 (PST) In-Reply-To: <349E5862-6F1F-4BF8-A57E-9CDC73ABB064@gmail.com> X-Mailer: Apple Mail (2.930.3) 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:46716 Archived-At: Hi Hans, is there no a fix availabe for this problem. Wolfgang > Am 29.12.2008 um 23:03 schrieb Aditya Mahajan: > >>> can you fix the catcode related macros in syst-cat.mkiv, the macros >>> did not work because a few macros are not define like >>> \savecatcodetable >>> and a few other are only defined in the MkII part like >>> \catcodetable. >> >> Aren't \savecatcodetable and \catcodetable luatex primitives? > > You're right, this helped me to find the problematic parts in the MkII > and MkIV macros. I was able to make a working example where I > commented > the problematic parts. > > I hope this helps Hans to fix it and thank you for the hint. > > \startmode[mkiv] > > \long\def\startcatcodetable#1#2\stopcatcodetable > {\bgroup > %\catcodetable\scratchcatcodetable > \the\setdefaultcatcodes > #2% > \savecatcodetable#1\relax > \egroup} > > \stopmode > > \startmode[mkii] > > \def\catcodetable#1% > {\mathchardef\currentcatcodetable#1% > %\the\setdefaultlowercatcodes > %\ifrecatcodeuppercharacters\the\setdefaultuppercatcodes\fi > \the\csname @@cct:\number#1\endcsname} > > \stopmode > > \newcatcodetable \mycatcodetable > > \startcatcodetable \mycatcodetable > \catcode`\$ = 12 > \catcode`\& = 12 > \catcode`\% = 12 > \stopcatcodetable > > \def\normaltext > {\pushcatcodetable > \setcatcodetable\mycatcodetable > \donormaltext} > > \def\donormaltext#1% > {#1% > \popcatcodetable} > > \starttext > \normaltext{Procter & Gamble's stock climbed to $2, a 10% gain.} > \stoptext > > Wolfgang > ___________________________________________________________________________________ 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 ___________________________________________________________________________________