ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Suppress label from the printed title of a section
@ 2025-09-30 10:40 ANH DŨNG LÊ
  0 siblings, 0 replies; only message in thread
From: ANH DŨNG LÊ @ 2025-09-30 10:40 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 891 bytes --]

Hello

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

[image: enter image description here] <https://i.sstatic.net/Kn3znIcG.png>

I would like 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].
Some solutions have been provided here
<https://tex.stackexchange.com/questions/751410/context-suppress-label-from-the-printed-title-of-a-section>.
I hope that this functionality could be made into an option in the next
release of ConTeXt.

Best regards,

Dung

[-- Attachment #1.2: Type: text/html, Size: 5273 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-30 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-30 10:40 [NTG-context] Suppress label from the printed title of a section ANH DŨNG LÊ

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