On 24-9-2010 3:30, Alan BRASLAU wrote:
On Wednesday 22 September 2010 12:40:35 Hans Hagen wrote:
On 22-9-2010 11:50, Andreas Harder wrote:
Hi all,
can someone confirm that picture- and formula-references are broken with the current beta. Here is a test file:
\starttext \placefigure[auto][pic:1]{caption}{\externalfigure[dummy]} \placeformula[for:1] \startformula
a+b
\stopformula
\in{picture}[pic:1] \in{formula}[for:1] \stoptext
New beta. Can you check again? Keep in mind that pic: and fig: are also checked as prefix.
I see from looking at the source code that prefixes are used to localize references. There is also some sort of automatic prefixing mechanism. Can someone explain this more as it is not clear to me from documentation in the source code.
using fig: etc is fine there's also \setupreferencingp[prefix=whatever] and that will automatically prepend whatever: (so whatever:fig:...} this is handy in large docs build from smaller pieces ... less clashes there's also setuphead[...][referenceprefix=...] as well as some more trickery (dates from way back, when er were making huge complex interactive documents) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------