Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [ 1 0 R /Fit ] /S /GoTo
endobj
Instead of being a named destination, such as in: 5 0 obj << /D (#3) /S /GoTo
endobj
11 0 obj << /D [ 1 0 R /XYZ 61.65861 129.0214 null ]
endobj
40 0 obj << /Limits [ (#3) (content) ] /Names [ (#3) 11 0 R (*3) 10 0 R (content) 7 0 R ]
endobj
This is the problem originally reported by Sylvain (https://mailman.ntg.nl/pipermail/ntg-context/2022/106836.html). I apologize, but I’m afraid I cannot provide a patch. Could you take a look at it? Many thanks for your help, Pablo
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote:
Hi Hans,
I have the following sample:
\setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext
Hans, I have found the cause of the misbehavior in strc-lst.lua, lines 898-903: if cheat and references then -- this permits runs=2 with interactivity local internal = references.internal usedinternals[internal] = true usedviews [internal] = references.view end So, line 40 of that file ("local cheat = true") needs a conditional that I’m not able to provide (I have no idea how it would read). Basically, if \setupinteraction[focus=standard], please don’t cheat 😅. Sorry, but I don’t even know which file (strc-lst.lua or lpdf-ano) has to be modified. I hope the issue is clearer now. Many thanks for your help, Pablo
On 10/16/22 13:28, Pablo Rodriguez via ntg-context wrote:
[...] So, line 40 of that file ("local cheat = true") needs a conditional that I’m not able to provide (I have no idea how it would read).
Basically, if \setupinteraction[focus=standard], please don’t cheat 😅.
Or even more accurate, cheat only if focus in \setupinteraction is fit or tight (other options include positions inside pages). Pab
participants (1)
-
Pablo Rodriguez