From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114985 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ross via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Can I just put a footnote without marking in the main text? Date: Wed, 18 May 2022 16:07:09 +0800 Message-ID: References: <9f48098d-e2b8-3e32-0fe3-10c2aee7038b@fastwebnet.it> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6166571646425784299==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39694"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ross To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 18 10:09:34 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrEkP-000A4A-JH for gctc-ntg-context-518@m.gmane-mx.org; Wed, 18 May 2022 10:09:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 15E47289EDE; Wed, 18 May 2022 10:08:56 +0200 (CEST) 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 sZBIniFYcshV; Wed, 18 May 2022 10:08:53 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 979F8289E43; Wed, 18 May 2022 10:08:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 53D2B289E58 for ; Wed, 18 May 2022 10:08:52 +0200 (CEST) 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 TISeQxMdYmT6 for ; Wed, 18 May 2022 10:08:51 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.48; helo=mail-oa1-f48.google.com; envelope-from=zhichu.chen@gmail.com; receiver= Original-Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (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 CDB28289E43 for ; Wed, 18 May 2022 10:08:50 +0200 (CEST) Original-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-e93bbb54f9so1657917fac.12 for ; Wed, 18 May 2022 01:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h7HzlsZNWfJdG76QfYA7hY/HyqjZbQCfCVzIVrPOLfQ=; b=aCGNoNZ+AVlJX4xQtXzQrP9z5Qz/1CQbwiS4tw0o6Da6DAsgN1zumQYN4Pu+i0wXAX i6q3A2RlrK7/oDcqO6D9sHpX1jsO7DZlZfKBlpGjNEh2KBQ3bcV2v8uRbDouMh1iRoRV R/mLVomOaXQcIK2xuRB8EKsgatneMcsk4a9pJi1i6ayugRGYX/96SAlY4Bhx2Z3gRkWT nYSyBUN3IIkxbNetinsSd6n1xsBVrggHrbzbEjCacvrFCtT+J+LSiWxeY5vX1JaOkpV7 trgt1CzaoAfMa0n1B1psBBT+d7K+b0t5enIcm9kr3JlCigkzzOjf7IPQjNiVuRXqpEGM Nrow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h7HzlsZNWfJdG76QfYA7hY/HyqjZbQCfCVzIVrPOLfQ=; b=BQjZ+vU9RiiEGCB3DHjSFgq/zNRSzuFIapNgo+/Umn8PXwxZxr/kerOCKJY5emV+/u s35j1RVZE/pA8WqIoVOKsMkCXjc3+/Cgosbg75L8R5iohWIgkEA261C/eW/q59bCoWb7 j36IUXQ2m1LnqGZM7R5n/C5amUvqv1C6fhZTkDaotUT/XiZdAwfaFUPOKAioj13xkc2d kIkhd8V/vNas/w8UCV0AjUMYapsWZEuWRTLS1811uwMRSlT29qRLpmUPDG05Fclc5v6V iJh4jPtq9Cjpg6lgNOQNP7RRqa8qzgDQ+vG5QGzYKlc7+zzVZjweBmAcQ/x8AAbG/j7w F6dQ== X-Gm-Message-State: AOAM533nQfdj+7H7rWcQPzzZOlrZuzHZYQ7A9v1wXVBB3DW7egTE4gv0 zAac0lcRgze324AUhZfcewTwwgu/cGAnZdGkN2EJEwZs X-Google-Smtp-Source: ABdhPJxfKco5PVp1eAtRnaO/gI9LfMvFqTUCsGbZCORWEcUJ++J/oEUt+rIqr6YFbUPuTypMcjF4/Wg64ishK34uzgo= X-Received: by 2002:a05:6870:59b:b0:e2:976c:7720 with SMTP id m27-20020a056870059b00b000e2976c7720mr14501637oap.16.1652861327982; Wed, 18 May 2022 01:08:47 -0700 (PDT) In-Reply-To: <9f48098d-e2b8-3e32-0fe3-10c2aee7038b@fastwebnet.it> 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.io gmane.comp.tex.context:114985 Archived-At: --===============6166571646425784299== Content-Type: multipart/alternative; boundary="00000000000051477105df44c470" --00000000000051477105df44c470 Content-Type: text/plain; charset="UTF-8" Dear Massi, Thanks for your solution. But the thing may be related to the \appendtoks macro. It doesn't work to put just \setnotetext there. \note works fine, so that's the reason I need the "full functional macro". Maybe I didn't get the point, so if it's not too much to ask, could you do it on my MWE? PS: sorry I have to use another email account because my institute mailbox took forever to get the message before my government (China) finishes auditing it. Best wishes, Zhichu On Wed, May 18, 2022 at 3:36 PM mf via ntg-context wrote: > Is this what you mean? > > \starttext > Hello\footnotetext{Footnote without mark}. > \stoptext > > Kind regards, > Massi > > Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto: > > Hi everybody, > > > > > > After some attempts to put footnotes in a mixed 1&2 columns layout, I > > decide to put marks in the one-column environment and flush them when > > entering the two-column environment. > > > > > > The code is ugly but the result is acceptable. Except that the invisible > > footnote marks do generate something in the main text, so there's a > > blank line for each footnote. > > > > > > Here's an MWE: > > > > > > ============================================= > > > > \definenote[address] > > \setupnote[address][rule=off,location=text] > > > > > > > > \definenote[putjustmark] > > \setupnote[putjustmark][location=none] > > \setupnotation[putjustmark][numberconversion=set 2] > > > > > > \definenote[putjustnote]%[footnote] % if footnotes need to be grouped, > > uncomment the second argument and the line after \the\titlefootnotes > > \setupnote[putjustnote][textcommand=\gobbleoneargument] > > \setupnotation[putjustnote][numberconversion=set 2] > > > > > > \newtoks\titlefootnotes > > > > > > \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to > > \titlefootnotes} > > \def\email#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to > > \titlefootnotes} > > > > > > \appendtoks > > \setcounter[footnote][0] % this looks stupid because it has no effect > > %\setupnotation[footnote][numberconversion=numerals] > > \to \titlefootnotes > > > > \definenamespace > > [addr] > > [type=module, > > name=address, > > command=yes, > > setup=list, > > parent=addr, > > ] > > > > \define[1]\useaddress > > {\setnotetext[address][#1]{\namedaddressparameter{#1}{name}}} > > > > > > \starttext > > > > > > > > \defineaddress[fst][name={Name of Institute or Affiliation, City, > Country}] > > \defineaddress[snd][name={Name of Secondary Institute or Affiliation, > > City, Country}] > > > > \processcommacommand[fst,snd]\useaddress > > > > > > The Title\thanks{Work supported by somebody.} > > > > Me\email{myemail@some.where}\high{,}\note[address][fst]\high{,}\note[address][snd] > > > > > > > > > \placenotes[address] > > > > \blank[medium] > > > > \startcolumns > > > > > > \the\titlefootnotes > > > > %\setcounter[footnote][0] % why it's necessary to set the counter > > outside the token if I define [putjustnote] as [footnote]? > > > > > > test\footnote{test} > > > > \input knuth > > > > > > > > \stopcolumns > > > > \stoptext > > > > ============================================= > > > > > ___________________________________________________________________________________ > > > > > 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 > > > ___________________________________________________________________________________ > > > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > -- Best Regards Chen --00000000000051477105df44c470 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Massi,

Thanks for your = solution. But the thing may be related to the \appendtoks macro. It doesn&#= 39;t work to put just \setnotetext there.
\note works fine, so th= at's the reason I need the "full functional macro".

Maybe I didn't get the point, so if it's not too mu= ch to ask, could you do it on my MWE?

PS: sorry I = have to use another email account because my institute mailbox took forever= to get the message before my government (China) finishes auditing it.

Best wishes,
Zhichu

On Wed, May 18, 2022 at 3= :36 PM mf via ntg-context <ntg-con= text@ntg.nl> wrote:
Is this what you mean?

\starttext
Hello\footnotetext{Footnote without mark}.
\stoptext

Kind regards,
Massi

Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto:
> Hi everybody,
>
>
> After some attempts to put footnotes in a mixed 1&2 columns layout= , I
> decide to put marks in the one-column environment and flush them when =
> entering the two-column environment.
>
>
> The code is ugly but the result is acceptable. Except that the invisib= le
> footnote marks do generate something in the main text, so there's = a
> blank line for each footnote.
>
>
> Here's an MWE:
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> \definenote[address]
> \setupnote[address][rule=3Doff,location=3Dtext]
>
>
>
> \definenote[putjustmark]
> \setupnote[putjustmark][location=3Dnone]
> \setupnotation[putjustmark][numberconversion=3Dset 2]
>
>
> \definenote[putjustnote]%[footnote] % if footnotes need to be grouped,=
> uncomment the second argument and the line after \the\titlefootnotes > \setupnote[putjustnote][textcommand=3D\gobbleoneargument]
> \setupnotation[putjustnote][numberconversion=3Dset 2]
>
>
> \newtoks\titlefootnotes
>
>
> \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to
> \titlefootnotes}
> \def\email#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to
> \titlefootnotes}
>
>
> \appendtoks
>=C2=A0 =C2=A0 \setcounter[footnote][0] % this looks stupid because it h= as no effect
>=C2=A0 =C2=A0 %\setupnotation[footnote][numberconversion=3Dnumerals] > \to \titlefootnotes
>
> \definenamespace
>=C2=A0 =C2=A0=C2=A0 [addr]
>=C2=A0 =C2=A0=C2=A0 [type=3Dmodule,
>=C2=A0 =C2=A0=C2=A0=C2=A0 name=3Daddress,
>=C2=A0 =C2=A0=C2=A0=C2=A0 command=3Dyes,
>=C2=A0 =C2=A0=C2=A0=C2=A0 setup=3Dlist,
>=C2=A0 =C2=A0=C2=A0=C2=A0 parent=3Daddr,
>=C2=A0 =C2=A0 ]
>
> \define[1]\useaddress
>=C2=A0 =C2=A0=C2=A0=C2=A0 {\setnotetext[address][#1]{\namedaddressparam= eter{#1}{name}}}
>
>
> \starttext
>
>
>
> \defineaddress[fst][name=3D{Name of Institute or Affiliation, City, Co= untry}]
> \defineaddress[snd][name=3D{Name of Secondary Institute or Affiliation= ,
> City, Country}]
>
> \processcommacommand[fst,snd]\useaddress
>
>
> The Title\thanks{Work supported by somebody.}
>
> Me\email{myemail@some.where}\high{,}\note[address][fst]\high{,}\note[a= ddress][snd]
>
>
>
> \placenotes[address]
>
> \blank[medium]
>
> \startcolumns
>
>
> \the\titlefootnotes
>
> %\setcounter[footnote][0] % why it's necessary to set the counter =
> outside the token if I define [putjustnote] as [footnote]?
>
>
> test\footnote{test}
>
> \input knuth
>
>
>
> \stopcolumns
>
> \stoptext
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> ______________________________________________________________________= _____________
>
> 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=C2=A0 :
http://www.pragma-ade.nl / http://context.aanhet.ne= t
> archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
> wiki=C2=A0=C2=A0=C2=A0=C2=A0 : http://contextgarden.net
> ______________________________________________________________________= _____________
>
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


--
Best Regards
Chen
--00000000000051477105df44c470-- --===============6166571646425784299== 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== --===============6166571646425784299==--