Command/nomarking

Unofficial ConTeXt Wiki mirror

Last modified: 2026-08-18

Syntax (autogenerated)

Syntax

\nomarking{...}
{...} text

Description

Identifies a sub-part of a title or heading which shouldn't be carried over into the \marking mechanism.

NOTE NOTE NOTE: this command does not work in ConTeXt LMTX. Instead, base your solution on something like the following example (thanks to JPD and then HH, who provided this information on the mailing list):

\setupheadertexts[chapter]
\starttext
\placecontent
\startchapter
[title={This title is long enough to cause problems in the headers and
        footers},
marking={This title is long ...},  % This version will appear in the header
list={This title is long enough},  % This version will appear in the ToC
]
Here the whole title is used in the document, while the shorter
`marking` is used for the header.
\stopchapter
\stoptext

Example

This example is now a historical artifact, left here for future ConTeXt archaeologists.

\chapter{This title is long \nomarking{enough to cause problems in the headers
and footers}}

Here the whole title will be displayed as normal, but if the chapter title is 
used as a header or footer it will be displayed as:

This title is long ...

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: