From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113956 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Youssef Cherem via ntg-context Newsgroups: gmane.comp.tex.context Subject: \thanks inside author in section Date: Sat, 1 Jan 2022 09:10:22 -0300 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2549077737092142576==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Youssef Cherem To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 01 13:11:09 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 1n3dE3-0006Up-Rq for gctc-ntg-context-518@m.gmane-mx.org; Sat, 01 Jan 2022 13:11:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7DED9288FBC; Sat, 1 Jan 2022 13:10:40 +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 EpKR_S_IEWDi; Sat, 1 Jan 2022 13:10:38 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 54C49282942; Sat, 1 Jan 2022 13:10:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 00B49282942 for ; Sat, 1 Jan 2022 13:10:37 +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 ebDyJWRni2CE for ; Sat, 1 Jan 2022 13:10:35 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.173; helo=mail-yb1-f173.google.com; envelope-from=ycherem@gmail.com; receiver= Original-Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.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 B835C280282 for ; Sat, 1 Jan 2022 13:10:34 +0100 (CET) Original-Received: by mail-yb1-f173.google.com with SMTP id g80so42397155ybf.0 for ; Sat, 01 Jan 2022 04:10:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=EMJ12vIJZxmHI9V4BTpF3TW+MxrtbpTaWeqEKgO1QDU=; b=UoogMSQU7sX4EuD6ANh19WcklFgYdyl6RcR0/f/q1l9YXli+ZjkuXDkr51qSZsr0DE k6kxneVwTrO/zo/ME7KLlkOz8PdBpqpaBpOwa3ZKl+NltiJLBD5huSdwoLwXD6pgtaTr vykaLBRMjbVtkj8hZGRrC6IHuubngkD+NRRs95wilLpdbRdm4Oi5W6t+5P6B5olslKq6 fgCrKWW425jXgA6XJGxRmjmlTU+Lb5ZpnIVMPCvjkK5qkVAzDr/FH/LUGDAqln+N8E8f AZnjFsun20Z9K+c4QVClzlVdW3AzlN78ZaLo3iuHQCWzN4GJFSjfMp9MvH0e+mBnl8o+ hPOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EMJ12vIJZxmHI9V4BTpF3TW+MxrtbpTaWeqEKgO1QDU=; b=MMnPm5IAKpi8GSaf62V5kkglVeenXqXVO3GFBUZQN96S8470t5Kz8L0KY/feUmY5PB +Q0ROCM2mKkBvGqORNK9aIic5UY1iizcNUVDG+BLucFxZ0e2KEczank0Gfe/E5/SFAKQ QerKXzxlSE/p4e8cLl7xKHBzS3LX9R913TljQpcGWEQRJ+LrBDF7YJ0c/1KJbjhr32Sv EbbglZqfiPrdZY4SK2rycOyqMPvW1egIFnfmyYbp0clQ1LM94cKitmJrEYzvx0srJse/ 2NDdSvoTogz9x5xNmNNDgfQ5nqd0k2ZnljyATftLXl8Fn4fbDW2VW64yCwD5WBsLCec6 hC0w== X-Gm-Message-State: AOAM530Cg8nc0MQXWjVb64ybfWo8yrQ/AD75yth8NdsoNCLuWnr+4DFT qTiQmz9yCKtqewljxOwXpXnIIbMhvf5SlZnGDUgjvebC6GvJAA== X-Google-Smtp-Source: ABdhPJwr2bFi6j5/FZvfYt8YVWNvrcJjvTpqpLg0WrKWHcajxWm+Pll54q9YTXgEOUdmrHhq2cplUA6ZzJyeKHx/8ug= X-Received: by 2002:a25:4cc:: with SMTP id 195mr42498949ybe.375.1641039033006; Sat, 01 Jan 2022 04:10:33 -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.io gmane.comp.tex.context:113956 Archived-At: --===============2549077737092142576== Content-Type: multipart/alternative; boundary="000000000000a0004805d4842c73" --000000000000a0004805d4842c73 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've tried to implement a journal-like footnote with the authors' affiliation for each section/chapter, by adapting things from the wiki ( https://wiki.contextgarden.net/Table_of_Contents#Author_in_ToC and https://wiki.contextgarden.net/LaTeX_Thanks). However, one thing that bugs me is that any note name I choose other than "thanks" does not work, and I have no clue why. Am I missing something, or is there a more elegant way to implement this? As an aside, I'd rather have the footnotes below the "thanks" notes. Is there any option that does this? \setuplist[section][ textcommand=3D\SectionTocEntry, after=3D\blank, ] \define[1]\SectionTocEntry{% \doifnot{\rawstructurelistuservariable{author}}{} {\start \it \structurelistuservariable{author}\stop\space-- \crlf}% #1% title \doifnot{\rawstructurelistuservariable{subtitle}}{} {\crlf\structurelistuservariable{subtitle}}} \setuphead[section][ after=3D\setup{section}, align=3Dcenter, number=3Dno, style=3D\bold ] \startsetups section \blank \midaligned{\it \structureuservariable{author}} \blank \stopsetups %\foonote{\structureuservariable{affiliation}} %only "thanks" seems to work. \definenote[thanks]%[numberconversion=3Dset 2] \setupnote[thanks][rule=3Doff] \setupnotation[thanks][numberconversion=3Dset 2] % or set 1 %\setupnote[footnote][location=3Dbottom] % does not work %% all notes, footnotes etc. \setupnotation[ alternative=3D{left,bottom}, hang=3Dfit, % if commented, hanging is larger indenting=3D{yes,small},indentnext=3Dyes, % please, indent everything, sho= uld be default ] \setupinteraction[state=3Dstart,color=3Dblack,contrastcolor=3Dblack] \setuphead[subject][align=3Dflushleft,style=3D\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=3Dc] \startsection[title=3D{Whatever}][author=3D{A. Uthor},subtitle=3D{I=E2=80= =99d like to say}] This is a section. \stopsection \startsection[title=3D{Segunda se=C3=A7=C3=A3o}][author=3D{Fulano de Tal},s= ubtitle=3D{Uma segunda se=C3=A7=C3=A3o de teste}] This is a section. \stopsection \startsection[title=3D{Terceira se=C3=A7=C3=A3o}][author=3D{Alberto de Paiva\thanks{asdf}},subtitle=3D{Uma terceira se=C3=A7=C3=A3o de teste}] This is a section. \stopsection \startsection[title=3D{Tr=C3=AAs autores}][author=3D{Sicrano de Tal\thanks{Universidade de Tangerinas} e Alberto Steinenberg\thanks{Universidade de Nilfgaard}}, subtitle=3D{Uma se=C3=A7=C3=A3o de teste com dois autores e coment=C3=A1rio= }] This is a section.\footnote{S=C3=B3 de teste.} \stopsection \stoptext --000000000000a0004805d4842c73 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
= I've tried to implement a journal-like footnote with the authors' a= ffiliation for each section/chapter, by adapting things from the wiki (https://wiki.cont= extgarden.net/Table_of_Contents#Author_in_ToC and=C2=A0https://wiki.contextgarden.net/LaTeX_Thanks)= . However, on= e thing that bugs me is that any note name I choose other than "thanks= " does not work, and I have no clue why. Am I missing something, or is= there a more elegant way to implement this?

As an aside, I= 'd rather have the footnotes below the "thanks" notes. Is the= re any option that does this?

\setuplist[section][
=C2=A0textcomm= and=3D\SectionTocEntry,
=C2=A0after=3D\blank,
]
=C2=A0 =C2=A0
= \define[1]\SectionTocEntry{%
=C2=A0\doifnot{\rawstructurelistuservariabl= e{author}}{}
{\start \it =C2=A0\structurelistuservariable{author}\stop\s= pace-- \crlf}%
=C2=A0#1% title
=C2=A0\doifnot{\rawstructurelistuserva= riable{subtitle}}{}
{\crlf\structurelistuservariable{subtitle}}}
=C2= =A0 =C2=A0
\setuphead[section][
=C2=A0after=3D\setup{section},
= =C2=A0align=3Dcenter,
=C2=A0number=3Dno,
=C2=A0style=3D\bold
]
= =C2=A0 =C2=A0
\startsetups section
=C2=A0\blank
=C2=A0\midaligned= {\it \structureuservariable{author}}
=C2=A0\blank
\stopsetups
=C2= =A0 =C2=A0
%\foonote{\structureuservariable{affiliation}}

<= span class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-seri= f">%only "thanks" seems to work.=C2=A0
\definenote[than= ks]%[numberconversion=3Dset 2]
\setupnote[thanks][rule=3Doff]
\setupn= otation[thanks][numberconversion=3Dset 2] % or set 1
=C2=A0 =C2=A0
%= \setupnote[footnote][location=3Dbottom] % does not work
=C2=A0 =C2=A0 %% all notes, footnotes etc.
\setupnotation[
=C2=A0alternative=3D{l= eft,bottom},
=C2=A0hang=3Dfit, % if commented, hanging is larger
=C2= =A0indenting=3D{yes,small},indentnext=3Dyes, % please, indent everything, s= hould be default
]
=C2=A0 =C2=A0
\setupinteraction[state=3Dstart,= color=3Dblack,contrastcolor=3Dblack]
=C2=A0 =C2=A0
\setuphead[subjec= t][align=3Dflushleft,style=3D\bfb]
=C2=A0 =C2=A0
\starttext
=C2= =A0 =C2=A0
\subject{Grande lista de autores}
=C2=A0 =C2=A0
\plac= econtent[alternative=3Dc]
=C2=A0 =C2=A0 =C2=A0
\startsection[title= =3D{Whatever}][author=3D{A. Uthor},subtitle=3D{I=E2=80=99d like to say}]This is a section.
\stopsection
=C2=A0 =C2=A0
\startsection[titl= e=3D{Segunda se=C3=A7=C3=A3o}][author=3D{Fulano de Tal},subtitle=3D{Uma seg= unda se=C3=A7=C3=A3o de teste}]
This is a section.
\stopsection
= =C2=A0 =C2=A0
\startsection[title=3D{Terceira se=C3=A7=C3=A3o}][author= =3D{Alberto de Paiva\thanks{asdf}},subtitle=3D{Uma terceira se=C3=A7=C3=A3o= de teste}]
This is a section.
\stopsection
=C2=A0 =C2=A0
\sta= rtsection[title=3D{Tr=C3=AAs autores}][author=3D{Sicrano de Tal\thanks{Univ= ersidade de Tangerinas} e Alberto Steinenberg\thanks{Universidade de Nilfga= ard}},
subtitle=3D{Uma se=C3=A7=C3=A3o de teste com dois autores e comen= t=C3=A1rio}]
This is a section.\footnote{S=C3=B3 de teste.}
\stopsect= ion

\stopt= ext

--000000000000a0004805d4842c73-- --===============2549077737092142576== 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== --===============2549077737092142576==--