From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id A863E2ED9B for ; Mon, 21 Oct 2024 03:38:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id F0EDC4854F6 for ; Mon, 21 Oct 2024 03:35:56 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:in-reply-to:from:from :content-language:references:user-agent:mime-version:date:date :message-id:received:received:received:received:received :received; s=cgl; t=1729474556; x=1732066557; bh=YNLVnrS9bVFskDa 7AcyEEd097+hJuQIi6PYojFGMVSg=; b=TGxT8GrHGS9rckf/5j2a+eGXrSlFwiM JPm8PKqOZFn18b3LYFFwUG9d7MwUKCEq9hxhC48IoTMvKfVZEPMZZHmueobJfERg 4BAcmJ606sxkCAzhB2iJ/85dD8ONEAh8K33Wfy7ZW8PvEBCVYeV9eUVENBYuLPHU P++UZ/3Gv1YQ= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mNihVC4YlOwp for ; Mon, 21 Oct 2024 03:35:56 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 09C76485551 for ; Mon, 21 Oct 2024 03:34:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 09C6C4852BF for ; Mon, 21 Oct 2024 03:33:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVL9sd7W3onk for ; Mon, 21 Oct 2024 03:33:42 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 52AA64852BE for ; Mon, 21 Oct 2024 03:33:41 +0200 (CEST) Received: from [192.168.5.71] (syn-024-194-002-237.res.spectrum.com [24.194.2.237]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4XWyWS29Pmz4fMV for ; Sun, 20 Oct 2024 21:33:40 -0400 (EDT) Message-ID: Date: Sun, 20 Oct 2024 21:33:40 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: ntg-context@ntg.nl References: <172946694636.1601626.17045567471831090226@cgl.ntg.nl> Content-Language: en-US From: Rik Kabel In-Reply-To: <172946694636.1601626.17045567471831090226@cgl.ntg.nl> Message-ID-Hash: QYSJUYYDP6DVLQ2BSJNT2G7BZX3K7G6Z X-Message-ID-Hash: QYSJUYYDP6DVLQ2BSJNT2G7BZX3K7G6Z X-MailFrom: ConTeXt@rik.users.panix.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: changing the symbol used in \footnote{} List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============2537392803914885949==" This is a multi-part message in MIME format. --===============2537392803914885949== Content-Type: multipart/alternative; boundary="------------YNCGOHLwCrDa00rn0p1L5Kf8" Content-Language: en-US This is a multi-part message in MIME format. --------------YNCGOHLwCrDa00rn0p1L5Kf8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2024-10-20 19:29, David Roderick wrote: > I want to use the crucifix symbol as a footnote symbol on the title pag= e of a book. I don't want this to increment the footnote counter. The b= est I can do is: > > \setupnotation[footnote][way=3Dbypage, state=3Dstop, number=3D=E2=80=A0= ] > > but this does not produce any symbol at all. > > If I do: > > \setupnotation[footnote][numberconversion=3Dset 2] > > then I get an asterix, not a crucifix, and I don't know how to prevent = or otherwise reset the footnote counter for subsequent footnote numbering= s. > =20 > David Roderick. > The following (tested) shows how to do this. You define a separate=20 series of footnotes (TitleFn below) with its own counter (TitleFnCount)=20 that functions independently of the default footnote series. You also=20 define the symbols you want to use for that series (TitleCS). (Note that=20 the second argument for defineconversion should be a list, so [=C3=97] wi= ll=20 not work, but [=C3=97,] will work. Color is shown for the second flag so = that=20 it stands out if you accidentally make a second TitleFn.) You can also reset the counter, as shown in the last couple of lines. \setuppapersize=C2=A0=C2=A0 [A6] \defineconversion [TitleCS] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [=E2=80=A0,{\color[red]{=E2=80=BD}}] \definecounter=C2=A0=C2=A0=C2=A0 [TitleFnCount] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [way=3Dbytext] \definenotation=C2=A0=C2=A0 [TitleFn] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [footnote] \setupnotation=C2=A0=C2=A0=C2=A0 [footnote] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [numberconversion=3Dset 2, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 indenting=3D{yes,small}] \setupnotation=C2=A0=C2=A0=C2=A0 [TitleFn] [numberconversion=3DTitleCS, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 counter=3DTitleFnCount, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 indenting=3D{yes,small}] \starttext This=C2=A0 sentence has a title footnote.\TitleFn{Title} This sentence has a regular footnote.\footnote{Footnote} And this sentence has a regular footnote.\footnote{Footnote} This is a second sentence with a title footnote.\TitleFn{Title} \resetcounter[footnote] Reusing the first regular footnote counter.\footnote{Footnote} \stoptext --=20 Rik --------------YNCGOHLwCrDa00rn0p1L5Kf8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 2024-10-20 19:29, David Roderick wrote:
I want to use the crucifix s=
ymbol as a footnote symbol on the title page of a book.  I don't want thi=
s to increment the footnote counter.  The best I can do is:=20

\setupnotation[footnote][way=3Dbypage, state=3Dstop, number=3D=E2=80=A0]

but this does not produce any symbol at all.

If I do:

\setupnotation[footnote][numberconversion=3Dset 2]

then I get an asterix, not a crucifix, and I don't know how to prevent or=
 otherwise reset the footnote counter for subsequent footnote numberings.
=20
David Roderick.

The following (tested) shows how to do this. You define a separate series of footnotes (TitleFn below) with its own counter (TitleFnCount) that functions independently of the default footnote series. You also define the symbols you want to use for that series (TitleCS). (Note that the second argument for defineconversion should be a list, so [=C3=97] will not work, but [= =C3=97,] will work. Color is shown for the second flag so that it stands out if you accidentally make a second TitleFn.)

You can also reset the counter, as shown in the last couple of lines.

\setuppapersize=C2=A0=C2=A0 [A6]=

\defineconversion [TitleCS]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [=E2=80=A0,{= \color[red]{=E2=80=BD}}]
\definecounter=C2=A0=C2=A0=C2=A0 [TitleFnC= ount]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [way=3Dbytex= t]
\definenotation=C2=A0=C2=A0 [TitleFn]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [footnote]
\setupnotation=C2=A0=C2=A0=C2=A0 [footnote= ]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [numberconve= rsion=3Dset 2,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 indent= ing=3D{yes,small}]
\setupnotation=C2=A0=C2=A0=C2=A0 [TitleFn]=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [numberconversion=3DTitleCS,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 counte= r=3DTitleFnCount,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 indent= ing=3D{yes,small}]
\starttext

This=C2=A0 sentence has a title footnote.\TitleFn{Title}
This sentence has a regular footnote.\footnote{Footnote}
And this sentence has a regular footnote.\footnote{Footnote}
This is a second sentence with a title footnote.\TitleFn{Title}

\resetcounter[footnote]
Reusing the first regular footnote counter.\footnote{Footnote}

\stoptext

--
Rik


    
--------------YNCGOHLwCrDa00rn0p1L5Kf8-- --===============2537392803914885949== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============2537392803914885949==--