Hans,

here is a minimal sample:

  \setupinteraction[state=start, focus=standard]
  \starttext
  \completecontent
  \dorecurse{25}
    {\section{Section}
      a\footnote{}}
  \stoptext

Links for lists and notes both honor the standard focus in LMTX, but in
MkIV named destinations for links don’t work (only for notes).

The attached patch fixes the issue (and it contains the same code as
strc-lst.lmt).

Could it be included in ConTeXt?

Many thanks for your help,

Pablo
--- mkiv/strc-lst.lua	2023-04-30 18:44:32.914145767 +0200
+++ other/strc-lst.lua	2023-04-30 18:44:17.455933280 +0200
@@ -898,7 +898,8 @@
             local numberdata = listentry.numberdata
             local references = listentry.references
             local special    = specials and numberdata and specials[zerostrippedconcat(numberdata.numbers,".")] or ""
-            if cheat and references then
+            local v          = usedviews[i]
+            if cheat and cheats[v] and references then
                 -- this permits runs=2 with interactivity
                 local internal = references.internal
                 usedinternals[internal] = true
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to