From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115101 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: How to include a file with table data within a table? Date: Sun, 29 May 2022 16:34:28 +0000 (UTC) Message-ID: <991046110.2474274.1653842068079@mail.yahoo.com> References: <991046110.2474274.1653842068079.ref@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0140862524174740527==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40323"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: Mailing List for ConTeXt Users Original-X-From: ntg-context-bounces@ntg.nl Sun May 29 18:35:15 2022 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 1nvLso-000AFD-Gl for gctc-ntg-context-518@m.gmane-mx.org; Sun, 29 May 2022 18:35:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 439672809F3; Sun, 29 May 2022 18:34:33 +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 9gfJE__t5Alz; Sun, 29 May 2022 18:34:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 908B5280E25; Sun, 29 May 2022 18:34:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1B732280E25 for ; Sun, 29 May 2022 18:34:28 +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 5AsGvZEtiPxE for ; Sun, 29 May 2022 18:34:27 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.130.41; helo=sonic308-2.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic308-2.consmr.mail.bf2.yahoo.com (sonic308-2.consmr.mail.bf2.yahoo.com [74.6.130.41]) (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 0006928044C for ; Sun, 29 May 2022 18:34:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653842063; bh=5CZB9cK4GXUjXLBBEUVN2MvGM4J2Ho7YSAROtBGxotY=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=WYB06ggelgmweUfzzC0ALJb8WfNpPcULGpdkIoRd1fdX7M1E4CgHqoNzTu6/DHZ5svZtmj2QcHgMLpaerlAnpoZxkH7uJUfHXiJEsMUoCZzqKyfghgGdrb8dBatxjASd/ktBKdtXF+Ga0DYdpXXYxIDS55xkvNp2np8Z2/8+9dozRtnsp5i/BTL8EOJVZAi5D4WyjsYpJH1Xs4Kg4eHddsooNRWP752qC+4gzNEq8YVRYmJOjVXcpKym11Vkw8fp41ioqx+ti0MN8BTIagg1oA5bz2Ay1tQuuQRNs4vHNP2Xuo5ovpDGxsjw+YlCgq7L+vgSVuU0vPVNq7PS8hwrbg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653842063; bh=NK3bspr2ip6vQ/SOogdhdvYLHFAJImabQ8l+X9MWEOQ=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject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afZDzWFrNudrNRDJ5qCQ_0slf3BOvv4W64.vAa82XA uWalgz7dIFLLI6PwdqO6d5RjcICDNLXaJnbqb5U5178zIannMjvWyb0sO_.S8G012Zh5VOe2q5iR WO4DmI0CYS9CzDiEyR408LKaOJg0wTJweOZ6bQ0hyS X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Sun, 29 May 2022 16:34:23 +0000 X-Mailer: WebService/1.1.20225 YMailNorrin 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:115101 Archived-At: --===============0140862524174740527== Content-Type: multipart/alternative; boundary="----=_Part_2474273_2039591971.1653842068077" ------=_Part_2474273_2039591971.1653842068077 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable After a recent update to ConTeXt, the code no longer seems to allow me to \= input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|] =C2=A0=C2=A0 =C2=A0\HL =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\NC {\bf Term} \NC {\bf Definition} \= NC\NR=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0 =C2=A0=C2=A0 =C2=A0\HL =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\input test2.tex %<----here you see I= have input a file inside the table =C2=A0=C2=A0 =C2=A0\HL \stoptabulate \stoptext File test2.tex contains "\NC {\bf Term} \NC {\bf Definition} \NC\NR". I also tried defining a macro earlier in the document... \define[2]\tablewordis{% =C2=A0=C2=A0 =C2=A0\NC \NC \NC\NR =C2=A0=C2=A0 =C2=A0\NC #1 \NC #2 \NC\NR } ...then placing that in test2.tex, e.g.: \tablewordis{my word}{my definition} I get the error: "=C2=A0The file ended when scanning an argument." Before the update, this code worked fine. How can I \input a file while inside a table environment, as above? I have a document that has 100s of these inputs in my code, and now nothing= will compile. Thanks, --Joel =20 - =20 ------=_Part_2474273_2039591971.1653842068077 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=
After a recent update to Co= nTeXt, the code no longer seems to allow me to \input a file within a table= :

\starttext
\starttabulate[|p(.3\textwidth)|p(.7\tex= twidth)|]
    \HL
       &nbs= p;\NC {\bf Term} \NC {\bf Definition} \NC\NR      =          
    \HL
=
       &nbs= p;\input test2.tex %<----here you see I have input a file inside the tab= le
    \HL
\stoptabulate
\stoptext
=
File test2.tex contains "\NC {\bf Term} \N= C {\bf Definition} \NC\NR".

<= /div>
I also tried defining a macro earlier in the do= cument...

\define[2]\tablewordis{%
    \NC \NC \NC\NR
&= nbsp;   \NC #1 \NC #2 \NC\NR
}

...then placing that in test2.te= x, e.g.:

\tablewordis{my word}{my definition}
=

I get= the error: " The file ended when scanning an argument."<= /div>

Before = the update, this code worked fine.

<= /span>
How can I \input a file while inside a t= able environment, as above?

<= /div>
I have a document that ha= s 100s of these inputs in my code, and now nothing will compile.
=

Thanks= ,

--Joel


= ------=_Part_2474273_2039591971.1653842068077-- --===============0140862524174740527== 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== --===============0140862524174740527==--