[NTG-context] How to exclude certain figures from list of figures in ConTeXt?

Geert Verhaag verhaaggchm at ziggo.nl
Wed Apr 15 22:12:22 CEST 2015


Hi Wolfgang,

Thank you very much for your suggestion!

Can you explain a bit the trick behind this mechanism?

Regards,
Gerard

On 13-04-15 21:02, Wolfgang Schuster wrote:
>> Am 12.04.2015 um 20:53 schrieb Geert Verhaag <verhaaggchm at ziggo.nl>:
>>
>> Hi,
>>
>> I was wondering whether it is possible to exclude certain figures of a document using the \placelistoffigures command in ConTeXt?
>>
>> For example those that start having a reference like ['fig:figure:exclude‘]?
>
> You can create a new float environment which inherits all values (including the counter) from the figure environment.
>
> \setupexternalfigures[location=default]
>
> \definefloat[nofigure][nofigures][figure]
>
> \starttext
>
> \placelist[figure]
>
> \blank[4*line]
>
> \startplacefigure[title=A duth cow]
> 	\externalfigure[cow][width=6cm]
> \stopplacefigure
>
> \startplacenofigure[title=A duth mill]
> 	\externalfigure[mill][width=6cm]
> \stopplacenofigure
>
> \stoptext
>
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list