On Fri, 10 Apr 2009, Wolfgang Schuster wrote:
Am 10.04.2009 um 15:38 schrieb Wolfgang Schuster:
Hi,
i found a few bugs in the new structure code for mkiv.
1. the dot after numbered items is missing
\starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext
2. indices in headers work not in interactive mode
\setupinteraction[state=start] \starttext \section{Section one\index{section}} \stoptext
3. \\ generates a backslash but was a space before
\starttext text\\text \stoptext
4. the page numbers in the index are wrong
\setuphead[part][placehead=yes] \starttext \part{One} text apple\index{apple} text \page text flower\index{flower} text \part{Two} text tomato\index{tomato} text \page text banana\index{banana} text \completeindex \stoptext
another thing are the page number in the example above, the old code reseted the number with each part and prefixed it but this happens no longer
5. \tex command did not work correct in \index
\starttext text command\index{\tex{command}} text \placeindex \stoptext
to be continued
I don't know, if this is a bug, but it worked with version 2009.04.06: 6. problem with \unprotect and \section{}: \unprotect \def\bla@bla{sec title} \def\mySection{\section{\bla@bla}} \protect \starttext \mySection bla bla \stoptext ERROR: Undefined control sequence. --- TeX said --- l.1 \bla @bla Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/