[dev-context] Customized list alternative with hyperlinks
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Thu Feb 23 21:15:04 CET 2012
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
More information about the dev-context
mailing list