* How to include a file with table data within a table?
[not found] <991046110.2474274.1653842068079.ref@mail.yahoo.com>
@ 2022-05-29 16:34 ` Joel via ntg-context
2022-05-29 17:32 ` Henning Hraban Ramm via ntg-context
2022-05-29 19:30 ` Wolfgang Schuster via ntg-context
0 siblings, 2 replies; 4+ messages in thread
From: Joel via ntg-context @ 2022-05-29 16:34 UTC (permalink / raw)
To: Mailing List for ConTeXt Users; +Cc: Joel
[-- Attachment #1.1: Type: text/plain, Size: 1001 bytes --]
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
-
[-- Attachment #1.2: Type: text/html, Size: 3151 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to include a file with table data within a table?
2022-05-29 16:34 ` How to include a file with table data within a table? Joel via ntg-context
@ 2022-05-29 17:32 ` Henning Hraban Ramm via ntg-context
2022-05-29 18:59 ` Joel via ntg-context
2022-05-29 19:30 ` Wolfgang Schuster via ntg-context
1 sibling, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-05-29 17:32 UTC (permalink / raw)
To: ntg-context; +Cc: Henning Hraban Ramm
Did you try \input{file.tex} ?
(Just an idea, didn’t 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
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to include a file with table data within a table?
2022-05-29 17:32 ` Henning Hraban Ramm via ntg-context
@ 2022-05-29 18:59 ` Joel via ntg-context
0 siblings, 0 replies; 4+ messages in thread
From: Joel via ntg-context @ 2022-05-29 18:59 UTC (permalink / raw)
To: Henning Hraban Ramm via ntg-context; +Cc: Joel
[-- Attachment #1.1: Type: text/plain, Size: 1884 bytes --]
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-context <ntg-context@ntg.nl> wrote:
Did you try \input{file.tex} ?
(Just an idea, didn’t 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
> 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
___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4417 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to include a file with table data within a table?
2022-05-29 16:34 ` How to include a file with table data within a table? Joel via ntg-context
2022-05-29 17:32 ` Henning Hraban Ramm via ntg-context
@ 2022-05-29 19:30 ` Wolfgang Schuster via ntg-context
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-05-29 19:30 UTC (permalink / raw)
To: mailing list for ConTeXt users, Joel via ntg-context; +Cc: Wolfgang Schuster
[-- Attachment #1.1: Type: text/plain, Size: 1612 bytes --]
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4505 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-29 19:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <991046110.2474274.1653842068079.ref@mail.yahoo.com>
2022-05-29 16:34 ` How to include a file with table data within a table? Joel via ntg-context
2022-05-29 17:32 ` Henning Hraban Ramm via ntg-context
2022-05-29 18:59 ` Joel via ntg-context
2022-05-29 19:30 ` Wolfgang Schuster via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).