After I ran an update on ConTeXt, my code gets an error:
\starttext
\starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
    \HL
        \NC {\bf Term} \NC {\bf Definition} \NC\NR                
    \HL
        \input test2.tex
    \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?
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
___________________________________________________________________________________

Reply via email to