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

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Apr 13 21:02:03 CEST 2015


> 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


More information about the ntg-context mailing list