From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25220 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: MPinclusions Date: Sun, 15 Jan 2006 19:36:03 +0100 Message-ID: <90700C12-3CC7-4181-8479-0E22BFCFF4EF@science.uva.nl> References: <7B3D7A66-9A1A-43EF-9822-642462D3A72E@science.uva.nl> <43CA7941.10606@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137354615 31946 80.91.229.2 (15 Jan 2006 19:50:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 19:50:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 20:50:13 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 1EyDtB-0002dP-A5 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 20:50:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F04F212890; Sun, 15 Jan 2006 20:50:08 +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 10386-02; Sun, 15 Jan 2006 20:50:08 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A89E12884; Sun, 15 Jan 2006 20:48:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 66A6C12884 for ; Sun, 15 Jan 2006 20:48:17 +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 10386-01-2 for ; Sun, 15 Jan 2006 20:48:16 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id 76E0E12877 for ; Sun, 15 Jan 2006 20:48:16 +0100 (CET) Original-Received: from 118-55.uva.surfnetthuis.nl [145.98.118.55] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k0FJmDx24136; Sun, 15 Jan 2006 20:48:13 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <43CA7941.10606@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new 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:25220 Archived-At: Thanks for incorporating this feature. It makes life easier in the case of complex \project's, where now the MPinclusions can be build up in successive stages. yours sincerely, dr. H. van der Meer On Jan 15, 2006, at 17:33, Hans Hagen wrote: > 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 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context