From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108699 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Footnote font size equal to main text font size Date: Mon, 14 Sep 2020 21:38:04 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0351626584612851360==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10203"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 15 04:38:39 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kI0re-0002ZK-TW for gctc-ntg-context-518@m.gmane-mx.org; Tue, 15 Sep 2020 04:38:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6783C1A88D5; Tue, 15 Sep 2020 04:38:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tzmiRJPqVwXW; Tue, 15 Sep 2020 04:38:18 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 812D61A8C0C; Tue, 15 Sep 2020 04:38:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 13E3E1A8BF8 for ; Tue, 15 Sep 2020 04:38:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aZgwjij2DxVN for ; Tue, 15 Sep 2020 04:38:16 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.45; helo=mail-wr1-f45.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C57B91A88D5 for ; Tue, 15 Sep 2020 04:38:16 +0200 (CEST) Original-Received: by mail-wr1-f45.google.com with SMTP id o5so1540434wrn.13 for ; Mon, 14 Sep 2020 19:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xpPxMGxyYhPQWHVZWSGLumUq7JxwIc4spiN3pxHuROU=; b=d6HdbpsDeUFuPZs00PagJ0eoyM4l9b2DI+31QK0jJ2HrronHhF5oLrae20uRyLbfUi H/vqXslnV1d5bBC0JbkLmZN0jcqdSRKv0eDNl7f5FkYEj8P5Mlz6MK/xhwTZhUH85nkA xBX/MnLZWbCR8uZkmR41UGCHgCgFr741vs/FyoSeA1xj6bjGprjHxA1+nJCDIkJDnoQV 9Qds/flisdx0hG53w74660W1zqHs41mDJxd7icSq8e584NOy7RoVqjoc4E03+1IdP0CJ 7T+cXzlFftPekevPE6Z2ZFCV4HELLoSql35xuI5OoLebPP/KAT+1p8IwrucOsfI1eY8H vx8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xpPxMGxyYhPQWHVZWSGLumUq7JxwIc4spiN3pxHuROU=; b=UwHFc2ztD5FlD7svY28tHT+ijmS/Fo3srcr+rXUrfLjlHdZC1VoscZMBSCZLvz+Z0k jYTTS6xpQNUp7Oqok1fFFd+rTioqEKHKMDaLyfzuq77ecp4p+Ruq9SqfkQzDfrsbwzwK aweG/yYcwZEZ9R2vGMSIV6w8MoGLvcP0DvElxd9cuQBgo8dbRKfY08MS4Iqy0o5f0c1U JvVyfX5PXmZy+fM7gha8zlF3IB0V9iQ5ZhFZPWBZyF5HXv390n7oTW+ytdSZqU6xC9bS q1xWU1CJ3XSSSMRYNJBnpfNshg4zTsAUpt1zoA4DUNmfqFRAuLYCPAibaIVR27hK+ynI nvmA== X-Gm-Message-State: AOAM53273ow4aJKbQKabMlqEk1/GOHXqVTE0QR5JBCpGEzeZ6WnBsgP4 NierRYf/SG9KvXZdQu42w3Hn0uSWfdsgokJz4JmYH5XYfrZRJw== X-Google-Smtp-Source: ABdhPJwoiPTh0U3aSgDd2U72SmdbcfxzTniorH7M0YKLmAxwQMD07ODBqPQg38KajpgERh13RReHpPTq0li+cpMyB2g= X-Received: by 2002:adf:e6cf:: with SMTP id y15mr18906146wrm.346.1600137496158; Mon, 14 Sep 2020 19:38:16 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:108699 Archived-At: --===============0351626584612851360== Content-Type: multipart/alternative; boundary="0000000000000ce5ed05af510b92" --0000000000000ce5ed05af510b92 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D{Notas}] \placefootnotes \stopfootnotetitle \fi \stopsetups \setupnotes[location=3Dnone] \setupnotation[way=3Dbychapter] \setupfootnotedefinition[style=3D{\switchtobodyfont[12pt]}] \setuphead[chapter][aftersection=3D\setups{chapter:after}] \starttext \startchapter[title=3D{Chapter One}] Here comes \footnote{a footnote}. Aqu=C3=AD \footnote{otra nota a pie de p= =C3=A1gina}. \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. E.g.: \setupbodyfont[24pt] % It could be another number instead of 24 \setupfootnotedefinition[style=3D{\switchtobodyfont[???]}] Thank you in advance. Jairo :) --0000000000000ce5ed05af510b92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, list. I've adapted the following example from the = mailing list. My aim is to use endnotes for each chapter:

\main= language[es]
\definehead[footnotetitle][title]
\startsetups[chapter:a= fter]
\ifcase\rawcountervalue[footnote]\relax
=C2=A0 =C2=A0 =C2=A0\el= se
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startfootnotetitle[title=3D{Notas}= ]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\placefootnotes
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopfootnotetitle
=C2=A0 =C2=A0 =C2=A0\f= i
\stopsetups

\setupnotes[location=3Dnone]
\setupnotation[way= =3Dbychapter]
\setupfootnotedefinition[style=3D{\switchtobodyfont[12pt]}= ]

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

= \starttext

\startchapter[title=3D{Chapter One}]

Here comes \f= ootnote{a footnote}. Aqu=C3=AD \footnote{otra nota a pie de p=C3=A1gina}.
\stopchapter

\stoptext

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

=
E.g.:

\setupbodyfont[24pt] % It could be = another number instead of 24
\setupfootnotedefinition[style= =3D{\switchtobodyfont[???]}]

Thank you in advance.=

Jairo :)
--0000000000000ce5ed05af510b92-- --===============0351626584612851360== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0351626584612851360==--