Re: [NTG-context] Index and bookmark problem

2006-12-01 Thread Aditya Mahajan
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Index and bookmark problem

2006-12-01 Thread Wim Neimeijer

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}

   ?

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context