On Sat, Oct 25, 2008 at 6:12 PM, Ruini Xue <xueruini@gmail.com> wrote:
source file:

%%%%%%%%%%%%%%
\starttext
{\input knuth}

\stoptext
%%%%%%%%%%%%%%%%%%%

compiling it produces error:

! I can't find file `knuth}'.
l.2 {\input knuth}

Why does tex recognize "knuth}" but not "knuth" as the file name?

Watch for the space after knuth

%%%%%%%%%%%%%%
\starttext
{\input knuth }

\stoptext
%%%%%%%%%%%%%%%%%%%



Also
%%%%%%%%%%%%%%
\starttext
{\input knuth\relax}

\stoptext
%%%%%%%%%%%%%%%%%%%

It's TeX \input


--
luigi