From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105930 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Aykut Aykutt Newsgroups: gmane.comp.tex.context Subject: Symbol Footnote Command Date: Mon, 23 Dec 2019 16:21:30 +0300 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8353959310922652895==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50232"; mail-complaints-to="usenet@blaine.gmane.org" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 23 14:22:25 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ijNfD-000CtN-BO for gctc-ntg-context-518@m.gmane.org; Mon, 23 Dec 2019 14:22:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 24EE21646D7; Mon, 23 Dec 2019 14:21:47 +0100 (CET) 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 zqD7u_emopwE; Mon, 23 Dec 2019 14:21:45 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DAD541646CE; Mon, 23 Dec 2019 14:21:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AEAA61646C3 for ; Mon, 23 Dec 2019 14:21:43 +0100 (CET) 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 cvcuN6Ue1JRM for ; Mon, 23 Dec 2019 14:21:43 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.173; helo=mail-qt1-f173.google.com; envelope-from=aykutaytis@gmail.com; receiver= Original-Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 0BC48164439 for ; Mon, 23 Dec 2019 14:21:42 +0100 (CET) Original-Received: by mail-qt1-f173.google.com with SMTP id j5so15351366qtq.9 for ; Mon, 23 Dec 2019 05:21:42 -0800 (PST) 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=ptm0urJCesvWCVpFQpeshb141h1sESi1UM6BRwfKUHU=; b=B/4mX4Y/eRBEgnepSlCktxsHVQEotJ+K3Zj5TT/JERCgqKVYwzO7rtBJufqFKrxXzV RCT9zLgoTFVOoWrReiW69TeOSzKenGzwUZ8sUhoObjoBGckj+LlxWJROoCuSB7yXfXr2 Z2Bohy7eMGnn8Tg1pgUWT6m4iQqHyJK5IBoqpSmnXlW9FYyops7FmrriXIhpSwm1dXqY Y98wNbbN9W9W5CbvuE3Tjj/yuREMVEFX4NugxLKdJTKixNSVx+17KKoqm08ZRERFz6tv HBm5zRsYv2FZ8sYBtgbHEMp0q4BZYyLTEi2uCGKccMP5IRM3jaY/28Sg44c8hNNkAuZh B80Q== 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=ptm0urJCesvWCVpFQpeshb141h1sESi1UM6BRwfKUHU=; b=ddStXlkJG2DsStcBMDl8isPqjucgoKpMWCLBrQRQL7/i6Ua+NtJwk61sSS1zD9sijl QsPJcfuGdZvkqgXD7AruX2zsuFtDpD197KtlY+ForUIoqM56/XoL4jXFhA6Uaqwa5b8S 7JYVR9wMb0HSlb5XL8+kRlDPTMSrSi3IBrUzSQOjGUAs9Y1PNU8knaXUbyEwXoldDOkg F7MADk3u6/BGsS9xZkMSj3kJDjN5dh1SG16rWmISnVg456XpInWNZWdZayGGqHob6+m6 FPNgz8xwpPF6OfURyKKoBvO8OUq7MuDY7ImngmlZYoh6WKJkm332pvOu/r1yrQDEdSJK /2aA== X-Gm-Message-State: APjAAAWxP7WS2S+vUIUy+VmJmzKXgnAgEquS+OO8MSDvKdZsOi73bE4z kQwT36mHo+xCu2Obw4r5kJKXAq68b4nOHvB+C6M85IPNIAY= X-Google-Smtp-Source: APXvYqx2kOsS+4jOwb4Sr9WOoem8Igi333cS1kbct8/NeSfHw9tzQGC215vD8hLfEIlUhb+4NVbJ6s8Qm3kxrBusd+Q= X-Received: by 2002:ac8:140e:: with SMTP id k14mr22916876qtj.222.1577107301205; Mon, 23 Dec 2019 05:21:41 -0800 (PST) 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.org gmane.comp.tex.context:105930 Archived-At: --===============8353959310922652895== Content-Type: multipart/alternative; boundary="000000000000760bdb059a5ee893" --000000000000760bdb059a5ee893 Content-Type: text/plain; charset="UTF-8" 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. --000000000000760bdb059a5ee893 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I can change the mark of= the second footnote from "2" to asterix by defining a conversion= =C2=A0like so:

%-- Working example, but it is not what I need --\setupindenting[yes,small]
\defineconversion[mymix][1,\m{*},2]
\set= upnotation[footnote][align=3D{hz,hanging},indenting=3D{yes,small,next},numb= erconversion=3Dmymix]

\startdocument
This is the f= irst sentence with a footnote.\footnote{This is the first footnote and its = mark is "1".}
This is the second sentence with a footno= te.\footnote{This is the second footnote and its mark is "*". }= =C2=A0
This is the third sentence with a footnote.\footnote{This = is the third footnote and its mark is "2". }
\stopdocum= ent

Clearly this conversion repeats the ma= rks "1", "*" and "2" repeatedly. Is there a w= ay 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 achie= ve=C2=A0the same result as the working example above with something like th= e (pseudo) example below?

%--=C2=A0 Pseudo example --
<= /div>
\setupindenting[yes,small]
\def\symfootenote ??????????
\setupno= tation[symfootnote][align=3D{hz,hanging},indenting=3D{yes,small,next}]
\= setupnotation[footnote][align=3D{hz,hanging},indenting=3D{yes,small,next}]= =C2=A0=C2=A0

\startdocument
This is the firs= t sentence with a footnote.\footnote{This is the first footnote and its mar= k is "1".}
This is the second sentence with a footnote.= \symfootnote{This is the second footnote and its mark is "*". }= =C2=A0
This is the third sentence with a footnote.\footnote{This = is the third footnote and its mark is "2". }
\stopdocum= ent

Thank you.
<= br>
--000000000000760bdb059a5ee893-- --===============8353959310922652895== 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== --===============8353959310922652895==--