Thank you very much!
alternative=interactive
*without* interaction=anything
did the trick.
Everything else needed a lot more adjusting, since the ToC entries are also
\item s (see thread "ToC as itemize" in May/June 2018).
Greetlings, Hraban
---
https://www.fiee.net
\setupinteraction[state=start]
\define[3]\ChapterTocEntry
{\maxaligned{#2\hfill#3}}
\setuplist
[chapter]
[alternative=interactive,
before=\endgraf,
after=\endgraf,
command=\ChapterTocEntry]
\usemodule[visual]
\starttext
\placelist[chapter][criterium=all]
\dorecurse{5}{
Still the same problem:
I can’t get a page link in my custom ToC.
What’s wrong?
- >8 -
\setupinteraction[state=start]
\define[3]\ChapterTocEntry{%
% #1-3 is not used, #1/2 are empty, #3 is page number
\currentlistentrytitle\hfill%
%%% goto doesn’t create a link here:
Hello list,
Do you know what should I add to my ftplugin/context.vim to have
\page highlighted when using ViM ?
I tried to understand context.vim color syntax but this is magic to me
(mapping is ok, but offtopic).
Thanks,
Damien Thiriet