On 7/6/2020 8:48 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 06.07.2020 um 20:04:
On 7/6/20 3:58 PM, Jairo A. del Rio wrote:
So, cannot I use focus=standard and cross-references together? Hmm. I
think it should be fixed... But maybe it's an intended feature. Thanks,
Otared.
Hi Jairo,
"focus=standard" works fine with footnotes.
\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext
Your sample doesn’t work, because of the reference prefix. Right now,
the /Names reads in the PDF code:
/Names [ (1) 5 0 R ]
It seems that "referenceprefix" is forgotten there, which should read
with the sample code from above:
/Names [ (prop:1) 5 0 R ]
Hans, could you check this? (I’m afraid it doesn’t work with current
latest [2020.07.06 19:30])?
I'm not Hans but this fixed the problem for me (strc-con.mkiv):
\def\strc_constructions_register_yes[#1][#2]% #1=optional user data
#2=interfaced-settings
{\begingroup % similar to structure so
we might generalize this
...
\clf_setinternalreference
- prefix {\referenceprefix}%
+ prefix {\currentconstructionreferenceprefix}%
reference {\currentconstructionreference}%
internal \locationcount
view {\interactionparameter\c!focus}%
\relax
...
\fi}
Wolfgang
But because you're Wolfgang I can apply that patch without checking ...
(no upload today, already done one0
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________