* Index and bookmark problem
@ 2006-12-01 18:01 Wim Neimeijer
2006-12-01 18:32 ` Aditya Mahajan
0 siblings, 1 reply; 2+ messages in thread
From: Wim Neimeijer @ 2006-12-01 18:01 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 3131 bytes --]
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}
?
[-- Attachment #1.2: Type: text/html, Size: 6390 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Index and bookmark problem
2006-12-01 18:01 Index and bookmark problem Wim Neimeijer
@ 2006-12-01 18:32 ` Aditya Mahajan
0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2006-12-01 18:32 UTC (permalink / raw)
On Fri, 1 Dec 2006, Wim Neimeijer wrote:
> 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 ?
add
\appendtoks\let\index\gobbleoneargument\to\simplifiedcommands
somewhere before \placebookmarks. You may need to remove your tuo file
to get this working.
Aditya
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-01 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-01 18:01 Index and bookmark problem Wim Neimeijer
2006-12-01 18:32 ` Aditya Mahajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).