From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55798 Path: news.gmane.org!not-for-mail From: Bernhard Vogel Newsgroups: gmane.comp.tex.context Subject: useblocks troubles Date: Mon, 25 Jan 2010 17:44:21 +0100 Message-ID: <201001251744.21536.bbvogel@home.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264437877 7636 80.91.229.12 (25 Jan 2010 16:44:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jan 2010 16:44:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 25 17:44:29 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZS3A-0001ID-Un for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jan 2010 17:44:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C58EDC9C43; Mon, 25 Jan 2010 17:44:39 +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 AZtr7ZcyZIvK; Mon, 25 Jan 2010 17:44:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 793A2C9BDF; Mon, 25 Jan 2010 17:44:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4ADD7C9BDF for ; Mon, 25 Jan 2010 17:44:35 +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 YKGJJoZU4y6j for ; Mon, 25 Jan 2010 17:44:33 +0100 (CET) Original-Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by balder.ntg.nl (Postfix) with ESMTP id E7B42C9BD0 for ; Mon, 25 Jan 2010 17:44:32 +0100 (CET) Original-Received: from [212.54.34.136] (helo=smtp5.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NZS34-00083e-Rt for ntg-context@ntg.nl; Mon, 25 Jan 2010 17:44:22 +0100 Original-Received: from 5ed61b9e.cable.ziggo.nl ([94.214.27.158] helo=kosh.lan) by smtp5.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NZS34-0000xx-Bi for ntg-context@ntg.nl; Mon, 25 Jan 2010 17:44:22 +0100 User-Agent: KMail/1.9.9 Content-Disposition: inline X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1NZS34-0000xx-Bi X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-1.799, vereist 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_50 0.00) X-ZiggoSMTP-MailScanner-From: bbvogel@home.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55798 Archived-At: Dear all, When selecting multiple blocks: \useblocks[someblock,otherblock], the blocks are selected but the before and after statements are not processed. Is the expected behaviour? Tia, Bernard Example: \defineblock[someblock] \defineblock[otherblock] \setupblock[someblock] [before={ -Begin- }, after={ -End- }] \hideblocks[someblock,otherblock] \starttext \beginsomeblock SOMEBLOCK \endsomeblock \beginotherblock OTHERBLOCK \endotherblock \section{No before or after} \useblocks[someblock,otherblock] \useblocks[otherblock,someblock] \section{Separately they work} \useblocks[someblock] \useblocks[otherblock] \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________