Another question regarding ConTeXt beta 2009.04.21 16:11, should the \completelistoffigures in the example below work, or are the \completelistofXXX macros still not fully supported in the new Mark IV structure code?

\starttext
\completelistoffigures

\input knuth

\placefigure[fig:hacker]
  {Hacker.}
  {\externalfigure[hacker]}

\input tufte

\placefigure[fig:cow]
  {Cow.}
  {\externalfigure[cow]}

\stoptext

! LuaTeX error ...beta/tex/texmf-context/tex/context/base/strc-doc.lua:502: attempt to index field 'sectiontitle' (a nil value)
stack traceback:
    ...beta/tex/texmf-context/tex/context/base/strc-doc.lua:502: in function 'sectiontitle'
    ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:308: in function 'title'
    <main ctx instance>:1: in main chunk.
\structurelistsectiontitle ...\currentlistindex )}
                                                 
\listtextcommand #1->\begstrut #1
                                 \endstrut
<argument> ...tentry {\structurelistsectiontitle }
                                                  }\egroup \ifdim \wd 4=\zer...
\secondoftwoarguments #1#2->#2
                             
\dosomelistelement ... 4\relax \relax \fi }\hss }}
                                                  \endgraf \nointerlineskip ...
\dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6}
                                                  \global \utilitydonetrue
...
l.3


On Fri, Apr 10, 2009 at 7:38 AM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
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


to be continued ...


Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________