[NTG-context] Referring to a numbered figure in text.

2013-05-22 Thread john Culleton

Using MKIV and the \placefigure command how do I
a. define a reference term in \placefigure command
b. refer to that term in my text.


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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
___


Re: [NTG-context] Referring to a numbered figure in text.

2013-05-22 Thread Wolfgang Schuster

Am 22.05.2013 um 17:08 schrieb john Culleton j...@wexfordpress.com:

 
 Using MKIV and the \placefigure command how do I
 a. define a reference term in \placefigure command
 b. refer to that term in my text.

\useMPlibrary[dum]

\starttext

\placefigure
  [][fig:one]
  {First dummy figure}
  {\externalfigure[dummy-1]}

\startplacefigure[reference=fig:two,title=Second dummy figure]
  \externalfigure[dummy-2]
\stopplacefigure

This document contains \in{figure}[fig:one] at \at{page}[fig:one]
and \in{figure}[fig:two] at \at{page}[fig:two].

\stoptext

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