From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94203 Path: news.gmane.org!not-for-mail From: Erik Margraf Newsgroups: gmane.comp.tex.context Subject: Re: help on def & buffer Date: Wed, 30 Mar 2016 15:24:49 +0200 Message-ID: References: <56FB8A3F.2010509@wxs.nl> <56FBCAA7.7030800@gmail.com> Reply-To: erik.margraf@gmail.com, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1193953525853919019==" X-Trace: ger.gmane.org 1459344327 2840 80.91.229.3 (30 Mar 2016 13:25:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2016 13:25:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 30 15:25:16 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1alG7W-0001J3-Dc for gctc-ntg-context-518@m.gmane.org; Wed, 30 Mar 2016 15:25:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 89FD999A1; Wed, 30 Mar 2016 15:25:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mJGfi5nZbfSt; Wed, 30 Mar 2016 15:25:01 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D468F99B5; Wed, 30 Mar 2016 15:25:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 205C899A1 for ; Wed, 30 Mar 2016 15:25:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wOhOLf5J68Je for ; Wed, 30 Mar 2016 15:25:00 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 22FD9999E for ; Wed, 30 Mar 2016 15:24:50 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id p65so71912366wmp.0 for ; Wed, 30 Mar 2016 06:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to; bh=B648Vpkq+/Yk1+K/iQZ2DsgU8vve/IR/g7Kxo+39UyU=; b=OSGd5vF+IDiave7bqxyJ82BCEa+F7W0qXL0JfxvPQCI3mnJmSF/YJ2nLEgezWzXRh0 O/T8UJ7gAagu4O27xgPglNQ20Icma+G9PiuRKOlr5pDJK7CYq2z0bq7m8b4SYU0Q8vFb D0C5BK8f0kA8knpxkJGGpXSoWdXbVCCN5zaL93Kif7ZDjH4/U8WjpEbv3zDMNO4GP9tS cpES//270/yQyNrLpKzPYnIE+AGo5gK0UCugH+nMtVu47tmuJNgxZ4eXKHq+pU5/ut1C w84UO3sj7TPaEbLUwIL1QmPpl5eVIK1BWNsqNacJSSla35vl9u2+d3wCU6ulyLcJCqVq fXDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to; bh=B648Vpkq+/Yk1+K/iQZ2DsgU8vve/IR/g7Kxo+39UyU=; b=gk70TfWmjJlMbAPnhtWGSUF4KJ7QJ8OjJ9qyrFF8UgZEn8X8jPFmz4BaxwV7zs7W2j 1j67TpAE53aNyhrdgX0I6EokXG8OUJnTvn3n8aOtoR4ntTTs1HxtIhBwD7GaCq3qDXaV 1MISJKM4o6RHM77XF40QnsfLA/e49gt5+BciF7D/prnQRVSPsqZ8GI8I5BsdK1Nky1Ld lRNDTUISDuf48ywjqwJSDq9ze36fYGy96g50V4Nv1wqUmhpau0CptoyTtNg+xI23UY6l mqvUtkdzxkPIx+QyStFZO1w4StO9Fff7Il0Cmx15jKzugjWDhSBIKLCGxC81Q+fRbK3Q U4Vg== X-Gm-Message-State: AD7BkJK3Gktpuqhqa4ofCy/kL83HfKtdYMFOy+iNmizkywIaWrpULSEZoyhMUNWvReMDEHNyoU2bE8TEgquesw== X-Received: by 10.194.6.234 with SMTP id e10mr9588041wja.118.1459344289731; Wed, 30 Mar 2016 06:24:49 -0700 (PDT) Original-Received: by 10.28.156.75 with HTTP; Wed, 30 Mar 2016 06:24:49 -0700 (PDT) In-Reply-To: <56FBCAA7.7030800@gmail.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:94203 Archived-At: --===============1193953525853919019== Content-Type: multipart/alternative; boundary=047d7b5d4a02fe9a3f052f441174 --047d7b5d4a02fe9a3f052f441174 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ups, didn't expect that ... ;-) Thanks Wolfgang! Actually your version works, Hans' version does not ... (could try them only now) Kind regards Erik On Wed, Mar 30, 2016 at 2:46 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > Hans Hagen > 30. M=C3=A4rz 2016 um 10:11 > > > \startbuffer .. \stopbuffer is parsed special > > so use: > > \def\Buffer#1#2 > {\setbuffer[#1]{\input #2\relax}} > > \def\Buffer#1#2% > {\setbuffer[#1]\input{#2}\endbuffer} > > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --047d7b5d4a02fe9a3f052f441174 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ups, didn't expect that ... =C2=A0;-)
Thanks Wolfg= ang! Actually your version works, Hans' version does not ...
= (could try them only now)

Kind regards
E= rik

On= Wed, Mar 30, 2016 at 2:46 PM, Wolfgang Schuster <schuster.wolfg= ang@gmail.com> wrote:
30.=20 M=C3=A4rz 2016 um 10:11


\startbuffer .. \stopbuffer is parsed special

so use:

\def\Buffer#1#2
=C2=A0 {\setbuffer[#1]{\input #2\relax}}
\def\Buffer#1#2%
=C2=A0 {\setbuffer[#1]\input{#2}\endbuffer}

Wolfgang

_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--047d7b5d4a02fe9a3f052f441174-- --===============1193953525853919019== 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= --===============1193953525853919019==--