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
On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan
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
On Thu, 30 Oct 2008, luigi scarso wrote:
On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan
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. Aditya
On Thu, Oct 30, 2008 at 8:23 PM, Aditya Mahajan
On Thu, 30 Oct 2008, luigi scarso wrote:
On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan
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
Aditya Mahajan wrote:
\starttext \typefile{test-aditya-001.tex} \stoptext
Ah, this also works here. The error only shows if the file does not have an extension.
this is fixed (hack, awaiting a proper split of supp-fil into mkii and mkiv) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen
Aditya Mahajan wrote:
\starttext \typefile{test-aditya-001.tex} \stoptext
Ah, this also works here. The error only shows if the file does not have an extension.
this is fixed (hack, awaiting a proper split of supp-fil into mkii and mkiv)
Hans
\starttext \typefile{test-aditya-TEST} \stoptext where test-aditya-TEST has TEST fails with ! 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{test-aditya-TEST} ? 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.42.10 15:11 PS context --version gives current version: 2008.42.10 15:11 -- luigi
luigi scarso wrote:
On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen
mailto:pragma@wxs.nl> wrote: Aditya Mahajan wrote:
>> \starttext >> \typefile{test-aditya-001.tex} >> \stoptext > > Ah, this also works here. The error only shows if the file does not have > an extension.
this is fixed (hack, awaiting a proper split of supp-fil into mkii and mkiv)
Hans
\starttext \typefile{test-aditya-TEST} \stoptext where test-aditya-TEST has TEST fails with
! Undefined control sequence. <argument> \filepath
bah, i'll fis this asap (when i do the split) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
luigi scarso