[dev-context] named destinations for lists

Pablo Rodriguez oinos at gmx.es
Sat Oct 22 17:40:23 CEST 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: only_cheats.diff
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20221022/36577149/attachment.bin>


More information about the dev-context mailing list