From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110924 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky Newsgroups: gmane.comp.tex.context Subject: Formula numbering including all prefix segments Date: Sat, 20 Mar 2021 22:45:23 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8295751521243278033==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38933"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 20 23:49:11 2021 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 1lNkP9-000A2j-6j for gctc-ntg-context-518@m.gmane-mx.org; Sat, 20 Mar 2021 23:49:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2CD3A281B4B; Sat, 20 Mar 2021 23:45:38 +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 4Q2CgvfUqOTP; Sat, 20 Mar 2021 23:45:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 46614281B3D; Sat, 20 Mar 2021 23:45:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 87C52281B40 for ; Sat, 20 Mar 2021 23:45:35 +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 spakHm7Tcray for ; Sat, 20 Mar 2021 23:45:35 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.54; helo=mail-ej1-f54.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 08D0A281B39 for ; Sat, 20 Mar 2021 23:45:34 +0100 (CET) Original-Received: by mail-ej1-f54.google.com with SMTP id b7so15322333ejv.1 for ; Sat, 20 Mar 2021 15:45:34 -0700 (PDT) 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=yfoHwTiyE8WqBakFZM80aX/IFqNfzlmN0xa+HDgP9Fo=; b=ZGq/6FKnKos2w7Zg4K0w0VQWfZ74NQBSQvYre44FriNyetb8vwHXCA04i2BuigkeYQ TU3czjkmTn633hmqV4+eq225AYwh/NJh1E1Kj1Du8xx+5bmh0FVEHS0GUhWgYn5bWslp epZJDUsih5t0li0EvUMMZPlMgXD3wwu5O2bColzixopgmM7eWOAGVqLYadYwevIQm5Ha lqnDzdd7v0a8OHS+F29EitwvJ34+wJA9QQKcmt/uRbYTk5uO1OCcqLe0ufJs28wNJJkH wvMZO/z49er4I+hu3yuS6No4hOxsrn8A8zJc9K3SNBRX4FNCgoL/HuNKdH8Ess75w8ks fB4w== 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=yfoHwTiyE8WqBakFZM80aX/IFqNfzlmN0xa+HDgP9Fo=; b=PYqKTPhbGjz1RajC9XhLF+BTtcK2v6l/LvQiXXs4Q3/KLFPAWrdxrsutCli6IzBqLT gyNCXeQHmx0QIHwOAZotOSCmA35yOY+9w5QX/41gBl5aOT+DRmR/VfB8RI0iBDV3yO+q tIyMvjVfVYFFIW8zigpE/BJ2T9g7KS8aC4UzVLYC10MZG6AGiUdFSyRmOzwo/o2rJRK+ aqsAsqYIgss/Ib618pzt3ZsI3K/a4bZaXOZAa9g2uRAZ+0GzIT0sw8T8yA50HSbRdIAO FmDdv1yfuSybNDKjw6D/O/UFuDOOsLOg7JU3XvqPR5idL1IcVSgSzsic0RUw5iO+U/8b drcw== X-Gm-Message-State: AOAM533KcVsa0nramjaBhpJtma23RXqqGfFxgLTnjDEBtRCyu8fibpX4 1DyIGL9ZPCirA7cenEBDsaBVx62eV3QvXQOnaUL7CWIsGcY= X-Google-Smtp-Source: ABdhPJwu3V3wWObKbuYCN8sB5opo5fNxUuo4kZ9dpAPWl0ElphBHrnWFHl6iFPFnaaL3TAkphJGTWZMsqS9B31na+qs= X-Received: by 2002:a17:906:f1d6:: with SMTP id gx22mr11658010ejb.59.1616280334428; Sat, 20 Mar 2021 15:45:34 -0700 (PDT) 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:110924 Archived-At: --===============8295751521243278033== Content-Type: multipart/alternative; boundary="00000000000030ebc505bdff97e5" --00000000000030ebc505bdff97e5 Content-Type: text/plain; charset="UTF-8" Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all] \placelist[formula][criterium=all] \stoptext The figure has number 1.1.1 and is in the list as 1.1.1, the formula has number 1.1 but is listed as 1.1.1. I would like to have the formula numbered 1.1.1 as well (as referenced in the placelist), so with section and subsection numbering. Adam --00000000000030ebc505bdff97e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Is there a way to have f= ormula numbers showing all prefix segments?
When I use prefixsegm= ents, I get the desired numbering in the placelist but not in the formula n= umber itself.

For example:
= \starttext
\setupcaption[figure][way=3Dbytext,prefixsegments=3D1:*]
\= setupformulas[way=3Dbytext,prefixsegments=3D1:*]
\startsection[title=3DS= ection]
\startsubsection[title=3DSubSection]
\startplacefigure[list= =3Dcow] \externalfigure[cow] \stopplacefigure
\startplaceformula[referen= ce=3Deq1] \startformula c^2 =3D a^2 + b^2 \stopformula \stopplaceformula\stopsubsection
\stopsection
\placelistoffigures[criterium=3Dall]\placelist[formula][criterium=3Dall]
\stoptext

The figure has number 1.1.1 and is in the list as 1.1.1, the formula has n= umber 1.1 but is listed as 1.1.1.
I would like to have the formula numbered 1.1.1 as well (as referenced in the placelist), so with section and subsection numbering.

Adam
--00000000000030ebc505bdff97e5-- --===============8295751521243278033== 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== --===============8295751521243278033==--