On Thu, 16 Apr 2015 17:27:17 +0200
Harald Koenig <koe...@tat.physik.uni-tuebingen.de> wrote:

> how can I set a "label" for a figure without 
> 
>     \placefigure[][fig:...]{} 
> 
> for some "figures" I use strange macros -- and at those places I get
> errors when calling \placefigure BUT I'd like to check the page
> numbers of those places using
> 
>       \doifreferencefoundelse{fig:bild\the\bildnr}%
> 
> and right now I get 
> 
>       references      > unknown reference '[][fig:bild5]'
> 
> for those pictures...

I much prefer the syntax

\startplacefigure [reference=fig:,location={here,force},title={}]
   \externalfigure[]...
\stopplacefigure

Depending on the "strange macros" that you want to use,
this should generally work. I find that this gives one many more
options.

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

Reply via email to