Hello Otared, thanks for the hint. However, I'm still not able to tune the numbering setup fully.
Now I have (with resulting numbers | desired number):
----
\setuphead[part,chapter][placehead=yes,page=no]
\setupformulas
[prefix=yes,
%prefix=no,
%prefixsegments=chapter:section,
prefixsegments=part,
way=bysection,
%way=bytext,
%location=right,
]
\def\fakeformula{a^2 + b^2 = c^2}
\starttext
\part{P1}
\chapter{Cha1}
\section{A}
\placeformula\startformula\fakeformula\stopformula % 1.1 | 1.1 be "part 1,
formula #1 in the part"
\section{B}
\placeformula\startformula\fakeformula\stopformula % 1.1 | 1.2 be "part 1,
formula #2 in the part"
\subsection{Ba}
\placeformula\startformula\fakeformula\stopformula % 1.2 | 1.3 be "part 1,
formula #3 in the part"
\chapter{Cha2}
\section{A}
\placeformula\startformula\fakeformula\stopformula % 1.1 | 1.4 be "part 1,
formula #4 in the part"
\part{P2}
\chapter{Cha1}
\section{A}
\placeformula\startformula\fakeformula\stopformula % 2.1 | 2.1 be "part 2,
formula #1 in the part"
\stoptext
----
So the problem here is that EVERY SECTION resets the formula counter, whilst I would need
only \part to reset the counter, something like "[way=bypart]".
I played somehow with \setupformulas keys but without the wanted output...
Is there a way?
Best regards,
Lukas
On Thu, 06 Aug 2015 16:38:35 +0200, Otared Kavian <[email protected]> wrote:
Hi Lukás,
You configure the way the equations are numbered by sayng (for example)
\setupformulas[prefix=yes, prefixsegments=chapter:section,
way=bysection, location=right]
-- Ing. Lukáš Procházka | mailto:[email protected] Pontex s. r. o. | mailto:[email protected] | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038
SubForm4.mkiv
Description: Binary data
SubForm4.pdf
Description: Adobe PDF document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
