Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ \headnumbercontent\\ \headnumber[section] \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this may be a bug. Could anyone confirm both issues? Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez schrieb am 07.03.2021 um 10:49:
Dear list,
I have the following sample:
\starttext \section{Section} \currentheadnumber\\
You need \determineheadnumber[section] before you can use \currentheadnumber.
\headnumbercontent\\
You can use \headnumbercontent only when you create a new section layout with \defineheadalternative.
\headnumber[section]
It's a bug.
\stoptext
In LMTX, \headnumber[section] triggers an error message about missing number.
BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this may be a bug.
Could anyone confirm both issues?
Wolfgang
On 3/7/21 1:21 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 07.03.2021 um 10:49:
Dear list,
I have the following sample:
\starttext \section{Section} \currentheadnumber\\
You need \determineheadnumber[section] before you can use \currentheadnumber.
Many thanks for your reply, Wolfgang. I didn’t know that, but it makes sense now.
\headnumbercontent\\
You can use \headnumbercontent only when you create a new section layout with \defineheadalternative.
So, I didn’t make any sense in my sample. Many thanks for your help again, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster