From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109957 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Alternative for selector in LMTX for different heading and reference texts for descriptions Date: Sat, 19 Dec 2020 18:05:58 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3375803711779149087==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10176"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 19 18:06:29 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqfga-0002W7-SQ for gctc-ntg-context-518@m.gmane-mx.org; Sat, 19 Dec 2020 18:06:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2DC031AB1B3; Sat, 19 Dec 2020 18:06:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X9UXydfvEh-S; Sat, 19 Dec 2020 18:06:17 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 537BE1AB195; Sat, 19 Dec 2020 18:06:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 12EF71AAF88 for ; Sat, 19 Dec 2020 18:06:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vJo1ygM6ti-L for ; Sat, 19 Dec 2020 18:06:15 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.47; helo=mail-lf1-f47.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 795DF1AAF81 for ; Sat, 19 Dec 2020 18:06:15 +0100 (CET) Original-Received: by mail-lf1-f47.google.com with SMTP id m12so13588871lfo.7 for ; Sat, 19 Dec 2020 09:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=P3h4zNyequeBWFq76L4ZwAtXBHUF6YrXvc9/B2Lfv7E=; b=SA54m72Kjo9ZqRD4r0eHZtGvgCkHrPkVA7CZesUL0IuBjToAUSINXSfUhiZxVnr2Ow 6lyCJ7AaLEGvtBxI8/OyXbn7LaSsMQpW1skcRwN2AQhe61aM9QR/D7ysbs3y4kxYp2J1 VGUUV19J0E0MJySUkO8Ehi41LvIgKThzV1dVE+tXCTdSG2PWe4SZtRyL++nlG07QL9Nk aQOgOU+GtMtruglEkdaf32K/HwtFOa7ZmcQKGESDoVRRWhUT5iLOuCScx81Sb83mqpaN uJXzYGvcPDdtmXAWBPlboEbk3gJtrlUbXWkXTv0GhoHQ1BH1jJTUdu7w1maDeQfvLWMu Acvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=P3h4zNyequeBWFq76L4ZwAtXBHUF6YrXvc9/B2Lfv7E=; b=JzyXcoXaEkxUywVIZAnnMWTaKAYol8hKgD8eVncqujPg9O6n5eIgfhNQI0wY6WgMgE sR3WO3XozXFPFtVET8PsZdijKeCT1pglr+jt628Gqdt3TXTHjDAZHylOwDpFLY4NvKmx veVop3dM/NxmhOUrQcF4XcviohgtZYAr87yqJObLd4AK9lic9ExLELFH5p+R91GVEhFQ zpQmWPxUm2M9Lco4SlCLcahT0/jJzcqhx4Wn7XfXrmMEtLz53Gt1UVwLEkwo+hxgcmiw nPHroVeJ13j8LmWIEz7AkOy2DLX0xsAqEo3X6Oe2+zAhn9eFVs6JxJ5uY/NqK2T1CAJ5 ex/w== X-Gm-Message-State: AOAM531h8qzLqx1UJ1qvhu2LmmWygw2dYKJMD+r0YoS3F3hN+xWXFYMX BPqRbDBGJj475Y8RzZGth/tM7lmopVBp2sQzEkLfKgC1rAc= X-Google-Smtp-Source: ABdhPJwFgA+/+XrjlVk8rQGt7iwwAxUUyUdvD2IEv8k6IGPnBfAJXkrnQZsBMAIECOH7WQbx7gkde0LUTUyAvReC5C8= X-Received: by 2002:a2e:88d2:: with SMTP id a18mr3858176ljk.42.1608397574669; Sat, 19 Dec 2020 09:06:14 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109957 Archived-At: --===============3375803711779149087== Content-Type: multipart/alternative; boundary="0000000000001887b705b6d43e7a" --0000000000001887b705b6d43e7a Content-Type: text/plain; charset="UTF-8" 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 --0000000000001887b705b6d43e7a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

In ConTeXt MKIV, there are selector= s (\defineselector, \select). In ConTeXt LMTX, they are gone.
In LMTX, how can I achieve the following without using selector= s: (Different heading and reference texts for descriptions)

<= /div>
\defineselector[sel][max=3D2, n=3D2]
\definedescription[desc][= headcommand=3D{\setupselector[sel][n=3D1]}]
\starttext
\startdesc[tit= le=3D{\select{sel}{Long title}{Short}}, reference=3Ddesc]
=C2=A0 \input = jojomayer
\stopdesc
\about[desc]
\stoptext

Any help is welcome!
Cheers,
Christoph
--0000000000001887b705b6d43e7a-- --===============3375803711779149087== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3375803711779149087==--