[NTG-context] Figure number off one time

Hans Hagen pragma at wxs.nl
Tue Aug 1 10:01:31 CEST 2006


Aditya Mahajan wrote:
> 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.
>   
hey, how come you don't know the easy way ... 

\placefigure[right,none]{An early portrait of Pythagoras.}{}

\placefigure[right,nonumber]{An early portrait of Pythagoras.}{}

\placefigure[right]{An early portrait of Pythagoras.}{}

it's david's turn to wikify this 

Hans 

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------



More information about the ntg-context mailing list