Jairo A. del Rio schrieb am 15.09.2020 um 04:38:
Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter:

\mainlanguage[es]
\definehead[footnotetitle][title]
\startsetups[chapter:after]
\ifcase\rawcountervalue[footnote]\relax
      \else
          \startfootnotetitle[title={Notas}]
              \placefootnotes
          \stopfootnotetitle
      \fi
\stopsetups

\setupnotes[location=none]
\setupnotation[way=bychapter]
\setupfootnotedefinition[style={\switchtobodyfont[12pt]}]

\setuphead[chapter][aftersection=\setups{chapter:after}]

\starttext

\startchapter[title={Chapter One}]

Here comes \footnote{a footnote}. Aquí \footnote{otra nota a pie de página}.

\stopchapter

\stoptext

However, I'm concerned by \switchtobodyfont. How should I make footnote size the same as the default font size, even when an arbitrary font size is used.


\starttext

First paragraph\footnote{Footnote one}

\page

\setupnote[footnote][bodyfont=]
%\setupnotation[footnote][numbercommand=]

Second paragraph\footnote{Footnote two}

\stoptext

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to