ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to exclude certain figures from list of figures in ConTeXt?
@ 2015-04-12 18:53 Geert Verhaag
  2015-04-13 19:02 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Verhaag @ 2015-04-12 18:53 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to exclude certain figures from list of figures in ConTeXt?
  2015-04-12 18:53 How to exclude certain figures from list of figures in ConTeXt? Geert Verhaag
@ 2015-04-13 19:02 ` Wolfgang Schuster
  2015-04-15 20:12   ` Geert Verhaag
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2015-04-13 19:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 12.04.2015 um 20:53 schrieb Geert Verhaag <verhaaggchm@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to exclude certain figures from list of figures in ConTeXt?
  2015-04-13 19:02 ` Wolfgang Schuster
@ 2015-04-15 20:12   ` Geert Verhaag
  2015-04-16 20:33     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Verhaag @ 2015-04-15 20:12 UTC (permalink / raw)
  To: ntg-context

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@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to exclude certain figures from list of figures in ConTeXt?
  2015-04-15 20:12   ` Geert Verhaag
@ 2015-04-16 20:33     ` Wolfgang Schuster
  2015-04-17  7:44       ` Geert Verhaag
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2015-04-16 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 15.04.2015 um 22:12 schrieb Geert Verhaag <verhaaggchm@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to exclude certain figures from list of figures in ConTeXt?
  2015-04-16 20:33     ` Wolfgang Schuster
@ 2015-04-17  7:44       ` Geert Verhaag
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Verhaag @ 2015-04-17  7:44 UTC (permalink / raw)
  To: ntg-context

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 <verhaaggchm@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-17  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12 18:53 How to exclude certain figures from list of figures in ConTeXt? Geert Verhaag
2015-04-13 19:02 ` Wolfgang Schuster
2015-04-15 20:12   ` Geert Verhaag
2015-04-16 20:33     ` Wolfgang Schuster
2015-04-17  7:44       ` Geert Verhaag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).