Re: [NTG-context] Sequentially number figures (even over chapters)
On Mon, Nov 28, 2011 at 10:41 AM, Wolfgang Schuster schuster.wolfg...@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 ___
Re: [NTG-context] Sequentially number figures (even over chapters)
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 ___
[NTG-context] Sequentially number figures (even over chapters)
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 ___