From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89138 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt gobble my mind Date: Thu, 6 Nov 2014 13:46:31 +0100 Message-ID: References: <9633DF54-A96A-4B64-B9C8-05293983DF67@unilim.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1953691850==" X-Trace: ger.gmane.org 1415278030 20333 80.91.229.3 (6 Nov 2014 12:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 12:47:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 06 13:47:06 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmMSu-0006hW-Tj for gctc-ntg-context-518@m.gmane.org; Thu, 06 Nov 2014 13:47:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C6DF10228 for ; Thu, 6 Nov 2014 13:47:04 +0100 (CET) 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 qiW1PrGLFwto for ; Thu, 6 Nov 2014 13:47:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D3FA210234 for ; Thu, 6 Nov 2014 13:46:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69A9C101E7 for ; Thu, 6 Nov 2014 13:46:34 +0100 (CET) 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 rnHDQZ1lUn-U for ; Thu, 6 Nov 2014 13:46:33 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id B35F9101E3 for ; Thu, 6 Nov 2014 13:46:33 +0100 (CET) Original-Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA6CkVmf019920 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 6 Nov 2014 13:46:32 +0100 Original-Received: by mail-qc0-f169.google.com with SMTP id i17so673983qcy.14 for ; Thu, 06 Nov 2014 04:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0BG0V/ilhTwpyNeqZ/DUo+sYt7fYGvNBjKSkUN53EMY=; b=M6vLqtXVgkNGIsc1sujd5hswPAILZL3iJqJYZnMzFgqzs9LaOIUvR4AFROSyF20RLY /ABBkE8hWgMn4UYHtD/isJacP4uXz4l2WHBGfFFEuW4pYPke1thsgDe9JuiPNjU0Zjid n/U9VF1nNkrSJaZmoJrI0AmlF7IjhCuv4MfPrA8Ni+V9LWDeXnmh0ay4IquANJLRFpOx dWncsa99QBBMstylInOEyh5Aa1FMt9dAnX6AjbYXjvzpUiARjv6dHDU52XkIvaoYgP8H Yx+chdd6Up10pPIROvArGihp8+/jkNE0R1RKRBg3/Z4a5ftWhtzYESvW9+sczldXlLUl rrrg== X-Received: by 10.224.68.73 with SMTP id u9mr6129748qai.75.1415277991610; Thu, 06 Nov 2014 04:46:31 -0800 (PST) Original-Received: by 10.140.37.99 with HTTP; Thu, 6 Nov 2014 04:46:31 -0800 (PST) In-Reply-To: <9633DF54-A96A-4B64-B9C8-05293983DF67@unilim.fr> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c01::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06NccKwjA - 6b33b1013cdf - 20141106 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89138 Archived-At: --===============1953691850== Content-Type: multipart/alternative; boundary=001a11c30192f2ceda05073015b1 --001a11c30192f2ceda05073015b1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 6, 2014 at 1:36 PM, Pierre-Fran=C3=A7ois Bonnefoi wrote: > Hello Luigi, > > thank you for proposing a solution, but it's not suitable to my needs as > it modifies the content of the typing region : the backlash is displayed > > I know, infact I have said "the first step is...": \gobbleuntil is quite lowlevel macro, it assumes that you do some TeX programming. I want to be able to gobble or not the typing region by using a macro > without modifying it. > > As Wolfgang says, you can use start/stopbuffer: \starttext \startbuffer \starttyping { printf("%d", data); } \stoptyping \stopbuffer This is ignored ! \stoptext --=20 luigi --001a11c30192f2ceda05073015b1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Nov 6, 2014 at 1:36 PM, Pierre-Fran=C3=A7ois Bonnefoi <bonnef= oi@unilim.fr> wrote:
Hello Luigi,

thank you for proposing a s= olution, but it's not suitable to my needs as it modifies the content o= f the typing region : the backlash is displayed

<= /blockquote>
I know, infact I have said =C2=A0"the first step is..= .": \gobbleuntil is quite lowlevel macro, it assumes that you do some = TeX programming.


I want to be able to gobble o= r not the typing region by using a macro without modifying it.


As Wolfgang says, you can use star= t/stopbuffer:

\starttext
\startbuffer=C2=A0
\starttyping
=C2=A0 =C2=A0 { print= f("%d", data); }
\stoptyping
\stopbuffer
This is ignored !=C2=A0
\stoptext

<= /div>--
luigi
--001a11c30192f2ceda05073015b1-- --===============1953691850== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1953691850==--