From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62272 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Stange behavior of \startluacode Date: Sun, 3 Oct 2010 11:02:02 +0200 Message-ID: <2135C917-84F5-408C-AFB0-9B89246E5909@gmail.com> References: 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 1286096577 3194 80.91.229.12 (3 Oct 2010 09:02:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 09:02:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 03 11:02:55 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 1P2KT3-0003VQ-SL for gctc-ntg-context-518@m.gmane.org; Sun, 03 Oct 2010 11:02:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25811CA6E6; Sun, 3 Oct 2010 11:02:49 +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 2w1PxvLIeJHl; Sun, 3 Oct 2010 11:02:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFF63CA6DF; Sun, 3 Oct 2010 11:02:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3AA68CA6DF for ; Sun, 3 Oct 2010 11:02:45 +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 iSGUrN7L4twi for ; Sun, 3 Oct 2010 11:02:33 +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 96298CA6DB for ; Sun, 3 Oct 2010 11:02:33 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9392WGV004501 for ; Sun, 3 Oct 2010 11:02:32 +0200 Original-Received: by fxm10 with SMTP id 10so3823389fxm.14 for ; Sun, 03 Oct 2010 02:02:32 -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=XRPzkMg4tsCJhwJxIx6XyoCK3d4h2ovNJm2fl5uoK6g=; b=U9+amOwuDCAyeVABJqNguPxUeOUTfbp5sfzzAzXrO82IfvWjzFogUK0jN8b4vdP2k0 bhe2irkDV8ICP9KZCEXzRI9xolOXNg9nNxkmlqZorhrovBp3An2JtzwGAOP+FIxCXv+N 91msHZmmOEWj77/qiZcJDAoVI3Ju4zOcvXzBY= 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=SQZZ6mnnxUBKVhWHNSItiYYSFVF5GtsKefpjB4LLecsGyDrSrCLaefKlOXOPdesDx1 H/kDSikCMcC9KOFNWF7RMG49iPWrLT2M+fWW40Zdr9MUj0+wx1qVshFIZjiGvCSKja1D rr5b18Tw7WvMIIPRzv1TFNjxBHu3F2k84vb7w= Original-Received: by 10.223.119.210 with SMTP id a18mr3678998far.4.1286096552110; Sun, 03 Oct 2010 02:02:32 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B292F75.dip.t-dialin.net [91.41.47.117]) by mx.google.com with ESMTPS id a16sm1581835fai.25.2010.10.03.02.02.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Oct 2010 02:02:31 -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.161.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: 0xDe92wnv - 8e7c6eb4f776 - 20101003 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:62272 Archived-At: Am 03.10.2010 um 10:28 schrieb luigi scarso: >> Bug or limitation? > Limitation, but it should be doable to remedy in TeX. Possible but is it worth the effort, when you start with =93--=94 the perce= nt should also behave like in Lua etc. \starttext \bgroup\obeylines \gdef\texcomment#1 {} \egroup \bgroup \let\letterhyphen=3D- \catcode`-=3D13 \unexpanded\def-{\futurelet\next\doscanhyphen} \def\doscanhyphen {\ifx\next- \expandafter\texcomment \else \expandafter\letterhyphen \fi} \obeylines text text % foo - foo 1 -- foo 2 \normalexpanded{- foo 1} \normalexpanded{-- foo 2} text \egroup \stoptext 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 ___________________________________________________________________________= ________