* Symbol Footnote Command @ 2019-12-23 13:21 Aykut Aykutt 2019-12-23 14:12 ` Hans Hagen 0 siblings, 1 reply; 3+ messages in thread From: Aykut Aykutt @ 2019-12-23 13:21 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1631 bytes --] Hi, I can change the mark of the second footnote from "2" to asterix by defining a conversion like so: %-- Working example, but it is not what I need -- \setupindenting[yes,small] \defineconversion[mymix][1,\m{*},2] \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix] \startdocument This is the first sentence with a footnote.\footnote{This is the first footnote and its mark is "1".} This is the second sentence with a footnote.\footnote{This is the second footnote and its mark is "*". } This is the third sentence with a footnote.\footnote{This is the third footnote and its mark is "2". } \stopdocument Clearly this conversion repeats the marks "1", "*" and "2" repeatedly. Is there a way to define a new/special footnote command (say, "\symfootnote") which blends with normal footnotes, but prints footnotes with symbol marks (say, Set 2) and not with numbers. In other words, is it possible to achieve the same result as the working example above with something like the (pseudo) example below? %-- Pseudo example -- \setupindenting[yes,small] \def\symfootenote ?????????? \setupnotation[symfootnote][align={hz,hanging},indenting={yes,small,next}] \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next}] \startdocument This is the first sentence with a footnote.\footnote{This is the first footnote and its mark is "1".} This is the second sentence with a footnote.\symfootnote{This is the second footnote and its mark is "*". } This is the third sentence with a footnote.\footnote{This is the third footnote and its mark is "2". } \stopdocument Thank you. [-- Attachment #1.2: Type: text/html, Size: 2439 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Symbol Footnote Command 2019-12-23 13:21 Symbol Footnote Command Aykut Aykutt @ 2019-12-23 14:12 ` Hans Hagen 2019-12-23 14:37 ` Aykut Aykutt 0 siblings, 1 reply; 3+ messages in thread From: Hans Hagen @ 2019-12-23 14:12 UTC (permalink / raw) To: mailing list for ConTeXt users, Aykut Aykutt On 12/23/2019 2:21 PM, Aykut Aykutt wrote: > Hi, > > I can change the mark of the second footnote from "2" to asterix by > defining a conversion like so: > > %-- Working example, but it is not what I need -- > \setupindenting[yes,small] > \defineconversion[mymix][1,\m{*},2] > \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix] > > \startdocument > This is the first sentence with a footnote.\footnote{This is the > first footnote and its mark is "1".} > This is the second sentence with a footnote.\footnote{This is the > second footnote and its mark is "*". } > This is the third sentence with a footnote.\footnote{This is the > third footnote and its mark is "2". } > \stopdocument > > Clearly this conversion repeats the marks "1", "*" and "2" repeatedly. > Is there a way to define a new/special footnote command (say, > "\symfootnote") which blends with normal footnotes, but prints footnotes > with symbol marks (say, Set 2) and not with numbers. In other words, is > it possible to achieve the same result as the working example above with > something like the (pseudo) example below? > > %-- Pseudo example -- > > \setupindenting[yes,small] > \def\symfootenote ?????????? > \setupnotation[symfootnote][align={hz,hanging},indenting={yes,small,next}] > \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next}] > > \startdocument > This is the first sentence with a footnote.\footnote{This is the > first footnote and its mark is "1".} > This is the second sentence with a footnote.\symfootnote{This is the > second footnote and its mark is "*". } > This is the third sentence with a footnote.\footnote{This is the > third footnote and its mark is "2". } > \stopdocument > > Thank you. \setupindenting [yes,small] \defineconversion [mymix] [a,b,c] \definenotation [symfootnote] [footnote] [counter=] \setupnotation [footnote] [align={hz,hanging}, indenting={yes,small,next}] \setupnotation [symfootnote] [align={hz,hanging}, indenting={yes,small,next}, numberconversion=mymix] \startdocument This is the first sentence with a footnote.\footnote{This is the first footnote and its mark is "1".} This is the second sentence with a footnote.\symfootnote{This is the second footnote and its mark is "a". } This is the third sentence with a footnote.\footnote{This is the third footnote and its mark is "2". } This is the second sentence with a footnote.\symfootnote{This is the fourth footnote and its mark is "b". } \stopdocument ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Symbol Footnote Command 2019-12-23 14:12 ` Hans Hagen @ 2019-12-23 14:37 ` Aykut Aykutt 0 siblings, 0 replies; 3+ messages in thread From: Aykut Aykutt @ 2019-12-23 14:37 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3349 bytes --] Thank you very much! Hans Hagen <j.hagen@xs4all.nl>, 23 Ara 2019 Pzt, 17:12 tarihinde şunu yazdı: > On 12/23/2019 2:21 PM, Aykut Aykutt wrote: > > Hi, > > > > I can change the mark of the second footnote from "2" to asterix by > > defining a conversion like so: > > > > %-- Working example, but it is not what I need -- > > \setupindenting[yes,small] > > \defineconversion[mymix][1,\m{*},2] > > > \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix] > > > > \startdocument > > This is the first sentence with a footnote.\footnote{This is the > > first footnote and its mark is "1".} > > This is the second sentence with a footnote.\footnote{This is the > > second footnote and its mark is "*". } > > This is the third sentence with a footnote.\footnote{This is the > > third footnote and its mark is "2". } > > \stopdocument > > > > Clearly this conversion repeats the marks "1", "*" and "2" repeatedly. > > Is there a way to define a new/special footnote command (say, > > "\symfootnote") which blends with normal footnotes, but prints footnotes > > with symbol marks (say, Set 2) and not with numbers. In other words, is > > it possible to achieve the same result as the working example above with > > something like the (pseudo) example below? > > > > %-- Pseudo example -- > > > > \setupindenting[yes,small] > > \def\symfootenote ?????????? > > > \setupnotation[symfootnote][align={hz,hanging},indenting={yes,small,next}] > > > \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next}] > > > > \startdocument > > This is the first sentence with a footnote.\footnote{This is the > > first footnote and its mark is "1".} > > This is the second sentence with a footnote.\symfootnote{This is the > > second footnote and its mark is "*". } > > This is the third sentence with a footnote.\footnote{This is the > > third footnote and its mark is "2". } > > \stopdocument > > > > Thank you. > \setupindenting > [yes,small] > > \defineconversion > [mymix] > [a,b,c] > > \definenotation > [symfootnote] > [footnote] > [counter=] > > \setupnotation > [footnote] > [align={hz,hanging}, > indenting={yes,small,next}] > > \setupnotation > [symfootnote] > [align={hz,hanging}, > indenting={yes,small,next}, > numberconversion=mymix] > > \startdocument > This is the first sentence with a footnote.\footnote{This is the > first footnote and its mark is "1".} > This is the second sentence with a footnote.\symfootnote{This is > the second footnote and its mark is "a". } > This is the third sentence with a footnote.\footnote{This is the > third footnote and its mark is "2". } > This is the second sentence with a footnote.\symfootnote{This is > the fourth footnote and its mark is "b". } > \stopdocument > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > [-- Attachment #1.2: Type: text/html, Size: 4389 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-23 14:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-12-23 13:21 Symbol Footnote Command Aykut Aykutt 2019-12-23 14:12 ` Hans Hagen 2019-12-23 14:37 ` Aykut Aykutt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).