From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55774 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: More questions about hiding/reusing blocks Date: Sun, 24 Jan 2010 17:57:04 +0100 Organization: Message-ID: <4B5C7BE0.5030605@wxs.nl> 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> <53590C9A-D906-41E9-9481-A24D5C745C40@indiana.edu> <4B54233F.90307@wxs.nl> <1F076ACF-B2D2-4EB9-B371-293265296E38@indiana.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264356275 32556 80.91.229.12 (24 Jan 2010 18:04:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2010 18:04:35 +0000 (UTC) Cc: Matthias Weber To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 24 19:04:27 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1NZ6ox-0008Ez-5y for gctc-ntg-context-518@m.gmane.org; Sun, 24 Jan 2010 19:04:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36509C9DDA; Sun, 24 Jan 2010 17:57:48 +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 Su74Y+vadD1x; Sun, 24 Jan 2010 17:57:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02D04C9DB9; Sun, 24 Jan 2010 17:57:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22E50C9DB9 for ; Sun, 24 Jan 2010 17:57:38 +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 uj1Dgx8XDpW4 for ; Sun, 24 Jan 2010 17:57:29 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 06BC4C9DB8 for ; Sun, 24 Jan 2010 17:57:12 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 2739-1713362 for multiple; Sun, 24 Jan 2010 17:56:39 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 In-Reply-To: <1F076ACF-B2D2-4EB9-B371-293265296E38@indiana.edu> X-Authenticated-User: hagen@controller-9 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:55774 Archived-At: On 22-1-2010 16:19, Matthias Weber wrote: > Dear all, > > I have two more questions about reusing blocks and interreferencing them. > > First of all, I have set up problems within different chapters, and > would like to have a separate chapter at the end that gathers > the solutions chapter by chapter like > > \chapter{Solutions} > \section{Solutions from chapter 1} > > get these here > > \section{Solutions from chapter 2} > > get those here you can group your solutions in categories: \beginsolution[one] .... and then use \useblocks[solution][one] > A sample file is attached below that has the layout, but all I know is > how to retrieve all blocks at once. Would I need to create another block > at the end of each chapter, and > retrieve these at the end? If so, how? > > Then, I'd like to have little inconspicuous hyperlinks from the exercise > to its solution and back. So far, I can only do this manually, as > indicated. I would prefer to have the text Exercise in the enumeration > to become a hyperlink to the corresponding solution, and vice versa for > the text Solution. > > Is there a way of doing this (or something similar)? actually in mkii there is (using symbols pointing to the companion that can be clicked) but in mkiv i didn't yet add the code for that but i will do that (we used that long ago in interactive educational documents) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________