![](https://secure.gravatar.com/avatar/c71d406247737b77d06418ee19e71060.jpg?s=120&d=mm&r=g)
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
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
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
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
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 / 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
___________________________________________________________________________________
___________________________________________________________________________________ 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
___________________________________________________________________________________