From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60872 Path: news.gmane.org!not-for-mail From: Martin Althoff Newsgroups: gmane.comp.tex.context Subject: Interaction and TOC/content problmes Date: Wed, 11 Aug 2010 18:34:20 -0700 (PDT) Message-ID: <705738.43711.qm@web56306.mail.re3.yahoo.com> 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: dough.gmane.org 1281576875 6742 80.91.229.12 (12 Aug 2010 01:34:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2010 01:34:35 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 12 03:34:34 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.69) (envelope-from ) id 1OjMgh-0004Qu-5a for gctc-ntg-context-518@m.gmane.org; Thu, 12 Aug 2010 03:34:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67B52CA365; Thu, 12 Aug 2010 03:34:30 +0200 (CEST) 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 QLkYWJjkLLrt; Thu, 12 Aug 2010 03:34:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A296CA368; Thu, 12 Aug 2010 03:34:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E52D9CA368 for ; Thu, 12 Aug 2010 03:34:24 +0200 (CEST) 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 9AOg0uvvI-Ip for ; Thu, 12 Aug 2010 03:34:22 +0200 (CEST) Original-Received: from n7.bullet.re3.yahoo.com (n7.bullet.re3.yahoo.com [68.142.237.92]) by balder.ntg.nl (Postfix) with SMTP id B0EABCA365 for ; Thu, 12 Aug 2010 03:34:21 +0200 (CEST) Original-Received: from [68.142.237.90] by n7.bullet.re3.yahoo.com with NNFMP; 12 Aug 2010 01:34:20 -0000 Original-Received: from [66.196.114.73] by t6.bullet.re3.yahoo.com with NNFMP; 12 Aug 2010 01:34:20 -0000 Original-Received: from [127.0.0.1] by omp302.mail.re3.yahoo.com with NNFMP; 12 Aug 2010 01:34:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 799941.68164.bm@omp302.mail.re3.yahoo.com Original-Received: (qmail 45800 invoked by uid 60001); 12 Aug 2010 01:34:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281576860; bh=pEQQQt4uz7qcKtV0fl1gmiHTedJS/6B2EQrzcFMo3os=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d8Nm36cPejMV7iezAApCv5W3qwx5rkGNnEYVYRYPtLFf2OETM7gp0ceCHtjCGRMm4SLlzqNmXWhmGGN3DP8X7Kr8YQ0rzz0YSRQ0WD72TOODn4BXWeSFP7bSPZZl06grA1I0gHoimvLDWsSCwZ7sUiVCibWiKcJWhsnsFmzc8Gk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xvVejeyf7G4/HIN5awXq3kf2BxX7mTHavS1Caogp6vTiPJOyV8Epof5KZo74dpBynK599u+pE5j/OOepsZKaQJeBd0yebVKBLot/5nR7Cf7S+hkyA5HqMD7w7w7tH9yOPYB5ElP0hDAZWhtJzLEzvuWwalTGEWgG0W1ND/h/ykA=; X-YMail-OSG: p9aGeRYVM1n3xqrybmygSenS4N42nDA2ypc3bTI2LZMkqmi GW6S7qucxc.GlIPox79UkmwCLLyO3zTGabYvRlfr9jTCGt5xPdVQ2b3VknmQ 9xAQr9AwFWXWSXIE5aaY0npWpUP6a5FZiTKV1wplMi2Zb2vYKDw.pwB4.2hy qI6INN.gF3SSZ6R2vssSoIe80Z6AgloDYpFT72I_ZEKyVSvYWBql1Tvadkph gjltpLHlVuVTOLpCYgte0LwAjQgfWrA0D_ZOyp3KWN7VJqnC4.WohhdtVUvI pLPW7f09S9RCUReUcwtFkfRJVeIk- Original-Received: from [114.59.97.93] by web56306.mail.re3.yahoo.com via HTTP; Wed, 11 Aug 2010 18:34:20 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 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:60872 Archived-At: I am having a couple of small problems with the interaction. In principle it's working, but... 1. The TOC is added to the bookmarks, which is fine, but with a lower-case "c", ie. "content" 2. From http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers I figured out how to get rid of the \crlf in the header. Actually, I'd be happy to just pass the word "Introduction" to the bookmarks and leave out the rest. Any way of doing that? 3. Strangely enough, placing \bookmark{Intro} after the \title {Introduction -- \crlf Welcome} replaces the "content" entry and points to the content, but putting a \bookmark after \completecontent leads to no output at all. Thanks for any pointers ! Martin \setupinteraction[ state=start, color=, contrastcolor=] \setupcombinedlist[content][interaction=all] \placebookmarks[chapter,title][force=yes] \setuphead[chapter][interaction=list] \setuplabeltext[chapter=Chapter~] \definecombinedlist [content][title,chapter] %strip the \crlf \appendtoks \let\crlf\space \to \simplifiedcommands \starttext \startfrontmatter \startstandardmakeup \input tufte \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \title {Introduction -- \crlf Welcome} %\bookmark{Intro} \dorecurse{5}{\input tufte\par} \chapter{Some Stuff} \dorecurse{5}{\input tufte\par} \chapter{An Addition} \dorecurse{5}{\input tufte\par} \stopbodymatter \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 ___________________________________________________________________________________