From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55571 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: reusing figures ok - problem with hiding blocks in MKIV Date: Fri, 15 Jan 2010 10:26:38 -0500 Message-ID: <53590C9A-D906-41E9-9481-A24D5C745C40@indiana.edu> References: <14AAC5F8-22CF-43BC-ABAE-6D91B734A8D5@uva.nl> <01B55BA4-FE4A-4AA6-83F6-695CB56A4190@gmail.com> <2B222B03-0FDD-41C0-BF46-265F683B7C8B@uva.nl> <4B4E09FA.4000307@wxs.nl> <901906F1-CFC7-4A9A-8909-8CEAC0E7006C@uva.nl> <1656F9A9-52F7-4FC5-AE57-3309F752A93F@uva.nl> <4B4E2F70.5020103@wxs.nl> <07860E21-DC5A-4678-A821-FC807420627C@indiana.edu> <6CF9657D-3F72-4BCA-A4F5-E83938344C51@indiana.edu> <4B4F9C8B.3050307@wxs.nl> <4B456726-CCF3-4889-A237-1C7B6E3E5AE3@indiana.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary=Apple-Mail-1--353326264 X-Trace: ger.gmane.org 1263569225 21727 80.91.229.12 (15 Jan 2010 15:27:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 15:27:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 15 16:26:57 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 1NVo4a-0006gW-9S for gctc-ntg-context-518@m.gmane.org; Fri, 15 Jan 2010 16:26:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3BE0C9CAF; Fri, 15 Jan 2010 16:26:51 +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 58A5HOiIdEdu; Fri, 15 Jan 2010 16:26:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E1ADC9BB2; Fri, 15 Jan 2010 16:26:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E685C9BB2 for ; Fri, 15 Jan 2010 16:26:47 +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 LLlCo93wZoPR for ; Fri, 15 Jan 2010 16:26:44 +0100 (CET) Original-Received: from belushi.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by balder.ntg.nl (Postfix) with ESMTP id 5128BC9B91 for ; Fri, 15 Jan 2010 16:26:44 +0100 (CET) Original-Received: from mail-relay.iu.edu (burns.uits.indiana.edu [129.79.1.202]) by belushi.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id o0FFQh1X025312 for ; Fri, 15 Jan 2010 10:26:43 -0500 Original-Received: from 129-79-94-195.dhcp-bl.indiana.edu (129-79-94-195.dhcp-bl.indiana.edu [129.79.94.195]) (authenticated bits=0) by mail-relay.iu.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id o0FFQgtY019935 for ; Fri, 15 Jan 2010 10:26:42 -0500 In-Reply-To: <4B456726-CCF3-4889-A237-1C7B6E3E5AE3@indiana.edu> X-Mailer: Apple Mail (2.936) 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:55571 Archived-At: --Apple-Mail-1--353326264 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Dear all, after (finally) installing the minimals, the zip with the figures TeXs as expected with MKII and MKIV. Now, in MKIV I notice another issue. I use the \hideblocks mechanism to hide and reuse answers and get an error message (Undefined control sequence) in MKIV while everything is fine in MKII. I am attaching a sample file. Thanks for all the help! Matthias --Apple-Mail-1--353326264 Content-Disposition: attachment; filename=test.tex Content-Type: application/octet-stream; x-mac-hide-extension=yes; x-mac-type=54455854; x-mac-creator=54655873; x-unix-mode=0644; name="test.tex" Content-Transfer-Encoding: 7bit \setupbodyfont[12pt] \setuppagenumbering[location={footer,middle},way=bytext] \setuppapersize[letter][letter] \setuphead [section] [numberstyle=bold, page=yes, continue=no ] \defineenumeration [exercise] [way=bysection, text=Exercise, start=1, location=hanging, letter=rm] \defineenumeration [solution] [text=Solution, way=bysection, location=hanging, letter=rm] \defineblock[exercise,solution] \hideblocks[solution] \setupinteraction [state=start] \starttext \section{Problems} \startexercise Addition\index{addition} problem: $1+1=?$. \stopexercise \beginsolution \solution incorrect\index{incorrect} answer: 3. \endsolution \section{Answers to the Problems} \reset[solution] \useblocks[solution] \section{Index} \completeindex \stoptext --Apple-Mail-1--353326264 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-1--353326264 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail-1--353326264--