Skip to main content
Became Hot Network Question
added 86 characters in body
Source Link
Akira
  • 3.4k
  • 15
  • 27

I use ConTeXt ver: 2025.08.21 23:32 LMTX fmt: 2025.9.18 and have a tex file

\setupinteraction[state=start,focus=standard] \setuphead[section][textstyle=\bf,numbercommand=\groupedcommand{}{.}] \definereferenceformat[zcref][label=*,style=normal,color=blue] \setuplabeltext[en][section=Section~] \starttext \section[sec:math]{Math} We want to refer to \zcref[sec:math]. \stoptext 

enter image description here

Could you explain how to hide the word "Section" from the printed title? On the other hand, I would like to keep this word when using \zcref[sec:math]. I tried the option prefix=no in the command \setuphead[section], but to no avail.

I use ConTeXt ver: 2025.08.21 23:32 LMTX fmt: 2025.9.18 and have a tex file

\setupinteraction[state=start,focus=standard] \setuphead[section][textstyle=\bf,numbercommand=\groupedcommand{}{.}] \definereferenceformat[zcref][label=*,style=normal,color=blue] \setuplabeltext[en][section=Section~] \starttext \section[sec:math]{Math} We want to refer to \zcref[sec:math]. \stoptext 

enter image description here

Could you explain how to hide the word "Section" from the printed title? On the other hand, I would like to keep this word when using \zcref[sec:math].

I use ConTeXt ver: 2025.08.21 23:32 LMTX fmt: 2025.9.18 and have a tex file

\setupinteraction[state=start,focus=standard] \setuphead[section][textstyle=\bf,numbercommand=\groupedcommand{}{.}] \definereferenceformat[zcref][label=*,style=normal,color=blue] \setuplabeltext[en][section=Section~] \starttext \section[sec:math]{Math} We want to refer to \zcref[sec:math]. \stoptext 

enter image description here

Could you explain how to hide the word "Section" from the printed title? On the other hand, I would like to keep this word when using \zcref[sec:math]. I tried the option prefix=no in the command \setuphead[section], but to no avail.

Source Link
Akira
  • 3.4k
  • 15
  • 27

ConTeXt: suppress label from the printed title of a section

I use ConTeXt ver: 2025.08.21 23:32 LMTX fmt: 2025.9.18 and have a tex file

\setupinteraction[state=start,focus=standard] \setuphead[section][textstyle=\bf,numbercommand=\groupedcommand{}{.}] \definereferenceformat[zcref][label=*,style=normal,color=blue] \setuplabeltext[en][section=Section~] \starttext \section[sec:math]{Math} We want to refer to \zcref[sec:math]. \stoptext 

enter image description here

Could you explain how to hide the word "Section" from the printed title? On the other hand, I would like to keep this word when using \zcref[sec:math].