From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115105 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: How to include a file with table data within a table? Date: Sun, 29 May 2022 18:59:00 +0000 (UTC) Message-ID: <315507661.2482254.1653850740603@mail.yahoo.com> References: <991046110.2474274.1653842068079.ref@mail.yahoo.com> <991046110.2474274.1653842068079@mail.yahoo.com> <87c6e13a-5d4e-de53-bd97-98c8643531ad@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8729400031789471412==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38015"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: Henning Hraban Ramm via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Sun May 29 21:00:04 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 1nvO8y-0009dM-J8 for gctc-ntg-context-518@m.gmane-mx.org; Sun, 29 May 2022 21:00:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 84BFC2A26A4; Sun, 29 May 2022 20:59: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 zxgw2Em7vdHx; Sun, 29 May 2022 20:59:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 086F42A25CE; Sun, 29 May 2022 20:59:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 97D382A25CE for ; Sun, 29 May 2022 20:59:25 +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 guKZjK6__4Tf for ; Sun, 29 May 2022 20:59:24 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.129.124; helo=sonic309-14.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic309-14.consmr.mail.bf2.yahoo.com (sonic309-14.consmr.mail.bf2.yahoo.com [74.6.129.124]) (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 C54EB2A254B for ; Sun, 29 May 2022 20:59:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653850760; bh=IKdpp4CXq/1/8GCqkl8XbPZxukTyCbb4kFV94AzujB8=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=Yw5t9zdYRQxsLNGyS/ItcXo8BXnMj42w9M5SIR2au/HhFzwZbYLHN/yv6FGhrPvWUCG/EFNxn/agFgXDWPZ6SNgXPJ5AkOqI2d8uq5wpvN/ef8HVBb0gC+CIInN43y+RRp7bSYU0JGyjSg7yzx0ChrS9PWUT2TuYRZnclnCXmS7NGhEJuPyGZyBUy8ak3W2tDeq26Cxg0MlE4llNyh70fjXhU7fOC9Jt6nyNE4RFcWa3wxwNcF5QbHUKqLZYl70CoOBejYT7ISUaBRFXovCh+3QlqLHu3XsjdtkUaO4dKxrNcsBb9FKPsnu+22TfS+nxzxoJ2wE9YtusWlvdoIKfDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t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rD00033gvB8QuInUIMFFghvD19Xq0h151 n3uqHx3Vqp3xu6bxB4fi3lfQAfdF9kYcVpKpytKPcXfZ7HpLkBvIySnYeP5ZVFpB_RPua3BlkeU4 LN4Uwud9vZOQwTAjtrlcvOma0mgA2gulKIx1vyAGKSbvhay9STMtGjKEtfWKtZxa3WnHdl1je0D4 QGw_lr4T0cBBhGCUL1u2eyri_Dp.63w56CpEaIMKPW X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Sun, 29 May 2022 18:59:20 +0000 In-Reply-To: <87c6e13a-5d4e-de53-bd97-98c8643531ad@fiee.net> 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:115105 Archived-At: --===============8729400031789471412== Content-Type: multipart/alternative; boundary="----=_Part_2482253_1455250658.1653850740600" ------=_Part_2482253_1455250658.1653850740600 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Adding the brackets + file name also didn't work. --Joel On Sunday, May 29, 2022, 11:33:48 AM MDT, Henning Hraban Ramm via ntg-c= ontext wrote: =20 =20 Did you try \input{file.tex} ? (Just an idea, didn=E2=80=99t try.) Hraban Am 29.05.22 um 18:34 schrieb Joel via ntg-context: > After a recent update to ConTeXt, the code no longer seems to allow me=20 > to \input a file within a table: >=20 > \starttext > \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|] >=C2=A0 =C2=A0=C2=A0 =C2=A0\HL >=C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\NC {\bf Term} \NC {\bf Defin= ition} \NC\NR >=C2=A0 =C2=A0=C2=A0 =C2=A0\HL >=C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\input test2.tex %<----here y= ou see I have input a file inside=20 > the table >=C2=A0 =C2=A0=C2=A0 =C2=A0\HL > \stoptabulate > \stoptext >=20 > File test2.tex contains "\NC {\bf Term} \NC {\bf Definition} \NC\NR". >=20 > I also tried defining a macro earlier in the document... >=20 > \define[2]\tablewordis{% >=C2=A0 =C2=A0=C2=A0 =C2=A0\NC \NC \NC\NR >=C2=A0 =C2=A0=C2=A0 =C2=A0\NC #1 \NC #2 \NC\NR > } >=20 > ...then placing that in test2.tex, e.g.: >=20 > \tablewordis{my word}{my definition} >=20 > I get the error: "=C2=A0The file ended when scanning an argument." >=20 > Before the update, this code worked fine. >=20 > How can I \input a file while inside a table environment, as above? >=20 > I have a document that has 100s of these inputs in my code, and now=20 > nothing will compile. >=20 > Thanks, >=20 > --Joel ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net archive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/ wiki=C2=A0 =C2=A0 : http://contextgarden.net ___________________________________________________________________________= ________ =20 ------=_Part_2482253_1455250658.1653850740600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Adding the brackets + file n= ame also didn't work.

--Joel

=20
=20
On Sunday, May 29, 2022, 11:33:48 AM MDT, Henning Hraba= n Ramm via ntg-context <ntg-context@ntg.nl> wrote:


Did you try \input{file.tex} ?
(Just an idea, didn=E2=80=99t try.)

Hraban

Am 29.05.22 um 18:34 schrie= b Joel via ntg-context:
> After a recent update to Con= TeXt, the code no longer seems to allow me
> to \inpu= t a file within a table:
>
> \st= arttext
> \starttabulate[|p(.3\textwidth)|p(.7\textwid= th)|]
>      \HL
>          \NC {\bf Term} \NC {\bf D= efinition} \NC\NR
>      \HL
>          \input test2.= tex %<----here you see I have input a file inside
>= ; the table
>      \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...
&g= t;
> \define[2]\tablewordis{%
>&= nbsp;     \NC \NC \NC\NR
>   =    \NC #1 \NC #2 \NC\NR
> }
>
> ...then placing that in test2.tex, e.g.:
>
> \tablewordis{my word}{my defini= tion}
>
> I get the error: "&nbs= p;The 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 ha= ve a document that has 100s of these inputs in my code, and now
> nothing will compile.
>
> Thanks,
>
> --Joel
_______________________________________________________= ____________________________
If your question is of inter= est to others as well, please add an entry to the Wiki!
<= br clear=3D"none">maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  :
http://www.pragma-ade.nl <= /a>/ http://context.aanhet.net
archive&n= bsp; : https://bitbucket.org/phg/conte= xt-mirror/commits/
wiki    : h= ttp://contextgarden.net

___________________________________= ________________________________________________
------=_Part_2482253_1455250658.1653850740600-- --===============8729400031789471412== 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== --===============8729400031789471412==--