On 2/16/2023 10:16 AM, Denis Maier via ntg-context wrote:
Hi,
I’m getting unexpected results for \xmlpos
With the example below, I was expecting to get the following positions:
1 2 3 4
However the result is: 2 4 6 8, i.e. each time it’s exactly the double.
What am I missing?
that there are
On 2/16/2023 8:07 PM, Alex Leray via ntg-context wrote:
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
\setuphead[section][conversion=romannumeralszero]
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
\setuphead[section][conversion=romannumeralszero]
\starttext
\startsection[title={Section zero}]foo\stops
On Thu, 16 Feb 2023, Willi Egger via ntg-context wrote:
> Hi math gurus,
>
> I should typeset a couple of simple math formulae. However I do not get the
> desired result. I attach my output as pdf.
>
> 1. Why is the \times 12 in the denominator although the fraction is grouped?
> — I tried als
On 2/16/2023 6:05 PM, Willi Egger via ntg-context wrote:
Hi math gurus,
I should typeset a couple of simple math formulae. However I do not get the
desired result. I attach my output as pdf.
1. Why is the \times 12 in the denominator although the fraction is grouped? —
I tried also the groupi
Hi math gurus,
I should typeset a couple of simple math formulae. However I do not get the
desired result. I attach my output as pdf.
1. Why is the \times 12 in the denominator although the fraction is grouped? —
I tried also the grouping with bracis, which gives the same result.
2. Why is the
Hello,
I'd like to have roman numerals prefixed sections, but starting from
Zero and not One (even if I know that roman numerals don't have a sign
for 0).
Is there a way to achieve this? My code looks like that at the moment:
###
\setuphead[section][conversion=Romannumerals]
\starttext
\se
Hi,
I'm getting unexpected results for \xmlpos
With the example below, I was expecting to get the following positions:
1 2 3 4
However the result is: 2 4 6 8, i.e. each time it's exactly the double.
What am I missing?
Background: I need to define column alignment based on the value of the
elem