From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108671 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Rudd, Kevin" Newsgroups: gmane.comp.tex.context Subject: Re: problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity") Date: Wed, 9 Sep 2020 13:02:18 +0000 Message-ID: References: <9CED6A26-735B-4122-A3E9-34F67589B3D1@lps.umd.edu> <688f211c-58a6-e014-d95c-a1a840d9cafd@gmail.com> , Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5096514920548540622==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35922"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 09 15:03:08 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 1kFzkh-0009DY-Nb for gctc-ntg-context-518@m.gmane-mx.org; Wed, 09 Sep 2020 15:03:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 05A0C1A8C02; Wed, 9 Sep 2020 15:02:30 +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 S19UGKDQVF-O; Wed, 9 Sep 2020 15:02:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A32391AE087; Wed, 9 Sep 2020 15:02:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 28E771AE0AE for ; Wed, 9 Sep 2020 15:02:26 +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 gWFEHbPleWnC for ; Wed, 9 Sep 2020 15:02:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=129.2.108.16; helo=smtp.lps.umd.edu; envelope-from=kevin@lps.umd.edu; receiver= Original-Received: from SMTP.lps.umd.edu (smtp.lps.umd.edu [129.2.108.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3813F76E for ; Wed, 9 Sep 2020 15:02:20 +0200 (CEST) Original-Received: from LPS-ExchDB2.lps.umd.edu (129.2.108.18) by SMTP.lps.umd.edu (129.2.108.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Sep 2020 09:02:16 -0400 Original-Received: from LPS-ExchDB2.lps.umd.edu (2002:8102:6c12::8102:6c12) by LPS-ExchDB2.lps.umd.edu (2002:8102:6c12::8102:6c12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Sep 2020 09:02:18 -0400 Original-Received: from LPS-ExchDB2.lps.umd.edu ([129.2.108.18]) by LPS-ExchDB2.lps.umd.edu ([129.2.108.18]) with mapi id 15.00.1497.006; Wed, 9 Sep 2020 09:02:18 -0400 Thread-Topic: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity") Thread-Index: AQHWhgiPoXrsP2mOEEiqNeK49Qbhj6lfdRcA///eNxyAAL/qAIAAM5w2 In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-exchange-transport-fromentityheader: Hosted 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:108671 Archived-At: --===============5096514920548540622== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM5PR15MB19296DAB6D8A68F8A9095B37F1260DM5PR15MB1929namp_" --_000_DM5PR15MB19296DAB6D8A68F8A9095B37F1260DM5PR15MB1929namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable True. There is also a \define\continuePaneRow{\eTD\bTD} definition as well for that reason but that wasn't necessary for the MWE to= (fail while) embed(ing) TABLE elements in macros. Is it the case that I can bundle at least the table setup commands to avoid= some level of replication? Or is there a better way to creat the various t= able begin--end pairs that is cleaner? Thanks, ---K Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering (CACE) Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 kevin@lps.umd.edu Visiting Research Professor Electrical and Computer Engineering United States Naval Academy rudd@usna.edu ________________________________ From: Wolfgang Schuster Sent: Wednesday, September 9, 2020 1:57:36 AM To: Rudd, Kevin Cc: mailing list for ConTeXt users Subject: Re: [NTG-context] problem embedding TABLE macros within wrapper ma= cros "to reduce repetitive complexity") Rudd, Kevin schrieb am 09.09.2020 um 00:30: Thanks. The immediate goal is to make a =EF=BF=BDquad chart=EF=BF=BD w/ dif= ferent pains in the four (2x2 =3D> NW, NE, SW, SE) quadrants. It seemed tha= t the concept was scalable to any NxM (even with multi-cell spreads---usefu= l for larger structured posters) based on TABLE. But I'd settle for 2x2 at = the moment; at one point I'd thought of 2x2+1 having a spanning block for p= ublication references per slide but decided a separate publications slide w= as a better idea visualy.. If they have to see an end command, would before/after tags work around a f= ramedtext or buffer structure? 1. 2x2 panes, layout order not important, all panes independent; no flow (l= ike Framemaker used to do) requiredbetween panes. 2. was going to have inner frames (i.e. + frame for 2x2 which was trivial t= o specify in TABLE) to separate the panes 3. other than wanting the + frame, inner margins &c. for panes wsn't an iss= ue either way. When you need one than single block per line this definition \define\startPaneRow{bTR\bTD} \define\stopPaneRow{\eTD\eTR} doesn't make sense because you limit yourself and after each table cell the= re is a new row. While you can write code which moves your blocks around you should ask your= self the question is it worth it. When you have only two or three posters i= n this format use the extra commands for table rows and cells because it ta= kes more time to write something which does the work. Wolfgang --_000_DM5PR15MB19296DAB6D8A68F8A9095B37F1260DM5PR15MB1929namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
True. There is also a

 \define\continuePaneRow{\eTD\bTD}

definition as well for that reason but that = wasn't necessary for the MWE to (fail while) embed(ing) TABLE elements in macros.

Is it the case that I can bundle at least th= e table setup commands to avoid some level of replication? Or is there a be= tter way to creat the various table begin--end pairs that is cleaner?

Thanks,
---K

Kevin W. Rudd, Ph.D.
CAPT, USN (Ret)
Computer Architecture & Computer Enginee= ring (CACE)
Advanced Computing Systems (ACS) Research Pr= ogram
Laboratory for Physical Sciences (LPS)
443-654-7878
kevin@lps.umd.edu
Visiting Research Professor
Electrical and Computer Engineering
United States Naval Academy
rudd@usna.edu


From: Wolfgang Schuster <= ;wolfgang.schuster.lists@gmail.com>
Sent: Wednesday, September 9, 2020 1:57:36 AM
To: Rudd, Kevin <kevin@lps.umd.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] problem embedding TABLE macros within wra= pper macros "to reduce repetitive complexity")
 
Rudd, Kevin schrieb am 09.09.2020 um 00:30:
Thanks. The immediate goal is to make a =EF=BF= =BDquad chart=EF=BF=BD w/ different pains in the four (2x2 =3D> NW, NE, = SW, SE) quadrants. It seemed that the concept was scalable to any NxM (even= with multi-cell spreads---useful for larger structured posters) based on TABLE. But I'd settle for 2x2 at the moment; at one poin= t I'd thought of 2x2+1 having a spanning block for publication referenc= es per slide but decided a separate publications slide was a better idea vi= sualy..

If they have to see an end command, would befo= re/after tags work around a framedtext or buffer structure?

1. 2x2 panes, layout order not important, all = panes independent; no flow (like Framemaker used to do) requiredbetween pa= nes.
2. was going to have inner frames (i.e. + = frame for 2x2 which was trivial to specify in TABLE) to separate the panes<= /div>
3. other than wanting the + frame, inner m= argins &c. for panes wsn't an issue either way.

When you need one than single block per line this definition

\define\startPaneRow{bTR\bTD}
\define\stopPaneRow{\eTD\eTR}

doesn't make sense because you limit yourself and after each table cell the= re is a new row.

While you can write code which moves your blocks around you should ask your= self the question is it worth it. When you have only two or three posters i= n this format use the extra commands for table rows and cells because it ta= kes more time to write something which does the work.

Wolfgang

--_000_DM5PR15MB19296DAB6D8A68F8A9095B37F1260DM5PR15MB1929namp_-- --===============5096514920548540622== 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== --===============5096514920548540622==--