From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25203 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: MPinclusions Date: Sun, 15 Jan 2006 17:33:05 +0100 Message-ID: <43CA7941.10606@wxs.nl> References: <7B3D7A66-9A1A-43EF-9822-642462D3A72E@science.uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137342798 4263 80.91.229.2 (15 Jan 2006 16:33:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 16:33:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 17:33:14 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1EyAoX-00086q-LS for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 17:33:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA6C212848; Sun, 15 Jan 2006 17:33:07 +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 07474-02; Sun, 15 Jan 2006 17:33:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1128912792; Sun, 15 Jan 2006 17:33:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EAB212792 for ; Sun, 15 Jan 2006 17:33:03 +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 07510-01 for ; Sun, 15 Jan 2006 17:33:02 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 2271C1278D for ; Sun, 15 Jan 2006 17:33:01 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 681 for ; Sun, 15 Jan 2006 11:43:49 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <7B3D7A66-9A1A-43EF-9822-642462D3A72E@science.uva.nl> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25203 Archived-At: Hans van der Meer wrote: > I thought to incrementally add to MPinclusions by successive blocks > > \startMPinclusions > ...... > \stopMPinclusions > > \startMPinclusions > ...... > \stopMPinclusions > etc. > > But according to the generated mp-file it seems to incorporate the > last one only. > Is this correct and if so, is it an option to allow appending in the > above manner? > Or will that be too difficult to build. (patch supp-mps.tex) \def\startMPinclusions {\dosingleempty\dostartMPinclusions} \long\def\dostartMPinclusions[#1]#2\stopMPinclusions % document wide {\doifelse{#1}{+} {\@EA\long\@EA\def\@EA\theMPinclusions\@EA {\theMPinclusions \writeMPgraphic{#2}}} {\long\def\theMPinclusions {% \expanded ! \@EA\expanded\@EA{\@EA\writeMPgraphic\@EA{\the\MPextensions;}}% new \writeMPgraphic{#2}}}} \def\MPinclusions {\dosingleempty\doMPinclusions} \long\def\doMPinclusions[#1]#2% {\startMPinclusions[#1]#2\stopMPinclusions} now you can say \startMPinclusions[+] .... i'll add this feature Hans