From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115671 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur via ntg-context Newsgroups: gmane.comp.tex.context Subject: Numbercommand and title Date: Fri, 12 Aug 2022 11:12:31 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4015557971070707839==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30582"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Fabrice Couvreur To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 12 11:13:28 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 1oMQjQ-0007na-6j for gctc-ntg-context-518@m.gmane-mx.org; Fri, 12 Aug 2022 11:13:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 11DD02A3953; Fri, 12 Aug 2022 11:13:07 +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 LqkL1CZpQSXj; Fri, 12 Aug 2022 11:13:05 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 606522A3D79; Fri, 12 Aug 2022 11:13:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 268AF2A3D79 for ; Fri, 12 Aug 2022 11:13:04 +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 wK2ow-ZI7z0O for ; Fri, 12 Aug 2022 11:13:03 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.180; helo=mail-oi1-f180.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (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 E5DCF2A3953 for ; Fri, 12 Aug 2022 11:13:02 +0200 (CEST) Original-Received: by mail-oi1-f180.google.com with SMTP id j5so504397oih.6 for ; Fri, 12 Aug 2022 02:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=zePjWnq/9yzmraX+DkYAfMX+0IOsyVG87+15Dt8uG1M=; b=cqIN4ScoGq4Mhn5QjB//MtxKS4ZpC0uCJyZeRNJcYfSn3HT7TjFet58liP1YZG4jf8 sVtBJ67kxoE3f/XmewfGSLAHSrr9rvuwRnMAeKTBfTCPfUkM97oX6s8sKsJB8s9d6RW2 KfgbE2IOCVKPhipHc0oDXafuUIL5c1NQFBlk3aA9cixTbktdx/KSurVNXq4Z8POSlQQX 3CigIGyCy2uLHAYNuRi+Tss75mD1NdcSwkaTycKp5nOjgSvtu2DT1mH6uxu7RNSZ/FeE AImn1je1+sdssVHHrTnY0dDmhJTTSC0dN4Pa4qT7ypSSlwLZT5whzeIkWr/CNSbnEULO AezA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=zePjWnq/9yzmraX+DkYAfMX+0IOsyVG87+15Dt8uG1M=; b=4s5zew8UziGcHMftsDyA9bYdrPJDfhxYdRQ3K6ghO4Ckg78bMRqi3rf2RFMgMGtGSZ zSNnUJHqjZtSvwAR+iphw33dL07IS4LAWKiCiA89HtlLF201UMIx4m8HqYtiyW8VKxmS 1s1QJrA29KlzWevHxwzZXi+buvYqDZjhklidRyG0LV4EltIrhgdYLp4O6BBa1GiQTHDn FT2eqd9wMp7LQZ5+hewoxpX3FbpTXjmsgLdX4jRG7KrX0XCTTJrIh4B32XihFY2rIJPL TSCV1YEtM8pgg+FQ8/4CtboKTYULnz06LXunFItT6aeDNLsC5F0p46xAYAfpjr4JG+8f FjHA== X-Gm-Message-State: ACgBeo1MOZOKI28CgjNLtk55oNouBUD0rMai4Oa79Rh9K6P+MiYrjZa3 6xNeKoaXeYU/svrYeCJNvRKkrPRHE70KSBH3TAyEhWT/dO8= X-Google-Smtp-Source: AA6agR7ceFbBbDtFOLLH06czU6YmVxyuTDUSOgYN2C8adVzVJji6Wo0Elmv6QP/bVne/iKVu4Imc4J0+gyH4NwmWySE= X-Received: by 2002:aca:d0a:0:b0:343:4049:689b with SMTP id 10-20020aca0d0a000000b003434049689bmr1223368oin.56.1660295581246; Fri, 12 Aug 2022 02:13:01 -0700 (PDT) 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:115671 Archived-At: --===============4015557971070707839== Content-Type: multipart/alternative; boundary="00000000000057a8c205e607b0c5" --00000000000057a8c205e607b0c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, How to make the period after the number be after the second parenthesis when there is a title like this D=C3=A9finition 1.1 (Title). ? Thanks Fabrice ################################################ \definestructureconversionset [structure] [n, R, n, n, n] [n] \defineconversionset [digit] [] [n] \setupheads[sectionconversionset=3Dstructure] \setupenumerations [before=3D{\blank}, after=3D{\blank}, alternative=3Dserried, distance=3D0.5em, title=3Dyes, titleleft=3D, titleright=3D, titlestyle=3Dnormal, numbercommand=3D\groupedcommand{}{.}, titlecommand=3D\groupedcommand{(}{)}, width=3Dbroad, way=3Dbychapter, prefix=3Dyes, prefixsegments=3Dchapter, prefixconversionset=3Ddigit,] \defineenumeration [definition] [text=3DD=C3=A9finition, number=3Dyes, style=3Ditalic] \starttext \startchapter [title=3D{First Chapter}] \startdefinition [title=3D{My first d=C3=A9finition}] \input{ward} \stopdefinition \startdefinition \input ward \stopdefinition \startdefinition [title=3D{My third d=C3=A9finition}] \input ward \stopdefinition \stopchapter \stopchapter \stoptext --00000000000057a8c205e607b0c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
How to make the period after the number be after the = second parenthesis when there is a title like this=C2=A0 D=C3=A9finition 1.= 1 (Title). ?
Thanks
Fabrice

####################################= ############
\definestructureconversionset [structure] [n, R, n, n, n] [n]<= br>=C2=A0 =C2=A0
\defineconversionset [digit] [] [n]

\setupheads[= sectionconversionset=3Dstructure]

\setupenumerations
=C2=A0 [befo= re=3D{\blank},
=C2=A0 =C2=A0after=3D{\blank},
=C2=A0 =C2=A0alternativ= e=3Dserried,
=C2=A0 =C2=A0distance=3D0.5em,
=C2=A0 =C2=A0title=3Dyes,=
=C2=A0 =C2=A0titleleft=3D,
=C2=A0 =C2=A0titleright=3D,
=C2=A0 =C2= =A0titlestyle=3Dnormal,
=C2=A0 =C2=A0numbercommand=3D\groupedcommand{}{.= },
=C2=A0 =C2=A0titlecommand=3D\groupedcommand{(}{)}, =C2=A0
=C2=A0 = =C2=A0width=3Dbroad,
=C2=A0 =C2=A0way=3Dbychapter,
=C2=A0 =C2=A0prefi= x=3Dyes,
=C2=A0 =C2=A0prefixsegments=3Dchapter,
=C2=A0 =C2=A0prefixco= nversionset=3Ddigit,]

\defineenumeration
=C2=A0 =C2=A0[definition= ]
=C2=A0 =C2=A0[text=3DD=C3=A9finition,
=C2=A0 =C2=A0 number=3Dyes,=C2=A0 =C2=A0 style=3Ditalic]

\starttext
\startchapter
=C2= =A0 [title=3D{First Chapter}]
=C2=A0 \startdefinition
=C2=A0 =C2=A0 [= title=3D{My first d=C3=A9finition}]
=C2=A0 =C2=A0 \input{ward}
=C2=A0= \stopdefinition
=C2=A0 \startdefinition
=C2=A0 =C2=A0 \input ward=C2=A0 \stopdefinition
=C2=A0 \startdefinition
=C2=A0 =C2=A0 [title= =3D{My third d=C3=A9finition}]
=C2=A0 =C2=A0 \input ward
=C2=A0 \stop= definition
\stopchapter
\stopchapter
\stoptext
--00000000000057a8c205e607b0c5-- --===============4015557971070707839== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4015557971070707839==--