From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79916 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: New module: simplesteps. Date: Sat, 15 Dec 2012 07:02:47 +0100 Message-ID: <795492AE-9CED-45B0-AB81-9A5EF9B137E6@gmail.com> References: <20121214010420.GA18312@phlegethon.router_intern> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355551380 11548 80.91.229.3 (15 Dec 2012 06:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Dec 2012 06:03:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 15 07:03:12 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tjkq4-0000PL-B4 for gctc-ntg-context-518@m.gmane.org; Sat, 15 Dec 2012 07:03:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BD3910283; Sat, 15 Dec 2012 07:02:54 +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 cCnd51oPIAHt; Sat, 15 Dec 2012 07:02:53 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 503361020B; Sat, 15 Dec 2012 07:02:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 850AB1020B for ; Sat, 15 Dec 2012 07:02:52 +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 QxxKJnFy2jYJ for ; Sat, 15 Dec 2012 07:02:51 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 6067B10202 for ; Sat, 15 Dec 2012 07:02:51 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBF62lkJ006929 for ; Sat, 15 Dec 2012 07:02:48 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so2146998bkc.14 for ; Fri, 14 Dec 2012 22:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=P5HxhqQg+4Ms5bcDWhNTk957eJe3Klepypdf0fQzY7I=; b=xDE+8ItPoxxcf+TCTQ+maGxw8Mic2z6KeX+pn50EMMibVfOF4z8APdGpyZZMHhJq54 ictdTcSjGoCnOyDPHBOzYlSH8jvzIg/ozL68OjUkmDOSvNn78kj3ay5CVW1Jfz5nEagv JYAxXIT9w54bFAu78XvclWdwQp6VCUHlLZpKhq978KOGMuVv1fIVNyBB7JYV45C1uvoE JwM543rFlsgphcqbT7J8Rr7We8VY91rmIrHUYAopplD2jFDyUqifWpPd/ERGLrknQM3H /2JAjFw5Gi0lg8EhZ0BvagqL68te/jCO7JZUyRMZq9eSVmIQ1d8OtI+jMNUr5eUahgNg M0eA== Original-Received: by 10.204.9.147 with SMTP id l19mr3751922bkl.15.1355551367763; Fri, 14 Dec 2012 22:02:47 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf01cd.pool.mediaWays.net. [77.191.1.205]) by mx.google.com with ESMTPS id l17sm5945761bkw.12.2012.12.14.22.02.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Dec 2012 22:02:46 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) 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: 08IzG2Mfd - d1d3d05bb24e - 20121215 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79916 Archived-At: Am 15.12.2012 um 00:07 schrieb Andre Caldas : >> thanks for the interesting contribution! Have a look at the patch >> I hopefully don=92t forget to append. > = > I didn't quite understood how this works: > \unexpanded\def\startframe{\dosingleempty\frame_start} This creates the new command \startframe which calls the internal command \= frame_start which has one optional argument. > \def\frame_start[#1]{% > \iffirstargument > \section{#1}%% solution needed here! > \fi This block checks if the optional argument is used by the user, when the ar= gument is used the content is typeset as \section. > \begingroup > \grabbufferdata[simplesteps][startframe][stopframe]% > } With the \grabbufferdata command the content beginning from \startframe unt= il \stopframe is stored in a buffer with the name =93simplesteps=94. > \let\stopframe\simplestepsplaybuffer This makes the \stopframe command a synonym for \simplestepsplaybuffer whic= h is now called when the frame environment ends. 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 ___________________________________________________________________________= ________