From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112880 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jan Ulrich Hasecke via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: improve bad habits deduplicate redundant defined values Date: Sat, 18 Sep 2021 15:52:56 +0200 Message-ID: References: <57a931de9cdd48e2b76056f110e7a0e1@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5868860808669985559==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11705"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jan Ulrich Hasecke To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 18 15:53:33 2021 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 1mRamb-0002rK-1g for gctc-ntg-context-518@m.gmane-mx.org; Sat, 18 Sep 2021 15:53:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5498A287703; Sat, 18 Sep 2021 15:53:08 +0200 (CEST) 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 euFJwnjlOIqC; Sat, 18 Sep 2021 15:53:06 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0DC63287706; Sat, 18 Sep 2021 15:53:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C6112287703 for ; Sat, 18 Sep 2021 15:53:04 +0200 (CEST) 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 l6NXQUzkjTEc for ; Sat, 18 Sep 2021 15:53:02 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.172; helo=mout-p-202.mailbox.org; envelope-from=juh+ntg-context@mailbox.org; receiver= Original-Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A54FE2810B1 for ; Sat, 18 Sep 2021 15:53:02 +0200 (CEST) Original-Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4HBXMf1BXrzQk90 for ; Sat, 18 Sep 2021 15:53:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received; s=mail20150812; t=1631973178; bh=Sr4tvlFty3 cZS1xKBvDGtP0uOgsnMyxl2r/WpZuX3OQ=; b=UEhd8psM8zixr52deUk2M2upf/ /Sxvd6+0e+qTtiD391XqMmjKjjnPQGXVNcfux+PsaEu5Ya3lCGeJ4p8rTB2ckJ6r naBEaZwa2ZCLPbeQdANGsZijiKC++xEJol8BwfIUT1cZbZmb5GpiGT2wClFMIjUE hYbps53YsbsUIQvLpRD6w/puI+1sz4WzgTAZShwrZNmGww7bHAnDg6NWIr1V7zLm rN7XYwqWRuan2KOGYXY/X9KF4gIKnPb5pu0+ZTGMOBnBocUnyaB1CsIFFMNn0NhK VkqA1VADE1/wSyAWaaqLZI1ClmHuhnUW/mRTLNdhH/LFCLQAvtHXgMGi1uTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1631973179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sr4tvlFty3cZS1xKBvDGtP0uOgsnMyxl2r/WpZuX3OQ=; b=MYs947qloWKZkHfGEKbccPqBV0kxnFVqK6pZyvnnqF9yeZh5SOa0w4d8tCoeZXDXpJAmxT hU7FnUpmrDerotnmo/yip+8VxpZPsNn+cuAfQgTE6e6M+SDSgQYeFOBHhjG2dT5KFWM5oN 3gAYac5AawjwmxDJ4L+Xm8bZvD7fCYty7k4XyKgXTeSXrmpY1llQ7B3tmxwYKgbgYIsx5N dYZAAROoBIElBcyRGtmlPR/jCq0XzDhtFx3a9kLoMjowS1QJFsbfvOD8HqeMqHMva+R0WM gnHNeki3qGlPFiuJzEZHSXGb5dN6rT4Q3U1LCFq8gnhDpMV1fb/p71qmG1iyAg== X-Virus-Scanned: amavisd-new at heinlein-support.de Mail-Followup-To: Jan Ulrich Hasecke , ntg-context@ntg.nl In-Reply-To: X-Rspamd-Queue-Id: C6743273 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:112880 Archived-At: --===============5868860808669985559== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IFrjsiKAUiRiP3c8" Content-Disposition: inline --IFrjsiKAUiRiP3c8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Sat, Sep 18, 2021 at 12:57:36PM +0000 schrieb denis.maier@unibe.ch: > Ok. So in general you deal with diverging demands by creating new environ= ments that you can load selectively?=20 > I currently struggle with a similar question: In one project I typeset ar= ticles for a journal from XML sources with ConTeXt. Obviously, these articl= es should rely on the same environment files. But how would you deal with t= hose cases where you'd need a slightly different table layout in one articl= e?=20 We had this slightly change with headline numbering. Default in our reports is arabic numbers but in one report we need a mix of capital letters and numbers (A, A.1, A.2, B, B.1 etc.) I simply made two small style files for numbering.=20 > > It took a long time until I realized that these files are best stored i= n texmf- > > project. I use namespaces like hs. and juh. to separate the environment= files of > > my cooperative and my own files. >=20 > Interesting. I think I'll need to adopt something similar... My main concern now is to deploy ConTeXt to multiple users. If some would go with Texlive distributions from debian stable and some with lmtx d= istribution there would be a mess sooner or later. So I decided that we all= go with the lmtx distribution and clone our git repos for images and style= s into texmf-project. I also have something in texmf-local, namely icc file= s and the module statistical-charts. I don't know how to decide what goes t= o project and what to local. > > Eg. we managed to insert \startstopparagraph[foo] command into the ConT= eXt > > source by this simple markdown code: >=20 > Why do you use \startstopparagraph[foo] instead of \startstopfoo for thes= es cases? Good question. \startstopparagraph was more explicit I think. But now that you ask I think, that with startstopfoo we might succeed with one lua filter for a lot more context constructs such as makeups etc. juh=20 --=20 Autoren-Homepage: ......... http://literatur.hasecke.com Satiren & Essays: ......... http://www.sudelbuch.de Privater Blog: ............ http://www.hasecke.eu Netzliteratur-Projekt: .... http://www.generationenprojekt.de --IFrjsiKAUiRiP3c8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9pEda910q7j+RYbgOz1ziuYU0i0FAmFF7zMACgkQOz1ziuYU 0i18Ag/9H6o4V8ZETTQs9sciVLqKx6Tvy63nwmZISUi/2Cq/Cim144SPlgGfoIBz KsAperKKTXM4FTdTDN8I1d0TPe5Y4a9hKI2EB7bgsgcqF9iSzx3yL7+AfDi364Pf P8ftFJmGRgXiqMd/luiWBcLneTgL6xS+vdrmtZOl7E2WcXSKhkqIpofM2iRFT/zJ FwjmlVVF9cRYtJBZlYUtlS21Q9Hr5sBY7L2xypm8ny6slTutB0L1X1d4FKvXqISQ 9Ybanvn6vl1oa+digqX2VxBP+aa+ldTbqbjYTTZ1qw4VLJLaTZ1OhGHoFqYpjCsV Kz59IXkTdlihNvW9lTJmsZV371a2O7zmObOT9MfHXWuKJWy3DReFEXhGq3GwDbRH reu1ZbptzAVIz3n36F8VAhuPbQ5MmP+ZTu+b4sqDvhcPLHhW6ejwosRLVdgjdJIz iUJPJ2DPPSX9HIfKVRWrwhnbHfn7AXvhicKOO6dwhulWFlLPcWWc584w51We1tTs XJq0midPY+zz1vZc/9XzZMogQnRC/R3CGyS3EagtWrcpI/rZFmjUcV+zXqLkb6Fd 2svs5RuNYO2kovYszJbQogC5cnE7eOhy68AcwEEEVJPLTVuwi55Io36v7NDRGD7T YZFSG6MVvIALGEH3xMsfGEDB5BlzzgDiwNSgPAhU8Zz6+mbrkOw= =LzD/ -----END PGP SIGNATURE----- --IFrjsiKAUiRiP3c8-- --===============5868860808669985559== 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== --===============5868860808669985559==--