Hi Alan, Try something like this:
\setupinteraction[state=start] \starttext \define[1]\MyCaptions{My caption is \quotation{#1}} %\define[1]\MyCaptions{} % gives empty caption \setupcaptions[command=\MyCaptions] \startplacefigure[reference=fig:cow.pdf,title=Figure A][here,page,force,nonumber] \externalfigure[cow.pdf][width=.5\textwidth] \stopplacefigure \page See \goto{that cow}[fig:cow.pdf] \stoptext Beware it changes all captions. I suppose you might use setups if you need different kinds of captions. You can also see from the first definition of \MyCaptions that the key 'command' was not intended to be used that way, which makes me wonder whether this will work for you or not. I hope it does. Michael On Feb 2, 2013, at 1:12 PM, Alan Bowen <bowenala...@gmail.com<mailto:bowenala...@gmail.com>> wrote: Hi, Otared— I am using MKIV. Many thanks for the news about the changes to \placefigure and the sample alternative: that is very helpful and much appreciated. The only problem remaining is how to cancel the automatic titling/numbering. In \startplacefigure[reference=fig:cow.pdf,title=Figure A][here,page,force,nonumber] \externalfigure[cow.pdf][width=.5\textwidth] \stopplacefigure the output has two titles (“Figure 1” and “Figure A”). I have checked the wiki (which does not show this as a possibility) and experimented with “nonumber” and “number=no”, all without success. \setupcaptions[number=no] gets rid of “Figure 1” but while the links show properly, they do not actually work. Alan On Sat, Feb 2, 2013 at 11:16 AM, Otared Kavian <ota...@gmail.com<mailto:ota...@gmail.com>> wrote: Hi Alan, I guess you are using mkiv, since in mkii your code seems to work here. Then, I think the way references to floats should be entered have changed and one should use a construction such as: \setupinteraction[state=start] \starttext \goto{Figure A}[fig:cow.pdf] Reference to Figure A on page \at[fig:cow.pdf] \goto{Table 1}[tab:Table01] \goto{Some text}[Text] \page \startplacefigure[reference=fig:cow.pdf,title=Figure A][here,page,force,nonumber] \externalfigure[cow.pdf][width=.5\textwidth] \stopplacefigure \page \startplacetable[reference=tab:Table01,title=Table 1][here,force,nonumber] {\starttabulate[| l | l |] \NC 1000 \NC 2000 \NC\NR \stoptabulate} \stopplacetable \page Some text\reference[Text]{} \stoptext which gives appropriate working links. There should be also a short version of \placefigure or \placetable, but I don't remember the correct syntax… Sorry! Best regards: OK On 2 févr. 2013, at 14:25, Alan Bowen <bowenala...@gmail.com<mailto:bowenala...@gmail.com>> wrote: Sorry to keep pushing this—it is a problem for a journal that I publish. I have re-installed the ConTeXt standalone and the problem persists with \setupinteraction[state=start] \starttext \goto{Figure A}[fig:cow.pdf] Reference to Figure A on page \at[fig:cow.pdf] \goto{Table 1}[tab:Table01] \goto{Some text}[Text] \page \useexternalfigure[Graphic][cow.pdf][] \placefigure [here,page,force,nonumber] [fig:cow.pdf] {Figure A} {\externalfigure[cow.pdf][type=pdf, width=.5\textwidth]} \page \placetable [here,force,nonumber] [tab:Table01] {Table 1} {\starttabulate[| l | l |] \NC 1000 \NC 2000 \NC\NR \stoptabulate} \page Some text\reference[Text]{} \stoptext Only the last \goto works. Even the \at link fails, which is really discouraging. Alan On Thu, Jan 31, 2013 at 8:28 AM, Alan Bowen <bowenala...@gmail.com<mailto:bowenala...@gmail.com>> wrote: The problem persists with the latest beta. Am I not encoding this properly? And in such cases, should one include a sample .pdf file as well? Alan On Wed, Jan 30, 2013 at 8:17 AM, Alan Bowen <bowenala...@gmail.com<mailto:bowenala...@gmail.com>> wrote: The following compiles in the latest beta standalone but with dead links to the Figure: \setupinteraction[state=start] \starttext \goto{Figure A}[fig:Figure.pdf] \goto{Text A}[TextA] \page \useexternalfigure[Graphic][Figure.pdf][] \placefigure [here,page,force,nonumber] [fig:Figure.pdf] {Figure A} {\externalfigure[Figure.pdf][type=pdf, width=\textwidth]} \reference[TextA]{} \input knuth \stoptext Any suggestions? Alan ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl<http://www.pragma-ade.nl/> / http://tex.aanhet.net<http://tex.aanhet.net/> archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net<http://contextgarden.net/> ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl<http://www.pragma-ade.nl/> / http://tex.aanhet.net<http://tex.aanhet.net/> archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net<http://contextgarden.net/> ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl<mailto: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 ___________________________________________________________________________________ ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
___________________________________________________________________________________ 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 ___________________________________________________________________________________