On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan <adityam@umich.edu> wrote:
Hi,

Something is wrong with \typefile in latest context in MKIV.

\starttext
\typefile{somefile}
\stoptext

(the file 'somefile' should exist)

gives

! Undefined control sequence.
<argument> \filepath

\pathplusfile #1#2->#1
                      \f!pathseparator #2
\mktypefileverbatim ...rs.typefile("\readfilename
                                                  ")}
\dosometyping ...rt }{\typingparameter \c!stop }}}
                                                  \stopverbatimcolor
\stoppa...
\dotypefile ...else \dodotypefile [\v!file ][]{#3}
                                                  \fi \fi
l.3 \typefile{somefile}


Also, in MKII, when the file does not exist, you get a warning message in
the pdf output. In MKIV, there is no warning. Missing files are silently
ignored.

Aditya
it works here,with  minimals-beta

Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.10.30 08:50

\starttext
\typefile{test-aditya-001.tex}
\stoptext



--
luigi