[NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

Christoph Reller christoph.reller at gmail.com
Sat Dec 19 18:05:58 CET 2020


Hi,

In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt
LMTX, they are gone.

In LMTX, how can I achieve the following without using selectors:
(Different heading and reference texts for descriptions)

\defineselector[sel][max=2, n=2]
\definedescription[desc][headcommand={\setupselector[sel][n=1]}]
\starttext
\startdesc[title={\select{sel}{Long title}{Short}}, reference=desc]
  \input jojomayer
\stopdesc
\about[desc]
\stoptext

Any help is welcome!
Cheers,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201219/2c0c3c09/attachment.htm>


More information about the ntg-context mailing list