Hi Hans,

can you add the following list alternative to strc-lst.mkvi

\def\v!interactive{interactive}

\definelistalternative
  [\v!interactive]
  [\c!renderingsetup=\??listrenderings:interactive]

\startsetups[\??listrenderings:interactive]
   \edef\p_command{\listalternativeparameter\c!command}%
   \ifx\p_command\empty
       [\currentlist: \currentlistentrynumber\space -- 
\currentlistentrytitle\space -- \currentlistentrypagenumber]%
   \else
       \listparameter\c!before
       \hbox \strc_lists_get_reference_attribute\v!all 
\strc_lists_get_destination_attribute {
           
\p_command\currentlistentrynumber\currentlistentrytitle\currentlistentrypagenumber
       }
       \listparameter\c!after
   \fi
\stopsetups

This is “alternative=command” with hyperlink functionality, I know “horizontal” 
and “vertical” do the same
when a command is applied but I think this variant is better when no command is 
set.

Wolfgang
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to