From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109347 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: \section with userdata Date: Sat, 7 Nov 2020 22:42:26 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4992667912016728280==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26303"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 07 22:46:01 2020 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 1kbW25-0006hc-6w for gctc-ntg-context-518@m.gmane-mx.org; Sat, 07 Nov 2020 22:46:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E33F1AA2FD; Sat, 7 Nov 2020 22:42: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 wP5wQmOV5Bcc; Sat, 7 Nov 2020 22:42:42 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3712E1AA2EA; Sat, 7 Nov 2020 22:42:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 28D511AA2E4 for ; Sat, 7 Nov 2020 22:42:41 +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 jFtUvD_bY6f7 for ; Sat, 7 Nov 2020 22:42:40 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.179; helo=mail-il1-f179.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (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 464101AA2E3 for ; Sat, 7 Nov 2020 22:42:40 +0100 (CET) Original-Received: by mail-il1-f179.google.com with SMTP id p10so4808460ile.3 for ; Sat, 07 Nov 2020 13:42:40 -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; bh=OXlBVot47zmex5bBhLOFsR3qP7EEpAekr1YPJSTqitQ=; b=L2d0nJFR1oJYfn5zTlwPfsJPwF58MStgv1gQ/s4/W70WlXs6pMzWLWGFL9ScCxchqo q7n/WyLBlWpFRqUz8jz8Q1tS/NC9Cm3muHMp0J/mAt8tAwUHNLG3VuNFk4AVjAYt34Aw erhD1NkzxSsoiTqHP4CZxg3+pvVmmNeS1GRrveLyIivEbnPMPw+hH2VsZPSfVxzSctR4 Vlo2Xmj7bGgvxoN3UhfdecxXxfp68P2iocKOGTLT5rTGxjDulGLLATShncp2QBAKTgKi ghb4/idY/d50rhYymj09ZBqIhkslA1beVaKvjPB/My2FQRfzWtNb2Hnz7A39c6AyD8RY qGsg== 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; bh=OXlBVot47zmex5bBhLOFsR3qP7EEpAekr1YPJSTqitQ=; b=eIj2yJOAJHM634JF8L50ktHG3WwLXkatWRA+crytF3GkO2Y+T021FxKTepuw/SK6B5 1JMJZ5ZeksKE2rgeIi4ZHPuyCrDSOfRmW+DLe+pmDTeIibF/d1VUILtP9TrqJ+JxEXc2 XX9wgMTZNMNJC3wiCAkltj2Nao8uhwMrrRugt4+Uzww616DcAR150G+KDN2JcGQA8ZMA oedpXrvYFsw1B97yq6QIl6AiToOgNtaSh9VFu4Y+mD/gV5Ad6GN/+kFjdhMwppZ90PbA kvdZzCaOuPYMSaFmNDUyNN59HuxT0wtY5qlDR7Dx72GmRGBSxGygemyTI3uNLwxpbO0P NTHw== X-Gm-Message-State: AOAM533XzlxKl8P+nh+TZHrUkTGd0rOgsX59I5UlIMtPGZOh2tj7FshI Af5lrbOSCwbX+Xf4tZ4kaYeqD/DDYhLZjOb7VGa3eKpB0yM= X-Google-Smtp-Source: ABdhPJxHtctaLaLLE0o6Lw3v1A9k/veP92wjFMqb7KJaUnQAbY2809dcw3zMp/44coprMw0tZDrMVR4ZqmNSO/wyNaU= X-Received: by 2002:a05:6e02:df1:: with SMTP id m17mr5630108ilj.70.1604785359144; Sat, 07 Nov 2020 13:42:39 -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.io gmane.comp.tex.context:109347 Archived-At: --===============4992667912016728280== Content-Type: multipart/alternative; boundary="00000000000045cb6405b38b353d" --00000000000045cb6405b38b353d Content-Type: text/plain; charset="UTF-8" The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. Thanks. On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert wrote: > Dear List, > > it is known that we can supply additional userdata like authors to > \startsection: > > \startsection[title=Title][author=Someone] > > so that the author can be included in the table of contents using > \structurelistuservariable{author}. > > Now I would like to do the same with \section, but according to the wiki > , \section doesn't seem > to accept any additional parameters like \startsection does. > > Does anyone know whether there is a workaround to let \section accept > userdata parameters? > > Thanks! > > Best, > Sylvain > --00000000000045cb6405b38b353d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The motivation of using \section was to avoid \stopse= ction, but I just found out that \stopsection is not really necessary.

Now I would like to ask whether there is any differenc= e between \section{Title} and \startsection[title=3DTitle].

<= /div>
Thanks.

On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert <= champignoom@gmai= l.com> wrote:
Dear List,

it is known = that we can supply additional userdata like authors to \startsection:
=

=C2=A0=C2=A0=C2=A0 \startsection[title=3DTitle][author= =3DSomeone]

so that the author can be included in = the table of contents using \structurelistuservariable{author}.
<= br>
Now I would like to do the same with \section, but according = to the wiki, \section doesn't seem to accept any additional pa= rameters like \startsection does.

Does anyone know= whether there is a workaround to let \section accept userdata parameters?<= /div>

Thanks!

Best,
S= ylvain
--00000000000045cb6405b38b353d-- --===============4992667912016728280== 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== --===============4992667912016728280==--