[NTG-context] footnotes what happened?

Philipp Gesang philipp.gesang at alumni.uni-heidelberg.de
Sun Feb 24 14:57:55 CET 2013


Hi Hans!

···<date: 2013-02-24, Sunday>···<from: Meer, H. van der>···

> What has happened to \setupfootnotes?

It is an alias for \setupnote[footnote].

> \setupfootnotes defines [textcolor=] although in the wiki just below this the example has [color=] instead.

The “color” key belongs in \setupnotation, while “textcolor” as
part of \setupnote determines the appearance of the footnote
number/symbol. There is a wiki section[0] on that difference.

Example:

    %% \setupfootnotes -> \setupnote[footnote][...=...]
    \setupfootnotes[
      textstyle=bold,
      textcolor=red,
    ]

    \setupnotation[footnote][
      color=green,
      style=italic,
    ]
    \starttext
    foo \footnote{bar} baz
    \stoptext

[0] http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote

Regards
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130224/46e75879/attachment.pgp>


More information about the ntg-context mailing list