Re: [NTG-context] how to place figures next to each other

2005-03-29 Thread Hans Hagen
Peter wrote:
Peter wrote:
How can I place two figures next to each other without using a 
\startcombination ... \stopcombination group?

I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent 
figures, but when using a combination, the whole combination is 
treated as one figure and gets only one number and one label.

  
X  X  X  X
  
fig.n  fig.n+1
I've consulted the manuals and searched the list archives, but I have 
not found a solution.

tnx in advance,
I now know how to suppress the caption of the combination. By using the 
option none.
Now I have to generate the captions of the two figures with the correct 
numbers and the reference-labels by hand. So my questions:
- How can I increment the figure counter?
- How can I print the current figure number?
- How can I add labels for referencing to the two figures?
- Is there a better approach to do this?

I have two small figures. So I really want them next to each other. It's 
a waste of space to put them underneath each other.
ok then, since no one comes to your help ...
\starttext
\placefigure
  [none]
  {}
  {\startcombination
 {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
 {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
   \stopcombination}
\stoptext
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to place figures next to each other

2005-03-29 Thread Peter
Hans Hagen wrote:
\starttext
\placefigure
  [none]
  {}
  {\startcombination
 {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
 {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
   \stopcombination}
\stoptext
Wow, is it that simple and elegant...
I had to figure out to replace 'figure' by 'figuur' in the dutch 
interface. But doing so gives me exactly what I want.
Many thanks!
Peter
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to place figures next to each other

2005-03-25 Thread Peter
Peter wrote:
How can I place two figures next to each other without using a 
\startcombination ... \stopcombination group?

I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent 
figures, but when using a combination, the whole combination is treated 
as one figure and gets only one number and one label.

  
X  X  X  X
  
fig.n  fig.n+1
I've consulted the manuals and searched the list archives, but I have 
not found a solution.

tnx in advance,
I now know how to suppress the caption of the combination. By using the 
option none.
Now I have to generate the captions of the two figures with the correct 
numbers and the reference-labels by hand. So my questions:
- How can I increment the figure counter?
- How can I print the current figure number?
- How can I add labels for referencing to the two figures?
- Is there a better approach to do this?

I have two small figures. So I really want them next to each other. It's 
a waste of space to put them underneath each other.

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


Re: [NTG-context] how to place figures next to each other

2005-03-21 Thread Peter
Matthias Weber wrote:
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
 [...]
Thanks for the try. I've also tried columns. But the floating mechanism 
and columns/tables doesn't cooperate very well...

Maybe there is a way to increment the figure counter by hand? And to add 
a label for the added figurenumber? Then I can make the 
[2*1]-combination appear as two independent figures.

the only problem then is the caption of the combination. I don't want 
that caption, and I don't want the space that is occupied by that caption.

greetings
Peter
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to place figures next to each other

2005-03-20 Thread Matthias Weber
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
\starttable[|c|c|]
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\FR
\stoptable
\stoptext
But something in \placefigure produces undesired glue so that the 
figures
end up in the margins.

Somebody else?
Matthias
On Mar 19, 2005, at 6:17 AM, Peter wrote:
Dear list,
How can I place two figures next to each other without using a 
\startcombination ... \stopcombination group?

I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent 
figures, but when using a combination, the whole combination is 
treated as one figure and gets only one number and one label.

  
X  X  X  X
  
fig.n  fig.n+1
I've consulted the manuals and searched the list archives, but I have 
not found a solution.

tnx in advance,
Peter van Kranenburg
p.s. I've already sent this message to the list, thursday, but it 
didn't show up in my inbox. So this is another try.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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