From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115106 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster 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 21:30:17 +0200 Message-ID: <07392cb0-74e4-9ce3-47ee-e221c60d0014@gmail.com> References: <991046110.2474274.1653842068079.ref@mail.yahoo.com> <991046110.2474274.1653842068079@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4420683332621939462==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21348"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.56 Cc: Wolfgang Schuster To: mailing list for ConTeXt users , Joel via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Sun May 29 21:31:00 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 1nvOct-0005Id-CX for gctc-ntg-context-518@m.gmane-mx.org; Sun, 29 May 2022 21:30:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DD4D22A254B; Sun, 29 May 2022 21:30:24 +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 q13BcSxtqUnx; Sun, 29 May 2022 21:30:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E1CB02A26A0; Sun, 29 May 2022 21:30:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BA8CF2A26A0 for ; Sun, 29 May 2022 21:30:20 +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 nerIyBZu4HGp for ; Sun, 29 May 2022 21:30:19 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.43; helo=mail-ed1-f43.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 90A612A254B for ; Sun, 29 May 2022 21:30:19 +0200 (CEST) Original-Received: by mail-ed1-f43.google.com with SMTP id h19so3006068edj.0 for ; Sun, 29 May 2022 12:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=LLSe0xdoUV014Wtgovg7E7W+1dMCowSGPbO0bXU2+dY=; b=jq0xxFwO1vxWRsp728aYBSpJQEjC05hj6CjaVxm0YsoObXLoqpDDXwuMY6GBaholQ1 aHmgRplIQSaj73O2uv5O9kaQ0DtaL/cO27Q6EeN8XVP2X5SWb1cbYGvNXXVHxhWyK9nr koIgJg7CA2LMJSDRfzvSYXgOHIcXJGkRrNg2YBb5maim73Vy7Kx2QOpYEqkZb5+CieqE URqwljazRlKjlt8caacVhjBHa2gK1iZvq7wOb5QXJGliCY/m3TlF40OP3DLHu8K73NX1 077mZDg/YLHVwqQwUI6I74BgI5ExqHbVIIemwl8nX49NE++Piz3NCAUrtfqdtn1OgaXS kScw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=LLSe0xdoUV014Wtgovg7E7W+1dMCowSGPbO0bXU2+dY=; b=dyNro4z+KsbL4/Hb1U7VA9AR55f2947iZimTW8LxJqEBEFZpH07sN8ptvXgXZeYi1r DJY3y/5sL/8ofzlY/7RzFzFDuob2rC6BtCKnbKTVVHUN9GEN+OlshgEZYSYOFkzEam7q Kn7+/Ck9lfpsLB3FMS1AQd1vWzLvkfDkamT8zU+O7jCFAMKlGOw7b2bI8+yE2f2uPqby vcnI/eJKfZvPSiQe32g6KzSWjPLljiJWz2EahsogHtZHRkMmnpeD5IZECQQysOmWgCwY z4ad62DfB/bqZif/6BHqw+kw9v6aoOLs4vKlem9eZlc4lTrI+iRZdz3OpGFCmsAtAWuU OqeQ== X-Gm-Message-State: AOAM530GJ8cctRQgFEMqCFqp8mi/kSzZG7kBnWl+uukxz88jaUOYilx5 lf2sSKQoNUuY+/gF1Speheg= X-Google-Smtp-Source: ABdhPJxicLJq51sVhbQgk5K0j4hotMaDI8fMUetVkn6GnZA/GRgapNT++GiNxj2mIom3mklq/stcow== X-Received: by 2002:a05:6402:1f07:b0:42a:9efb:71b1 with SMTP id b7-20020a0564021f0700b0042a9efb71b1mr54602130edb.397.1653852619162; Sun, 29 May 2022 12:30:19 -0700 (PDT) Original-Received: from ?IPv6:2a02:810d:a8bf:f874::e9d0? ([2a02:810d:a8bf:f874::e9d0]) by smtp.gmail.com with ESMTPSA id v26-20020a170906381a00b006fe99b66198sm3311741ejc.60.2022.05.29.12.30.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 May 2022 12:30:18 -0700 (PDT) In-Reply-To: <991046110.2474274.1653842068079@mail.yahoo.com> Content-Language: en-US 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:115106 Archived-At: This is a multi-part message in MIME format. --===============4420683332621939462== Content-Type: multipart/alternative; boundary="------------9DB59A78EA308AF855307CF4" Content-Language: en-US This is a multi-part message in MIME format. --------------9DB59A78EA308AF855307CF4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I sent a fix to the dev list. Wolfgang Joel via ntg-context schrieb am 29.05.2022 um 18:34: > 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)|] >  \HL >         \NC {\bf Term} \NC {\bf Definition} \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... > > \define[2]\tablewordis{% >     \NC \NC \NC\NR >  \NC #1 \NC #2 \NC\NR > } > > ...then placing that in test2.tex, e.g.: > > \tablewordis{my word}{my definition} > > I get the error: " 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 have a document that has 100s of these inputs in my code, and now > nothing will compile. > > Thanks, > > --Joel > > * > > > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------9DB59A78EA308AF855307CF4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I sent a fix to the dev list.

Wolfgang

Joel via ntg-context schrieb am 29.05.2022 um 18:34:
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)|]
    \HL
        \NC {\bf Term} \NC {\bf Definition} \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...

\define[2]\tablewordis{%
    \NC \NC \NC\NR
    \NC #1 \NC #2 \NC\NR
}

...then placing that in test2.tex, e.g.:

\tablewordis{my word}{my definition}

I get the error: " 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 have a document that has 100s of these inputs in my code, and now nothing will compile.

Thanks,

--Joel




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

--------------9DB59A78EA308AF855307CF4-- --===============4420683332621939462== 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== --===============4420683332621939462==--