Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-27 Thread Thomas Floeren


On Jun 26, 2009, at 1:42 PM, Vyatcheslav Yatskovsky wrote:


Hello

I used \placefigure just for centering the figure. And even if I put  
\startcombination directly, won't it reserve blank space for empty  
subcaptions?


Actually, I found nice snipped that works like a charm for my needs:

\hbox to \hsize{
\externalfigure[serg1][width=3.5cm]
\hss\externalfigure[serg2][width=3.5cm]
\hss\externalfigure[serg4][width=3.5cm]
\hss\externalfigure[serg3][width=3.5cm]}

...and no combinations needed! ))

Vyatcheslav


Hello,

 Another urgent problem:

 how to get rid of placefigure and startcombination captions
 altogether?

 When I use the following, I get too much wasted space after the
 illustration.

 \placefigure
 [fit]
 {none}
 {\startcombination[4*1]
{\externalfigure[serg1][width=4cm]} {}
{\externalfigure[serg2][width=4cm]} {}
{\externalfigure[serg3][width=4cm]} {}
{\externalfigure[serg4][width=4cm]} {}
 \stopcombination}

 Best,
 Vyatcheslav


I'm not sure I understand your problem. If you don't want a caption
and don't want the figure to float, why do you use \placefigure at
all? Just remove the wrapper and put \startcombination etc. directly
into your source file.

Thomas


pay also attention to the syntax
(1) \placefigure[...]{none}
vs.
 (2) \placefigure[...,none]{}

In MkII the two delivered the same output, in MkIV variant (1) will  
reserve some kind of space for the non-existant caption.

I don’t know if this is intended or a bug.

Example:

\starttext
\placefigure[here]{none}{\externalfigure[dummy]}
\dorecurse{30}{blabla }

\placefigure[here,none]{}{\externalfigure[dummy]}
\dorecurse{30}{blabla }
\stoptext

Greetings
Tom

_


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-26 Thread Vyatcheslav Yatskovsky

Hello

I used \placefigure just for centering the figure. And even if I put 
\startcombination directly, won't it reserve blank space for empty 
subcaptions?


Actually, I found nice snipped that works like a charm for my needs:

\hbox to \hsize{
\externalfigure[serg1][width=3.5cm]
\hss\externalfigure[serg2][width=3.5cm]
\hss\externalfigure[serg4][width=3.5cm]
\hss\externalfigure[serg3][width=3.5cm]}

...and no combinations needed! ))

Vyatcheslav


Hello,

  Another urgent problem:

  how to get rid of placefigure and startcombination captions
  altogether?

  When I use the following, I get too much wasted space after the
  illustration.

  \placefigure
  [fit]
  {none}
  {\startcombination[4*1]
  {\externalfigure[serg1][width=4cm]} {}
  {\externalfigure[serg2][width=4cm]} {}
  {\externalfigure[serg3][width=4cm]} {}
  {\externalfigure[serg4][width=4cm]} {}
  \stopcombination}

  Best,
  Vyatcheslav
   


I'm not sure I understand your problem. If you don't want a caption
and don't want the figure to float, why do you use \placefigure at
all? Just remove the wrapper and put \startcombination etc. directly
into your source file.

Thomas
   
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 4:48 PM, Vyatcheslav Yatskovsky wrote:


Hello,

Another urgent problem:

how to get rid of placefigure and startcombination captions  
altogether?


When I use the following, I get too much wasted space after the  
illustration.


\placefigure
[fit]
{none}
{\startcombination[4*1]
   {\externalfigure[serg1][width=4cm]} {}
   {\externalfigure[serg2][width=4cm]} {}
   {\externalfigure[serg3][width=4cm]} {}
   {\externalfigure[serg4][width=4cm]} {}
\stopcombination}

Best,
Vyatcheslav


I'm not sure I understand your problem. If you don't want a caption  
and don't want the figure to float, why do you use \placefigure at  
all? Just remove the wrapper and put \startcombination etc. directly  
into your source file.


Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___