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

\setupnotation[footnote][way=bypage, state=stop, number=†]

but this does not produce any symbol at all.

If I do:

\setupnotation[footnote][numberconversion=set 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.
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 [×] will not work, but [×,] 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   [A6]

   \defineconversion [TitleCS]
                      [†,{\color[red]{‽}}]
   \definecounter    [TitleFnCount]
                      [way=bytext]
   \definenotation   [TitleFn]
                      [footnote]
   \setupnotation    [footnote]
                      [numberconversion=set 2,
                       indenting={yes,small}]
   \setupnotation    [TitleFn]
   [numberconversion=TitleCS,
                       counter=TitleFnCount,
                       indenting={yes,small}]
   \starttext

   This  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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to