[NTG-context] My own marks

Jon Wong jhannwong at gmail.com
Sat Aug 31 14:46:00 CEST 2019


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



More information about the ntg-context mailing list