[NTG-context] Combinations

Aditya Mahajan adityam at umich.edu
Sun Oct 8 21:46:24 CEST 2006


On Sun, 8 Oct 2006, Pepe Barbe wrote:

> Aditya,
>
> Thanks for the help.
>
> On 10/8/06, Aditya Mahajan <adityam at umich.edu> wrote:
>> \startcombination[3*4,2*1] but then you will have to count on your
>> own.
>
> That is what I wanted to avoid, I don't know ConTeXt very well, and less TeX.
>
>> Perhaps, you can define (untested)
>>
>> \def\resetcombination{\stopcomination\startcombination} and then
>
> I tried a similar idea. But it didn't work. If I start with 2*1 and
> then 3*4 it shows everything but the first two are not centered, so
> its the same. If I do 3*4 and then 2*1 it just shows the 3*4 and thend
> the figure ends for some reason.

That was because you do not have proper grouping in your \placefigure 
definition. Try

\placefigure[tag][here] {Caption}
{% <-- Note this
\startcombination[3*4]
....
\stopcombination
\startcombination[2*1]
....
\stopcombination
} %<---- Note this

Aditya


More information about the ntg-context mailing list