* Sequentially number figures (even over chapters)
@ 2011-11-28 6:58 Mikael P. Sundqvist
2011-11-28 9:41 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Mikael P. Sundqvist @ 2011-11-28 6:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
I want to number my figures sequentially, even over chapters. With the
code below (late(st) minimals and mkiv)
%%% Begin example
\setuphead[chapter][
page=no,
]
\setupcaptions[
way=bytext,
prefixsegments=none,
]
\starttext
\chapter{This is a short chapter}
It contains one figure.
\placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]}
\chapter{This is another short chapter}
It contains the same figure.
\placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]}
\stoptext
%%% End example
both figures are called "Figure 1". I would expect the second one to
be called Figure 2.
Any ideas?
Best regards, Mikael
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Sequentially number figures (even over chapters)
2011-11-28 6:58 Sequentially number figures (even over chapters) Mikael P. Sundqvist
@ 2011-11-28 9:41 ` Wolfgang Schuster
2011-11-29 11:42 ` Mikael P. Sundqvist
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-11-28 9:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.11.2011 um 07:58 schrieb Mikael P. Sundqvist:
> Dear list,
>
> I want to number my figures sequentially, even over chapters. With the
> code below (late(st) minimals and mkiv)
>
> %%% Begin example
> \setuphead[chapter][
> page=no,
> ]
>
> \setupcaptions[
> way=bytext,
> prefixsegments=none,
> ]
\setupcaption
[figure]
[way=bytext,
prefixsegments=none]
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] 3+ messages in thread
* Re: Sequentially number figures (even over chapters)
2011-11-28 9:41 ` Wolfgang Schuster
@ 2011-11-29 11:42 ` Mikael P. Sundqvist
0 siblings, 0 replies; 3+ messages in thread
From: Mikael P. Sundqvist @ 2011-11-29 11:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Nov 28, 2011 at 10:41 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 28.11.2011 um 07:58 schrieb Mikael P. Sundqvist:
>
>> Dear list,
>>
>> I want to number my figures sequentially, even over chapters. With the
>> code below (late(st) minimals and mkiv)
>>
>> %%% Begin example
>> \setuphead[chapter][
>> page=no,
>> ]
>>
>> \setupcaptions[
>> way=bytext,
>> prefixsegments=none,
>> ]
>
> \setupcaption
> [figure]
> [way=bytext,
> prefixsegments=none]
>
> 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
> ___________________________________________________________________________________
>
Thank you Wolfgang, that works (I must say I do not understand why
\setupcaptions can't be used in the same manner).
Is there somehow I can update the example at
http://wiki.contextgarden.net/Reference/en/setupcaptions to the code
working?
Best regards, Mikael
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2011-11-29 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 6:58 Sequentially number figures (even over chapters) Mikael P. Sundqvist
2011-11-28 9:41 ` Wolfgang Schuster
2011-11-29 11:42 ` Mikael P. Sundqvist
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).