From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105932 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Aykut Aykutt Newsgroups: gmane.comp.tex.context Subject: Re: Symbol Footnote Command Date: Mon, 23 Dec 2019 17:37:40 +0300 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3465098063324028835==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93414"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 23 15:38:26 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 1ijOqn-000O8V-4z for gctc-ntg-context-518@m.gmane.org; Mon, 23 Dec 2019 15:38:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8412F17806A; Mon, 23 Dec 2019 15:37:58 +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 MOAq6Ug_znc9; Mon, 23 Dec 2019 15:37:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 35171178069; Mon, 23 Dec 2019 15:37:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 69BF2178069 for ; Mon, 23 Dec 2019 15:37:54 +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 TB08jLUHQb3w for ; Mon, 23 Dec 2019 15:37:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.172; helo=mail-qt1-f172.google.com; envelope-from=aykutaytis@gmail.com; receiver= Original-Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 4B56F345 for ; Mon, 23 Dec 2019 15:37:53 +0100 (CET) Original-Received: by mail-qt1-f172.google.com with SMTP id d18so12854609qtj.10 for ; Mon, 23 Dec 2019 06:37:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UNR/Bhj/vTME2XNAlSFXQ7t/7hwDe9fyzUGz4NgeQqM=; b=dKoIxxlV1UlfeTDUfgY7CpgT6Pp9qKLjOdTZHFEGaKQEM0sQm6UYF6IrpP4usyLCrx MaiOf3tx/1Gy5aIf6Vh1mP/Tmu5mEx+UAPcapuaVBOhoRqP+QzUYAuoD++CRW4Kojrnu XTXFRMg/GuyXNwEDXKWxT+9maaFBAgW6zIbSSCbmCYT6DBLhWV0I4ZShANXfP5Rm9w43 UXpvMV1MCoCq9DEGuHb0KuhX2O3yAS0J6y3CirJ3uHULs+mD09n70I3zncv7pd9l4dxb d/7y2P3mvO4ge5PEAlE8Va8zn+6bPr987hXW0V8IIoKRXO4MBsz8r3151tNYeLl2Fm2A 1A2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UNR/Bhj/vTME2XNAlSFXQ7t/7hwDe9fyzUGz4NgeQqM=; b=f6LmjJsHFAXQmyHvhh/XE64h6grFjNdIMGq8J4h79asQe2CWwLwFddA0UD7aQYqx6e cjb5Oo/7+YV9CNk+lz4UP7d8AKAS5XL1Jb7mdK24v3RIA7G3C41kNfj464CLLsv1rzBN 6FnLGKecAgNHBii33vhneSt4B3kadUoKzHGxkZPget4HQHxx8qsINIVH01bCVtgl7wZu 2Uvm4Ua0ivXznmcNn8CPJsetn65b//g+9jCVVd5pQKuEFpxe5awVSaTszlxGKBBO/58J Vg3h5j0hntI4OWutLQ9bTtNXZO2fOMgqIBFtNCxnfVimncV/cwwESIK7sqpxmWwTc6SJ f+nQ== X-Gm-Message-State: APjAAAUqJGbUh0P4FiJUPPwW7wIuG+skYSQXdJ/rB1pIZnQ1yXWPqhFf k/Ol2OYDMGhnkgohhEGGUeSS6I5V71fhhkwy3s8= X-Google-Smtp-Source: APXvYqw87Awn15QSSfDxTWTsOycSq9WC7sLZZW8HDB6K6fONQ5057DOWIorj9OvdY7VbZ4bpTYHVE2pJH/Zn+RCSyLI= X-Received: by 2002:ac8:140e:: with SMTP id k14mr23217385qtj.222.1577111871826; Mon, 23 Dec 2019 06:37:51 -0800 (PST) In-Reply-To: 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:105932 Archived-At: --===============3465098063324028835== Content-Type: multipart/alternative; boundary="000000000000e43296059a5ff898" --000000000000e43296059a5ff898 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you very much! Hans Hagen , 23 Ara 2019 Pzt, 17:12 tarihinde =C5=9Funu = yazd=C4=B1: > 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=3D{hz,hanging},indenting=3D{yes,small,nex= t},numberconversion=3Dmymix] > > > > \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 footnote= s > > 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 wit= h > > something like the (pseudo) example below? > > > > %-- Pseudo example -- > > > > \setupindenting[yes,small] > > \def\symfootenote ?????????? > > > \setupnotation[symfootnote][align=3D{hz,hanging},indenting=3D{yes,small,= next}] > > > \setupnotation[footnote][align=3D{hz,hanging},indenting=3D{yes,small,nex= t}] > > > > \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 th= e > > 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=3D] > > \setupnotation > [footnote] > [align=3D{hz,hanging}, > indenting=3D{yes,small,next}] > > \setupnotation > [symfootnote] > [align=3D{hz,hanging}, > indenting=3D{yes,small,next}, > numberconversion=3Dmymix] > > \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 > ----------------------------------------------------------------- > --000000000000e43296059a5ff898 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much!

Hans Hagen <j.hagen@xs4all.nl>, 23 Ara 2019 Pzt, 17:12 tarihin= de =C5=9Funu yazd=C4=B1:
On 12/23/2019 2:21 PM, Aykut Aykutt wrote:
> Hi,
>
> I can change the mark of the second footnote from "2" to ast= erix by
> defining a conversion=C2=A0like so:
>
>=C2=A0 =C2=A0 =C2=A0%-- Working example, but it is not what I need -- >=C2=A0 =C2=A0 =C2=A0\setupindenting[yes,small]
>=C2=A0 =C2=A0 =C2=A0\defineconversion[mymix][1,\m{*},2]
>=C2=A0 =C2=A0 =C2=A0\setupnotation[footnote][align=3D{hz,hanging},inden= ting=3D{yes,small,next},numberconversion=3Dmymix]
>
>=C2=A0 =C2=A0 =C2=A0\startdocument
>=C2=A0 =C2=A0 =C2=A0This is the first sentence with a footnote.\footnot= e{This is the
>=C2=A0 =C2=A0 =C2=A0first footnote and its mark is "1".}
>=C2=A0 =C2=A0 =C2=A0This is the second sentence with a footnote.\footno= te{This is the
>=C2=A0 =C2=A0 =C2=A0second footnote and its mark is "*". } >=C2=A0 =C2=A0 =C2=A0This is the third sentence with a footnote.\footnot= e{This is the
>=C2=A0 =C2=A0 =C2=A0third footnote and its mark is "2". }
>=C2=A0 =C2=A0 =C2=A0\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 prin= ts footnotes
> with symbol marks (say, Set 2) and not with numbers. In other words, i= s
> it possible to achieve=C2=A0the same result as the working example abo= ve with
> something like the (pseudo) example below?
>
>=C2=A0 =C2=A0 =C2=A0%--=C2=A0 Pseudo example --
>
>=C2=A0 =C2=A0 =C2=A0\setupindenting[yes,small]
>=C2=A0 =C2=A0 =C2=A0\def\symfootenote ??????????
>=C2=A0 =C2=A0 =C2=A0\setupnotation[symfootnote][align=3D{hz,hanging},in= denting=3D{yes,small,next}]
>=C2=A0 =C2=A0 =C2=A0\setupnotation[footnote][align=3D{hz,hanging},inden= ting=3D{yes,small,next}]
>
>=C2=A0 =C2=A0 =C2=A0\startdocument
>=C2=A0 =C2=A0 =C2=A0This is the first sentence with a footnote.\footnot= e{This is the
>=C2=A0 =C2=A0 =C2=A0first footnote and its mark is "1".}
>=C2=A0 =C2=A0 =C2=A0This is the second sentence with a footnote.\symfoo= tnote{This is the
>=C2=A0 =C2=A0 =C2=A0second footnote and its mark is "*". } >=C2=A0 =C2=A0 =C2=A0This is the third sentence with a footnote.\footnot= e{This is the
>=C2=A0 =C2=A0 =C2=A0third footnote and its mark is "2". }
>=C2=A0 =C2=A0 =C2=A0\stopdocument
>
> Thank you.
\setupindenting
=C2=A0 =C2=A0[yes,small]

\defineconversion
=C2=A0 =C2=A0[mymix]
=C2=A0 =C2=A0[a,b,c]

\definenotation
=C2=A0 =C2=A0[symfootnote]
=C2=A0 =C2=A0[footnote]
=C2=A0 =C2=A0[counter=3D]

\setupnotation
=C2=A0 =C2=A0[footnote]
=C2=A0 =C2=A0[align=3D{hz,hanging},
=C2=A0 =C2=A0 indenting=3D{yes,small,next}]

\setupnotation
=C2=A0 =C2=A0[symfootnote]
=C2=A0 =C2=A0[align=3D{hz,hanging},
=C2=A0 =C2=A0 indenting=3D{yes,small,next},
=C2=A0 =C2=A0 numberconversion=3Dmymix]

\startdocument
=C2=A0 =C2=A0 =C2=A0This is the first sentence with a footnote.\footnote{Th= is is the
first footnote and its mark is "1".}
=C2=A0 =C2=A0 =C2=A0This is the second sentence with a footnote.\symfootnot= e{This is
the second footnote and its mark is "a". }
=C2=A0 =C2=A0 =C2=A0This is the third sentence with a footnote.\footnote{Th= is is the
third footnote and its mark is "2". }
=C2=A0 =C2=A0 =C2=A0This is the second sentence with a footnote.\symfootnot= e{This is
the fourth footnote and its mark is "b". }
\stopdocument


-----------------------------------------------------------------
=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 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--000000000000e43296059a5ff898-- --===============3465098063324028835== 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== --===============3465098063324028835==--