[NTG-context] Figure number off one time

Aditya Mahajan adityam at umich.edu
Tue Aug 1 04:17:50 CEST 2006


On Mon, 31 Jul 2006, David Arnold wrote:

> All,
>
> I would like to use:
>
> \placefigure
> [right][fig:pythagoras]
> {An early portrait of Pythagoras.}
> {\getbuffer[figure]}
>
> And I would like to turn off the figure number in this caption, but
> just for this graphic, not for any other I place. I want the number
> off, but I want to keep the caption "An early portrait of Pythagoras."
>
> The following didn't work.

Try

\start
  \setupcaptions[number=no]
  \placefigure
    [right]
%  [fig:pythagoras]
% If there is no number, you can not refer to it
  {An early portrait of Pythagoras.}
  {\getbuffer[figure]}
\stop

Basically \start \stop limit the effect of \setupcaptions. You can 
also use \bgroup \egroup or { .. } instead. I find \start \stop more 
Contexish.

Aditya



More information about the ntg-context mailing list