Hi Hans,
unless cheat is removed, named destinations won’t work for lists.
\setupinteraction[state=start, focus=standard, prefix=_]
\starttext
\completecontent
\dorecurse{25}
{\section{Section}
a\footnote{}}
\stoptext
It think "cheat" is superfluous in strc-lst.lua, since "cheats[v]"
already includes what was intended with it.
I have tested this both with LMTX and MkIV.
The variable "cheat" seems not to be used elsewhere.
I attach a patch, if this might be handy.
Just in case it may help,
Pablo
--- mkiv/strc-lst.lua 2022-10-22 17:27:19.714249767 +0200
+++ strc-lst.lua 2022-10-22 17:30:04.011169681 +0200
@@ -37,8 +37,6 @@
local ctx_latelua = context.latelua
-local cheat = true
-
local structures = structures
local lists = structures.lists
local sections = structures.sections
@@ -199,7 +197,7 @@
local i = r.internal
local f = flaginternals[i]
local v = usedviews[i]
- if cheat and v and cheats[v] then -- cheats check added, to be tested by RKB
+ if v and cheats[v] then -- cheats check added, to be tested by RKB
-- this permits runs=2 with interactivity
r.view = v
end
_______________________________________________
dev-context mailing list
[email protected]
https://mailman.ntg.nl/mailman/listinfo/dev-context