19 Oct
2010
19 Oct
'10
10:46 p.m.
On Tuesday 19 October 2010 20:15:37 Wolfgang Schuster wrote:
but it’s possible to get the desired result also with a selector, e.g.
<example id="2"> \defineselector[caption][max=2,n=2]
\startsetups select:caption \setupselector[caption][n=1] \stopsetups
\setupcaptions[setups=select:caption]
\starttext
This is some text with a reference to a table named \about[tab:table].
\placetable[here][tab:table]{\select{caption}{My caption.}{My caption}}{...}
\stoptext </example>
I sytematically use the selector mechanism for short caption/full caption, the short caption gets used for the list of figures and list of tables. \setupselector [caption] [n=1] \placelistoffigures [criterium=all] Alan