From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32003 Path: news.gmane.org!not-for-mail From: Wim Neimeijer Newsgroups: gmane.comp.tex.context Subject: Index and bookmark problem Date: Fri, 01 Dec 2006 19:01:23 +0100 Message-ID: <45706DF3.6030100@cs.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1355874694==" X-Trace: sea.gmane.org 1164996099 28276 80.91.229.2 (1 Dec 2006 18:01:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2006 18:01:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 01 19:01:38 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 1GqCgL-0002rs-EY for gctc-ntg-context-518@m.gmane.org; Fri, 01 Dec 2006 19:00:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADE5F1FE82; Fri, 1 Dec 2006 18:58:01 +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 25855-03; Fri, 1 Dec 2006 18:57:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 12AD81FEA5; Fri, 1 Dec 2006 18:57:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 302D61FEFB for ; Fri, 1 Dec 2006 18:57:52 +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 25848-07-2 for ; Fri, 1 Dec 2006 18:57:47 +0100 (CET) Original-Received: from imo-m26.mx.aol.com (imo-m26.mx.aol.com [64.12.137.7]) by ronja.ntg.nl (Postfix) with SMTP id BBE281FE82 for ; Fri, 1 Dec 2006 18:57:46 +0100 (CET) Original-Received: from Wneimeijer01@cs.com by imo-m26.mx.aol.com (mail_out_v38_r7.6.) id a.38d.1b0faa36 (60447) for ; Fri, 1 Dec 2006 12:59:41 -0500 (EST) Original-Received: from [192.168.1.33] (3e331ada.dslaccess.aol.com [62.51.26.218]) by ciaaol-d04.mail.aol.com (v114.2) with ESMTP id MAILCIAAOLD044-ec1f45706d8a1e7; Fri, 01 Dec 2006 12:59:39 -0500 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: ntg-context@ntg.nl X-AOL-IP: 62.51.26.218 X-Mailer: Unknown (No Version) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32003 Archived-At: --===============1355874694== Content-Type: multipart/alternative; boundary="------------030909090401080309080300" --------------030909090401080309080300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I get an error when I use bookmarks in combination with indexed keywords in chapter/section like the example below. When I comment out the \placebookmarks, things seem to work. Is this behavior to be expected or is there a workaround/solution ? Kind regards Wim Neimeijer % Example % \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \starttext \chapter{Affiene connectie en affiene \index{geodeten}geodeten} \section{Inleiding} \index{Ruimtetijd} Ruimtetijd is een vierdimensionale differentieerbare vari\"eteit. In de vorige paragrafen hebben we op grond van het equivalentieprincipe van Einstein een metriek en een metrische connectie op \index{Ruimtetijd} Ruimtetijd ingevoerd. In deze paragraaf zullen we wat algemener een \index{connectie+affiene}affiene connectie op \index{Ruimtetijd} Ruimtetijd invoeren. Het zal blijken dat de metrische en de affiene connectie aan elkaar gelijk kunnen zijn. \setupfootertexts[] \setupheadertexts[][][][] \setupregister[index] [partnumber=no, criterium=all, pagestyle={\tf}, style={\WORD}, % use uppercase header characters! interaction=pagenumber, align=yes] \completeindex \stoptext Error from log >texmfstart texexec --autopdf --pdf testindex.tex TeXExec | processing document 'testindex.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file testindex.top TeXExec | using randomseed 1138 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en TeXExec | progname: context This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. (f:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx) entering extended mode (./testindex.tex ConTeXt ver: 2006.11.16 12:02 MK II fmt: 2006.11.16 int: english/english language : language en is active system : cont-new loaded ...... ( some info lines deleted) (f:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : system commands are enabled interaction : active (./testindex.tuo) (./testindex.tuo ! Undefined control sequence. \doregister #1->\chardef \registerpagestatus \plusone \def \currentregister ... Affiene connectie en affiene \index {geodeten}geodeten \sanitizePDFdocencoding ...docencoding \edef #2{#1 } \doPDFinsertbookmark ...oding #3\to \bookmarktext \stripstring \bookmarktext... \flushbookmark \dodoputbookmarkelement {\v!chapter }{10}{2}{\head... \secondoftwoarguments #1#2->#2 l.27 ...\headtext {index}}{2--0-2-0-0-0-0-0--3}{3} ? --------------030909090401080309080300 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi,

I get an error when I use bookmarks in combination with indexed keywords in chapter/section
like the example below. When I comment out the \placebookmarks, things seem to work.
Is this behavior to be expected or is there a workaround/solution ?

Kind regards
Wim Neimeijer

% Example %
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupinteractionscreen[option=bookmark]

\starttext
\chapter{Affiene connectie en affiene \index{geodeten}geodeten}
\section{Inleiding}
\index{Ruimtetijd} Ruimtetijd is een vierdimensionale differentieerbare vari\"eteit. In de vorige paragrafen hebben we op grond
van het equivalentieprincipe van Einstein een metriek en een metrische connectie op \index{Ruimtetijd} Ruimtetijd ingevoerd.
In deze paragraaf zullen we wat algemener een \index{connectie+affiene}affiene connectie op \index{Ruimtetijd} Ruimtetijd invoeren.
Het zal blijken dat de metrische en de affiene connectie aan elkaar gelijk kunnen zijn.

\setupfootertexts[]
\setupheadertexts[][][][]
\setupregister[index] [partnumber=no,
                                   criterium=all,
                                   pagestyle={\tf},
                                   style={\WORD},         % use uppercase header characters!
                                   interaction=pagenumber,
                                   align=yes]
\completeindex
\stoptext

Error from log

>texmfstart texexec --autopdf --pdf testindex.tex
TeXExec | processing document 'testindex.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file testindex.top
TeXExec | using randomseed 1138
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
\write18 enabled.
(f:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx)
entering extended mode
(./testindex.tex

ConTeXt  ver: 2006.11.16 12:02 MK II  fmt: 2006.11.16  int: english/english

language        : language en is active
system          : cont-new loaded
...... ( some info lines deleted)
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
systems         : system commands are enabled
interaction     : active
(./testindex.tuo) (./testindex.tuo
! Undefined control sequence.
\doregister #1->\chardef \registerpagestatus
                                            \plusone \def \currentregister ...
<argument> Affiene connectie en affiene \index
                                              {geodeten}geodeten
\sanitizePDFdocencoding ...docencoding \edef #2{#1
                                                 }
\doPDFinsertbookmark ...oding #3\to \bookmarktext
                                                 \stripstring \bookmarktext...
<argument> \flushbookmark
                         \dodoputbookmarkelement {\v!chapter }{10}{2}{\head...

\secondoftwoarguments #1#2->#2
                            l.27 ...\headtext {index}}{2--0-2-0-0-0-0-0--3}{3}
                                                ?

--------------030909090401080309080300-- --===============1355874694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1355874694==--