From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: bug in \headnumber[section] in LMTX?
Date: Sun, 7 Mar 2021 13:21:57 +0100 [thread overview]
Message-ID: <aa167f84-bc3b-1a57-866f-ce71373f090c@gmail.com> (raw)
In-Reply-To: <9064583b-979c-914e-9724-0547ce55be1b@gmx.es>
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2021-03-07 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-07 9:49 Pablo Rodriguez
2021-03-07 12:21 ` Wolfgang Schuster [this message]
2021-03-07 14:32 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa167f84-bc3b-1a57-866f-ce71373f090c@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).