Re: [NTG-context] typefile with absolute path to file

2012-11-21 Thread Hans Hagen
On 11/20/2012 11:17 PM, Aditya Mahajan wrote: On my machine, I can read files **with an extension** from anywhere in the system, but \typefile{...} for a file without an extension results in: verbatimsfile abc does not exist ah .. but it makes sense to be explicit in what you want

Re: [NTG-context] typefile with absolute path to file

2012-11-21 Thread Sietse Brouwer
I think he means files of which the name does not have an extension. I.e. he is trying to type a file called 'xxx', not 'xxx.something'. Example of such a file: the shell script /usr/bin/ps2pdf. Cheers, --Sietse ___ If

Re: [NTG-context] typefile with absolute path to file

2012-11-21 Thread Hans Hagen
On 11/21/2012 11:18 AM, Sietse Brouwer wrote: I think he means files of which the name does not have an extension. I.e. he is trying to type a file called 'xxx', not 'xxx.something'. Example of such a file: the shell script /usr/bin/ps2pdf. hopefully fixed in next upload .. btw, testing can

[NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
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?

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Aditya Mahajan
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?

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
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

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Hans Hagen
On 11/20/2012 9:06 PM, Erik Margraf wrote: 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) I just tried a standalone on a xubuntu virtual machine. I had no problems with

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Aditya Mahajan
On Tue, 20 Nov 2012, Hans Hagen wrote: On 11/20/2012 9:06 PM, Erik Margraf wrote: 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) I just tried a standalone on a xubuntu virtual

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Sietse Brouwer
Compiling the evidence... all I can say is hmm == Erik == Version: 2012.11.16 on Linux Absolute path (parent dir): ??? Absolute path (non-parent dir): did not work == Aditya == Version: 2012.11.16 on Linux [system.outputmode]= restricted, [system.inputmode] = any, Absolute path

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
That's interesting. As I could trace, the leading / is removed on my system. ldd output on my luatex gives (seems not really spectacular): linux-vdso.so.1 = (0x7fffad7ff000) libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f221f099000) libm.so.6 =