[NTG-context] Completecontent has problems with chapter in table

Huseyin Özoguz h.oezoguz at mmnetz.de
Fri Nov 23 11:12:40 CET 2018


> Hello,
>
> something like this?
>
> ----
> \setupexternalfigures[location=default]
>
> \define[1]\MyNumCmd{%
>     \externalfigure[hacker][height=2cm]
> }
>
> \setuphead[chapter][numbercommand=\MyNumCmd]
>
> \starttext
>     \chapter{Ch}
>
>     \input knuth
> \stoptext
> ----
>
> Best regards,
>
> Lukas

Thank you, yes that would work.

But btw (@Wolfgang), I updated to the newst beta, and still this 
min-example does not compile correctly:

\starttext
\completecontent[criterium=all]
\chapter{crags}
{\bTABLE
\bTR\bTD
\chapter{whateversssss}
\eTD \eTR
\eTABLE}
\chapter{goaxasoff}
\completecontent[criterium=previous]
\stoptext

The first Toc (\completecontent[criterium=all]) only has one entry, and 
the second (\completecontent[criterium=previous]) has all three.

Tanks.
Huseyin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20181123/b9a05dde/attachment.html>


More information about the ntg-context mailing list