Hi, Thanks Aditya!
I tried this again with \starttext \typefile{/tmp/xxx.tex} \stoptext and could trace what's going on ... (not even /tmp/xxx.tex worked) The lines below is the trace output belonging to "/tmp/xxx stat("tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) stat("../tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) stat("../../tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) stat("tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) stat("../tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) stat("../../tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory) I could verify that "tmp/xxx.tex" is actually found! current version: 2012.11.16 23:51 Anything I can do about that? (I guess I can work with relative paths below - tested this ...) Context Version: current version: 2012.11.16 23:51 System: Debian 3.2.32-1 x86_64 GNU/Linux regards Erik On Tue, Nov 20, 2012 at 4:25 PM, Aditya Mahajan <adit...@umich.edu> wrote: > >> Dear List, >> >> a question about \typefile{}. >> I tried to use \typefile{ /with/an/absolute/path/to/some_file } and >> failed >> Message in the log: Verbatim some_file not found. Also tried with >> no path at all, assuming it will take the file from the current directory. >> Same result. >> >> Do I miss something? Should this work? Or, if not, how can I achieve >> this effect (typefile >> with absolute path to a file. btw. on a Linux system) > > > \starttext > \typefile{\jobname.tex} > \typefile{/tmp/test.tex} > \stoptext > > work with ConTeXt MkIV 2012.11.16. > > However, I can confirm that > > \typefile{/usr/bin/pdf2ps} does not work with context minimals on archlinux, > although the texmfcnf.lua file says: > > ["system.outputmode"] = "restricted", > ["system.inputmode"] = "any", > > Aditya > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________