[NTG-context] figurenumbering

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Oct 5 12:35:11 CEST 2006

2006/10/2, Wolfgang Werners-Lucchini <wwl at musensturm.de>:
> > This was your example (not exactly the same) you posted as your
> > first example file and works now as expected.
> Ahh! I should implement my own testsuit.
> Wolfgang

Hi Wolfgang

you should not only make a testsuit.

It is normaly better to work with highlevel macros in your document to
replace the macrodefinition than replacing the macros in your document.

I made a first step for your document.



% increment the floatnumber



     \advance\count1 by 1

% set the number


     \message{:::: Your number need to be higher than the current
counter-value ::::}
     \advance\count2 by -\rawnumber[#1]

% Todo:
% \definefloatnumber[#1]
% example:
% \definefloatnumber[figure]
% o \incrementfigurenumber[#1] --> \incrementfloatnumber[figure][#1]
% o \setfigurenumber[#1]       --> \setfloatnumber[figure][#1]




This were \rawnumber[figure] figures by now!

We want to count on with \rawnumber[figure].


Figurenumber is incremented to \rawnumber[figure].












-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20061005/57adfab9/attachment.html 

More information about the ntg-context mailing list