ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* listoffloats question
@ 2006-09-01 15:14 richard rascher-friesenhausen
  2006-09-01 16:32 ` nico
  0 siblings, 1 reply; 11+ messages in thread
From: richard rascher-friesenhausen @ 2006-09-01 15:14 UTC (permalink / raw)


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*
%=======================================================================
% richard@mevis.de

% 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: richard@mevis.de, richard.rascher-friesenhausen@hs-bremerhaven.de
www  : http://www.mevis.de/, http://www.hs-bremerhaven.de/
fon  : +49 - 421 - 218 7707 (mevis)
fax  : +49 - 421 - 218 4236 (mevis)
==============================================================================

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

end of thread, other threads:[~2006-09-07 16:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-01 15:14 listoffloats question richard rascher-friesenhausen
2006-09-01 16:32 ` nico
2006-09-01 17:07   ` Aditya Mahajan
2006-09-01 19:37   ` Hans Hagen
2006-09-04 12:12   ` richard rascher-friesenhausen
2006-09-04 18:05     ` Willi Egger
2006-09-05  8:05       ` richard rascher-friesenhausen
2006-09-05  9:52         ` Willi Egger
2006-09-06 21:32         ` Hans Hagen
2006-09-07  7:44           ` richard rascher-friesenhausen
2006-09-07 16:24             ` Hans Hagen

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).