interaction in a chapter footer
Hello, Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer? Alan M(non-)WE: \setupinteraction [state=start] \definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}] \setuphead [chapter] [footer=chapterfooter] \starttext \startchapter [title=A chapter] \input knuth \stopchapter \stoptext
On 3/3/2016 10:12 PM, Alan BRASLAU wrote:
Hello,
Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer?
Alan
M(non-)WE:
\setupinteraction [state=start]
\definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}]
\setuphead [chapter] [footer=chapterfooter]
\starttext
\startchapter [title=A chapter]
\input knuth
\stopchapter
\stoptext
(partly-)MWE \startsetups chapter:footer {\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups \definetext [chapterfooter] [footer] [\setups{chapter:footer}]
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, 3 Mar 2016 22:42:22 +0100
Hans Hagen
\startsetups chapter:footer {\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups
\definetext [chapterfooter] [footer] [\setups{chapter:footer}]
Thanks, I believe that the use of setups is the most simple and elegant solution, rather than nesting additional grouping {} that leads to messy source style. Alan
On 3/3/2016 11:45 PM, Alan BRASLAU wrote:
On Thu, 3 Mar 2016 22:42:22 +0100 Hans Hagen
wrote: \startsetups chapter:footer {\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups
\definetext [chapterfooter] [footer] [\setups{chapter:footer}]
Thanks,
I believe that the use of setups is the most simple and elegant solution, rather than nesting additional grouping {} that leads to messy source style.
btw, you don't need the extra {} in the setup ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 3/3/2016 10:12 PM, Alan BRASLAU wrote:
Hello,
Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer?
Alan
M(non-)WE:
\setupinteraction [state=start]
\definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}]
\setuphead [chapter] [footer=chapterfooter]
\starttext
\startchapter [title=A chapter]
\input knuth
\stopchapter
\stoptext
(also-)MWE [{{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}}]
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Alan BRASLAU
-
Hans Hagen