Hello,

in my scripts i use different kinds of figure, defined as floats cloned 
from the original ConTeXt figure:

\definefloat[afigure][afigures][figure]
\definefloat[bfigure][bfigures][figure]

In my script environment i use different setups for figure, afigure and 
bfigure that are not shown here.
Using cloning, all figures use the same counter, which is nice. But how 
can i get all figures into the same listoffigures, so that i can use 
only one \placelistof*** instead of three?

Regards
   richard

%=======================================================================
% begin of file *list-test.tex*
%=======================================================================
% [EMAIL PROTECTED]

% layout
%-----------------------------------------------------------------------
\setuppapersize[A4][A4]

% float defs
%-----------------------------------------------------------------------
\definefloat[afigure][afigures][figure]
\definefloat[bfigure][bfigures][figure]

%=======================================================================
\starttext
%=======================================================================
\placelistoffigures
\placelistofafigures
\placelistofbfigures
\hairline

A figure:
\placefigure{a figure}{\framed[width=3cm,height=3cm]{figure}}

An a-figure:
\placeafigure{an a-figure}{\framed[width=3cm,height=3cm]{afigure}}

An b-figure:

\placebfigure{a b-figure}{\framed[width=3cm,height=3cm]{bfigure}}

%-----------------------------------------------------------------------
\page
%-----------------------------------------------------------------------

A figure:
\placefigure{a figure}{\framed[width=3cm,height=3cm]{figure}}

An a-figure:
\placeafigure{an a-figure}{\framed[width=3cm,height=3cm]{afigure}}

An b-figure:

\placebfigure{a b-figure}{\framed[width=3cm,height=3cm]{bfigure}}

%=======================================================================
\stoptext
%=======================================================================
% end of file *list-test.tex*
%=======================================================================

-- 

==============================================================================
Richard Rascher-Friesenhausen                
MeVis Research GmbH
Universitaetsallee 29
D-28359 Bremen

als auch
Hochschule Bremerhaven, Studiengang Medizintechnik
An der Karlsstadt 8
27568 Bremerhaven

email: [EMAIL PROTECTED], [EMAIL PROTECTED]
www  : http://www.mevis.de/, http://www.hs-bremerhaven.de/
fon  : +49 - 421 - 218 7707 (mevis)
fax  : +49 - 421 - 218 4236 (mevis)
==============================================================================


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to