At 12:00 PM 7/15/2001 +0200, Giuseppe Bilotta wrote:

>Saturday, July 14, 2001 Johannes Huesing wrote:
>
>JH> On Fri, Jul 13, 2001 at 11:59:48PM +0200, Giuseppe Bilotta wrote:
> >>
> >> Friday, July 13, 2001 Hans Hagen wrote:
> >>
> >> HH> \startcombination
> >>
> >> But don't these set a single caption for both tables?
> >>
>
>JH> They set a single caption for each figure. You can put the 
>\startcombination
>JH> and \stopcombination within the argument of \placefigure if you want the
>JH> whole thing to float, but you can set the caption argument of \placefigure
>JH> to {none} to avoid a common caption. Unfortunately, you will lose the
>JH> ability to assign a number to each of your members of the combination.
>
>But the latter (one number for each) is one of the things I want.

Ah, how demanding. how about:

\starttext

\startbuffer
\startcombination
   {\externalfigure[koe.pdf][height=1cm,width=5cm]}
   {\placefloatcaption[figure]{Just a cow}}
   {\externalfigure[koe.pdf][height=1cm,width=5cm]}
   {\placefloatcaption[figure]{Just another cow}}
\stopcombination
\stopbuffer

\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}

\stoptext

The next piece of code should go into cont-new.tex. It is a new thing that 
i needed for pop of superscaled floats [click on float and get the big one] 
in a style i made recently [meant for a userguide for a blood pressure 
measuring device]. As the comment says: it's experimental code.

% Quite experimental !

% the split is needed when for instance the float goes into
% a multi page field and the list of figs becomes larger than
% one page: cycle between 'only flush when object ref ok'
% and 'one/many page fig list'; see "uguide finometer"

\def\placefloatcaption
   {\dodoubleempty\doplacefloatcaption}

\def\doplacefloatcaption[#1][#2]#3%
   {\setfloatcaption[#1][#2]{#3}%
    \placefloatcaptiontext[#1]%
    \placefloatcaptionreference[#1]}

\def\setfloatcaption
   {\dodoubleempty\dodosetfloatcaption} % beware, name clash
  \def\dodosetfloatcaption[#1][#2]#3% to do namespace for number/ascii
   {\doifelsevalue{\??kj#1\c!nummer}{\v!ja} % also handle trialtypesetting
      {\verhoognummer[#1]%
       \maakhetnummer[#1]%
       \global\let\flhetnummer\hetnummer
       \setgvalue{@fl@r@#1}%
         {\dofloatreference
          \redofloatorder{#1}%
          \doschrijfnaarlijst{#1}{\flhetnummer}{#3}{#1}%
          \doglobal\convertargument#3\to\flasciititle % \asciititle is global?
          \doifsomething{#2}{\rawreference{\s!flt}{#2}{{\flhetnummer}{\flasciititle}}}%
          \global\letvalue{@fl@r@#1}\relax}% nills
       \setgvalue{@fl@t@#1}%
         {\doattributes{\??kj#1}\c!kopletter\c!kopkleur
            {\labeltexts{#1}{\flhetnummer}}%
          \doattributes{\??kj#1}\c!letter\c!kleur
            {\tfskip#3}}}
      {\global\letvalue{@fl@r@#1}\relax
       \global\letvalue{@fl@t@#1}\relax}}

\def\placefloatcaptiontext     [#1]{\getvalue{@fl@t@#1}}
\def\placefloatcaptionreference[#1]{\getvalue{@fl@r@#1}}
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to