On Thu, Oct 30, 2008 at 8:23 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:

> On Thu, 30 Oct 2008, luigi scarso wrote:
>
> > On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan <[EMAIL PROTECTED]>
> 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
>
> Ah, this also works here. The error only shows if the file does not have
> an extension.
>

Confirmed

\starttext
\typefile{test-aditya-TEST}
\stoptext

where test-aditya-TEST is
TEST

fails
-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to