ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* My own marks
@ 2019-08-31 12:46 Jon Wong
  2019-08-31 13:28 ` Jon Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Wong @ 2019-08-31 12:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

How does \marking really work? Can’t seem to get \currentitemnumber into it.

MWE:

\definemarking[M]

\startsetups S
  \getmarking[M]
\stopsetups

\setupheadertexts[\setups{S}][][][\setups{S}]

\starttext

\startitemize[n]

  \item First item
  \marking[M]{Really? \currentitemnumber}[\currentitemnumber]
  \page

  \item Second item
  \marking[M]{Really? \currentitemnumber}[\currentitemnumber]
  \page

  \item Third item
  \marking[M]{Really? \currentitemnumber}[\currentitemnumber]

\stopitemize

\stoptext

Regards
Jon

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-31 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 12:46 My own marks Jon Wong
2019-08-31 13:28 ` Jon Wong
2019-08-31 13:39   ` Jon Wong

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).