Re: [NTG-context] Bug with caption

2011-12-09 Thread Hans Hagen

On 4-12-2011 06:46, Aditya Mahajan wrote:

Hi,

If I use \setupcaption[number=no] and include a float with no caption,
then all subsequent floats do not have a caption!


fixed in next beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bug with caption

2011-12-03 Thread Aditya Mahajan

Hi,

If I use \setupcaption[number=no] and include a float with no caption, then all 
subsequent floats do not have a caption!


Here is an example (using 2011.11.29)

\setupcaption[number=no]
\startbuffer
\startnotmode[bugfix]
  \startplacefigure[location=here]
Figure with no caption
  \stopplacefigure
\stopnotmode

\startplacefigure[location=here, title={Test}]
  Still no caption!
\stopplacefigure
\stopbuffer

\starttext
%% The float is shown with a caption here
\enablemode[bugfix]
\getbuffer


%% The second float does not have a caption now.
\disablemode[bugfix]
\getbuffer
\stoptext

Aditya

test.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___