2007/10/22, Wolfgang Schuster <[EMAIL PROTECTED]>:
>
>
>
> 2007/10/20, John Culleton <[EMAIL PROTECTED]>:
> >
> > I want interaction at the subsubsection level but not higher. I have
> > turned
> > off line numbers for section and subsection.   However both these levels
> > remain interactive. The whole line is blue.  I
> > tried  interaction=pagenumber,
> > interaction=sectionnumber, interaction=no, interaction=none,  and no
> > interaction parameter at all at these levels.   Nevertheless the whole
> > entry
> > remains interactive.
> >
> > some code:
> > \setupcolors[state=start]
> > \setuphead[chapter][head=nomarking,number=no]
> > \setuphead[section][number=no,textcommand=\bf]
> > \setuphead[subsection][number=no]
> > \setuphead[subsubsection][number=no]
> > \setupinteraction[state=start,color=blue]
> > \setuplist[section][alternative=f,style=bold,interaction=sectionnumber]
> > \setuplist[subsection][alternative=f,interaction=no]
> > \setuplist[subsubsection][alternative=a,interaction=all]
> >
> > The good news is that I found a handy way to bookmark just the index in
> > Acrobat Reader. I filched some code from an old Han The Thanh file:
> >
> > \pdfcatalog{/PageMode /UseOutlines}             % bookmark window open
> > \newcount\marknumber    \marknumber=1
> > \def\bookmark#1#2{%
> >         \pdfdest num \marknumber xyz
> >         \pdfoutline goto num \marknumber count #1 {#2}
> >         \advance\marknumber by 1}
> > .................
> > \bookmark{0}{Index}
> > \placecontent
> > ...................
> >
> > The explanation of the format of the \pdfoutline command in the manual
> > wasn't
> > clear to me but the above macro clears it up.
> > --
> > John Culleton
> >
> > http://wexfordpress.com/tex/shortlist.pdf
>
>
You use the following code to disable the hyperlinks in your list format,
the options for interactive are now "all" or "no".

\unprotect

\def\dodofixdlistelementEFG#1#2#3#4#5#6#7#8%
  {\noindent
   \bgroup
   \def\makelistelement##1##2%
     {\doifelse{\listparameter\c!interaction}{##1} % better \doifinsetelse
        {\setbox0\hbox{#2{\showcontrastlocation\??ia{#8}{##2}}}%
         \linklisttoelement{#4}{#7}{#8}{\box0}}
        {#2{##2}}}%
   \makelistelement\v!all % why not text
     {\dostartlistattributes\c!style\c!color\empty
      \ignorespaces\dontconvertfont\setstrut
      \begstrut
      \limitatedlistentry{#6}%
      \endstrut
      \dostoplistattributes}%
   \egroup
   \par
   \listparameter\c!inbetween}

\protect

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to