From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 9A08A29DCE for ; Thu, 6 Jun 2024 12:33:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EC10148508B for ; Thu, 6 Jun 2024 12:31:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=flump.de Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPVxJvcQdJeh for ; Thu, 6 Jun 2024 12:31:27 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 69603484F9F for ; Thu, 6 Jun 2024 12:31:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A85A7484D42 for ; Thu, 6 Jun 2024 12:31:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HzWy5kJrJFJY for ; Thu, 6 Jun 2024 12:31:03 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.163.118.210; helo=flump.de; envelope-from=gerion.entrup@flump.de; receiver= Received: from flump.de (flump.de [185.163.118.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id DE23B484EBD for ; Thu, 6 Jun 2024 12:30:24 +0200 (CEST) Received: from falbala.localnet (ip4d1692dd.dynamic.kabel-deutschland.de [77.22.146.221]) by flump.de (Postfix) with ESMTPSA id 8E8D4106D89D for ; Thu, 6 Jun 2024 12:30:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=flump.de; s=mail; t=1717669824; bh=XdCQwmXFWYqMwg9+2JgU+5qH1zz5+PPquYJH5T0v7tE=; h=From:To:Subject:Date; b=Rtxu1tLc5bBEUJVnN7hMrXbDcGSwZng6smMQo+DYAaWMNdWQGG+V5LfNoBwsSuQQB RBNwwdbmXRXeF6GE6xI5MQ4QNkvbKb60oWs9tReC4u38+rMmOdv0qEg4DXR4Lf81f5 MTubj59iAlIdKXYJPaNwiFHQsPEOPSsmrsDtmCc0= From: Gerion Entrup To: mailing list for ConTeXt users Date: Thu, 06 Jun 2024 12:30:24 +0200 Message-ID: <3021354.tIAgqjz4sF@falbala> MIME-Version: 1.0 Message-ID-Hash: GWVL7H6QMSNTF6PHD4OQAKIDKMVBC5YI X-Message-ID-Hash: GWVL7H6QMSNTF6PHD4OQAKIDKMVBC5YI X-MailFrom: gerion.entrup@flump.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Combine \setupdelimitedtext with an author (define custom variable?) List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============3543323997715359479==" --===============3543323997715359479== Content-Type: multipart/signed; boundary="nextPart2356374.jZfb76A358"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart2356374.jZfb76A358 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Gerion Entrup To: mailing list for ConTeXt users Date: Thu, 06 Jun 2024 12:30:24 +0200 Message-ID: <3021354.tIAgqjz4sF@falbala> MIME-Version: 1.0 Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=3D1.5pc, style=3D{\italic}, before=3D{\setupindenting[next]}, after=3D{\blank[1ex] \hrule \blank[1ex] \startalignment[flushright] \tfx= \italic{Ren=C3=A9 Descartes} \stopalignment}] \starttext \startextract Cogito ergo sum. \stopextract \stoptext ``` So it should setup a quotation and mentions the author. However, here the author is hardcoded within the blockquote. I would like i= t to use like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=3D1.5pc, style=3D{\italic}, before=3D{\setupindenting[next]}, after=3D{\blank[1ex] \hrule \blank[1ex] \startalignment[flushright] \tfx= \italic{\getcustomvariable{author}} \stopalignment}] \starttext \startextract[author=3DRen=C3=A9 Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it= does not work. Best, Gerion --nextPart2356374.jZfb76A358 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEM/tVN9WpYYHnPZHxloeAdSYJHeoFAmZhj8AACgkQloeAdSYJ HepHOQwA2f4gf+iMsMDLv3Ac3vQUPAVpvdCp98VR3AKpN1bG26kPwUHY3WMY8Zyq y9gWguR+pwe91tlZrPpCB9OOEsSU0Jl94EnFV9qwIOzPmuivlMxKxZyZhl1aSAtl gj/nLmn5yYMVbqCNuO6fvUNmuRqY1RpT0WwV8Q0FbRmmFkWAsByUsOjAUrtxaWKo M8lsN08hmccsG8gQMdLbrzlzvPmqR6MQEwTeNXNt8tx8kABbZn8TUkRnARn4nRYQ ph/BYzQlK7x/ukDO3cEz7j4qZL2bzTz2DeIKTFp3OCXBBcq/pdmxEtG6fZ99pFt9 dBu19KDMlnvgpSDr1t3DwRm3cOyPZTo9DQQX/WLETuUhGhyRLnzK8hPhQ1fTwp04 4QIGfciBcQ7ej04t82zdfeqBScEkca2DWUSxYK3oSJI95fgAoDrex5pgkf27PkWQ kwR1oaAlzW9a56lOPjPgJtt+51DYjFOySWLFF5BjzP7j51geKmaHFEW2yhfCS5Zr tGTYCHOS =fm/p -----END PGP SIGNATURE----- --nextPart2356374.jZfb76A358-- --===============3543323997715359479== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============3543323997715359479==--