Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
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

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Wolfgang Schuster
\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}{  

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
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:

[NTG-context] vim \page highlight

2018-09-20 Thread Damien Thiriet
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