ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Struggling with lists
@ 2005-06-21 15:06 Christopher Creutzig
  2005-06-22  7:50 ` Christopher Creutzig
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Creutzig @ 2005-06-21 15:06 UTC (permalink / raw)


Salvete,

  in a presentation, I would like to have some links to external files 
at the lower end of the menu on the right.  My attempts all looked 
something like the following, but I have not been able to achieve any 
output at all:

\def\gobble#1{}
\long\def\Link#1{\showargument{#1}}
\definelist[Datei]
\setuplist[Datei][textcommand=\Link,numbercommand=\gobble]
\def\file#1{\writetolist[Datei]{#1}{#1}}


\startinteractionmenu[right]
   \switchtobodyfont[16pt]
   \setupinteraction
     [color=black,
      contrastcolor=Two]
   \TocVersion
   \placelist
     [Topic]
     [alternative=e,
      frame=off,
      criterium=all]
   \vfill
   \placelist[Datei]%[alternative=d,criterium=Topic]
\stopinteractionmenu

...

\Topic{Überblick}
\file{foo}


  I must be missing something obvious, especially since I did not find 
anything related in the archives.  A hint, anyone?


Christopher

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Struggling with lists
  2005-06-21 15:06 Struggling with lists Christopher Creutzig
@ 2005-06-22  7:50 ` Christopher Creutzig
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Creutzig @ 2005-06-22  7:50 UTC (permalink / raw)


Christopher Creutzig wrote:
>   \placelist[Datei]%[alternative=d,criterium=Topic]

  Sorry for the line noise.  criterium=current solves my problem.

  Does criterium=section only work for numbered sections?


Christopher

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-22  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-21 15:06 Struggling with lists Christopher Creutzig
2005-06-22  7:50 ` Christopher Creutzig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).