From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110050 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Alternative for selector in LMTX for different heading and reference texts for descriptions Date: Fri, 25 Dec 2020 20:50:58 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8995925937239505124==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28921"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 25 20:51: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 1kst7Y-0007QI-K9 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 25 Dec 2020 20:51:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C3F1C1C16D4; Fri, 25 Dec 2020 20:51:17 +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 tWXuCPSyLJEB; Fri, 25 Dec 2020 20:51:17 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F3A631C167B; Fri, 25 Dec 2020 20:51:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B671D1C167B for ; Fri, 25 Dec 2020 20:51:15 +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 PyQI2_iyDV7g for ; Fri, 25 Dec 2020 20:51:15 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.50; helo=mail-lf1-f50.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 1D0391C167A for ; Fri, 25 Dec 2020 20:51:15 +0100 (CET) Original-Received: by mail-lf1-f50.google.com with SMTP id l11so11464203lfg.0 for ; Fri, 25 Dec 2020 11:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gv1DKn+5f+XxFINa6LWk0UKYXC3XPH4qHJoSbA7atMs=; b=VnW+KfUctxzQVrOWeCqhUeu6s3QcofUwJHXJMNzkebmx6Ik7ftUOtIvGkcGXco51uj ODzFyNN6ptmhp13bbZTGfYMxUfldwjOZkcDX4u91w/CcIRxhyAbk+ZRiuECi/FlLGYIJ nqAQ2VAFlR5G+KkBKAQGHu/Vr9LConVFdPO1wfWaD6wJHM0zU3sJg2o/U/i0hwxkIdjv OLvnwFhd3U/o7hiEQYgFE7lSBXZLf/s/1CA0UQI9d5DO3uD7StNpQGSCabMOpntX8mH7 orCKc0D33QS3DYJeTA+cO4LcDO/lke8ZSfnYrL4IdowbDX9qVN6qZAFr5ULCy5gr0L4O 3JHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gv1DKn+5f+XxFINa6LWk0UKYXC3XPH4qHJoSbA7atMs=; b=hHl+1t5pKSC9rqG1IzUXFqhrIcY0IrhGy+BxeNLh+h92A2TEZV0hQfGTF6gXY15nK9 gtnlnC/d4deJqf4SZBWxDn4j0ZhdPqARM8T61vDz7cMX1L1m+VisGz5BofBdWtMfJM+H 5taZkMA7mQd/p++YQHnCt93m0mhZcYf0/wBBqtuLE4jbKe2+bADdtHA2Ooo0ToJALTpB GHs0BDb3TWakBZ7o9pEpjmDiei48nPtsFwr9er4CDsT3C4tWR4vA1TREj3plJGPZRgQG jCTJ5wmyyqieUZ4FjrlkV8hiB7e/TBr35VgYiPjiRfn0V8y5cHGwNog+i6c93wdhWnY+ s4Nw== X-Gm-Message-State: AOAM531lRdWhY58uOU0HDAMOY+SUXYHA1WpD09ZQa8H+jz9vDAuljMAj O79zl+nF/jFK+gaQ0CkFguJiOU/aBg2saPO7Vok= X-Google-Smtp-Source: ABdhPJww4HjCVp2axsnFpgU/OvYGVpdYOuizX6K1X1tVvbLExXnub3YKx02hGybjACcTehQEYd5wdnUf9ChWeK/bAdM= X-Received: by 2002:ac2:46ca:: with SMTP id p10mr14050961lfo.53.1608925874280; Fri, 25 Dec 2020 11:51:14 -0800 (PST) In-Reply-To: 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:110050 Archived-At: --===============8995925937239505124== Content-Type: multipart/alternative; boundary="00000000000034d9ba05b74f3f20" --00000000000034d9ba05b74f3f20 Content-Type: text/plain; charset="UTF-8" On Tue, Dec 22, 2020 at 5:25 AM Christoph Reller wrote: > On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < > christoph.reller@gmail.com> wrote: > >> Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: >> >>> 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.) >> >> >> Great! That would be a good solution for me. >> Thanks, >> Christoph >> > > Thank you for the implementation, Hans! > > A small issue: When omitting the referencetext, then the shown text is > now something like "248>desc:referencetext". > Thank you for the fast fix of this issue! Cheers, Christoph --00000000000034d9ba05b74f3f20 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Dec 22, 2020 at 5:25 AM Christoph= Reller <christoph.reller@= gmail.com> wrote:
On Sa= t, Dec 19, 2020 at 10:43 PM Christoph Reller <christoph.reller@gmail.com> wr= ote:
Hans Hagen <j.hagen@xs4all.nl> schrieb am Sa., 19. Dez.= 2020, 19:16:
Actually, what you want is:

\definedescription[desc]
\starttext
=C2=A0 =C2=A0 =C2=A0\startdesc[ti= tle=3D{Long title},reference=3Dfoo,referencetext=3D{Short Title}]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\input jojomayer
=C2=A0 =C2=A0 =C2=A0\stopdesc
=C2=A0 =C2=A0 =C2=A0\about[foo]
\stopte= xt

So I'll add that (after all, occasionally we need to add some
functionality in order to indicate progress.)

Great! That would be a good soluti= on for me.
Thanks,
Christoph<= /div>

Thank you for the implementatio= n, Hans!

=C2=A0A small issue: When omitting the re= ferencetext, then the shown text is now something like "248>desc:re= ferencetext".
=C2=A0
Than= k you for the fast fix of this issue!
Cheers, Christoph
--00000000000034d9ba05b74f3f20-- --===============8995925937239505124== 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== --===============8995925937239505124==--