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

2015-04-17 Thread Geert Verhaag

Hi Wolfgang,

Thank you very much for your clarification!

It just does the job very well, and this list completes my book (written 
in Dutch!) entirely typeset using ConTeXt!


And this is of course mentioned in the colophon of the book.

Regards,
Gerard

On 16-04-15 22:33, Wolfgang Schuster wrote:

Am 15.04.2015 um 22:12 schrieb Geert Verhaag verhaagg...@ziggo.nl:

Hi Wolfgang,

Thank you very much for your suggestion!

Can you explain a bit the trick behind this mechanism?

I created only a new float environment which copies all values from the figure 
environment
but it saves all caption entries in its own nofigure list and when you show 
only the figure
entries in the list the others are hidden.

\setupexternalfigures[location=default]

\definefloat[nofigure][nofigures][figure]

\starttext

\subject{Figure entries}

\placelist[figure]

\subject{Figure and nofigure entries}

\placelist[figure,nofigure]

\blank[4*line]

\startplacefloat[figure][title=A dutch cow]
\externalfigure[cow][width=6cm]
\stopplacefloat

\startplacefloat[nofigure][title=A dutch mill]
\externalfigure[mill][width=6cm]
\stopplacefloat

\stoptext

Wolfgang
___
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
___


___
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
___

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

2015-04-16 Thread Wolfgang Schuster

 Am 15.04.2015 um 22:12 schrieb Geert Verhaag verhaagg...@ziggo.nl:
 
 Hi Wolfgang,
 
 Thank you very much for your suggestion!
 
 Can you explain a bit the trick behind this mechanism?

I created only a new float environment which copies all values from the figure 
environment
but it saves all caption entries in its own nofigure list and when you show 
only the figure
entries in the list the others are hidden.

\setupexternalfigures[location=default]

\definefloat[nofigure][nofigures][figure]

\starttext

\subject{Figure entries}

\placelist[figure]

\subject{Figure and nofigure entries}

\placelist[figure,nofigure]

\blank[4*line]

\startplacefloat[figure][title=A dutch cow]
\externalfigure[cow][width=6cm]
\stopplacefloat

\startplacefloat[nofigure][title=A dutch mill]
\externalfigure[mill][width=6cm]
\stopplacefloat

\stoptext

Wolfgang
___
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
___

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

2015-04-15 Thread Geert Verhaag

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 verhaagg...@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@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
___


___
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
___

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

2015-04-13 Thread Wolfgang Schuster

 Am 12.04.2015 um 20:53 schrieb Geert Verhaag verhaagg...@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@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
___

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

2015-04-13 Thread Geert Verhaag

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']?


Gerard

___
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
___