Re: [NTG-context] problem in kpse.rb

2006-09-17 Thread Johan Sandblom
Disappointingly, over here it doesn't work with two backslashes, only with one. Possibly because there are two texmf.cnf (minimal linux distro) which give different answers: ./texmf/web2c/texmf.cnf, which claims % A place for local additions to a standard texmf tree. % This tree is not used for

Re: [NTG-context] problem in kpse.rb

2006-09-17 Thread Taco Hoekwater
Johan Sandblom wrote: I also ran into this (a few weeks ago on the list) and the patch I sent Hans after testing it on my Ubuntu Linux laptop was to use two backslashes: run(--expand-path=\\$#{varname}) My suggestion would be: run(--expand-path='$#{varname}') Taco

Re: [NTG-context] problem in kpse.rb

2006-09-17 Thread Johan Sandblom
Yes, that works. Johan 2006/9/17, Taco Hoekwater [EMAIL PROTECTED]: Johan Sandblom wrote: I also ran into this (a few weeks ago on the list) and the patch I sent Hans after testing it on my Ubuntu Linux laptop was to use two backslashes: run(--expand-path=\\$#{varname}) My suggestion

Re: [NTG-context] problem in kpse.rb

2006-09-17 Thread Hans Hagen
Taco Hoekwater wrote: Johan Sandblom wrote: I also ran into this (a few weeks ago on the list) and the patch I sent Hans after testing it on my Ubuntu Linux laptop was to use two backslashes: run(--expand-path=\\$#{varname}) My suggestion would be:

[NTG-context] problem in kpse.rb

2006-09-16 Thread Johan Sandblom
Attempting to find out why this happened on linux ~$ texmfstart ctxtools --updatecontext CtxTools | updating CtxTools | unable to change to I found that line 114 of kpse.rb can be changed from path = run(--expand-path=\\\$#{varname}) rescue '' to path = run(--expand-path=\$#{varname}) rescue

Re: [NTG-context] problem in kpse.rb

2006-09-16 Thread Sanjoy Mahajan
path = run(--expand-path=\\\$#{varname}) rescue '' to path = run(--expand-path=\$#{varname}) rescue '' I also ran into this (a few weeks ago on the list) and the patch I sent Hans after testing it on my Ubuntu Linux laptop was to use two backslashes: run(--expand-path=\\$#{varname}) so