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

Reply via email to