On 12/19/2020 6:05 PM, Christoph Reller wrote:
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
Hm, I'll check it.
Any help is welcome!
Actually, what you want is: \definedescription [desc] \starttext \startdesc[title={Long title},reference=foo,referencetext={Short Title}] \input jojomayer \stopdesc \about[foo] \stoptext So I'll add that (after all, occasionally we need to add some functionality in order to indicate progress.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------