Re: [NTG-context] about texmfstart

2006-05-14 Thread Hans Hagen
Dalyoung wrote:
 Dear Aditya,

 I did what you told me,

 set RUBYLIB=/texmf.local/scripts/context/ruby
 export $RUBYLIB

   
i'll post a version that has all the modules/classes embedded (i.e. i 
made a ruby module that will package a script with libraries so that 
they become standalone)

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] about texmfstart

2006-05-13 Thread Dalyoung
Dear Aditya,

I did what you told me,

set RUBYLIB=/texmf.local/scripts/context/ruby
export $RUBYLIB

But there is no change in the output of texmfstart --verbose texexec.

I copied texexec.rb in the home directory, then I got

~ mac$ texmfstart --verbose texexec
texmfstart version 1.8.6
expanding 'texexec' to 'texexec.rb'
locating 'texexec.rb' in current path '.'
registering 'texexec' as '/Users/mac/texexec.rb'
'texexec.rb' located in current path
registering 'THREAD' as '/Users/mac'
starting texexec
using 'system' call: ruby /Users/mac/texexec.rb
/Users/mac/texexec.rb:10:in `require': No such file to load -- base/ 
switch (LoadError)
 from /Users/mac/texexec.rb:10

According to this message, it locate texexec.rb. However, the commnad

texmfstart texexec --make en

did nothing but only a message like this.

/Users/mac/texexec.rb:10:in `require': No such file to load -- base/ 
switch (LoadError)
 from /Users/mac/texexec.rb:10

Would you please tell me what I have to do more?

Thank you for reading.

Best regards,

Dalyoung
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] about texmfstart

2006-05-13 Thread Aditya Mahajan
On Sat, 13 May 2006, Dalyoung wrote:

 Dear Aditya,

 I did what you told me,

 set RUBYLIB=/texmf.local/scripts/context/ruby
 export $RUBYLIB

I assume that by ... you mean the exact path of texmf.local

 But there is no change in the output of texmfstart --verbose texexec.

 I copied texexec.rb in the home directory, then I got

What is the output of

export RUBYLIB=path-to-texmf-local/scripts/context/ruby

ruby path-to-texmf-local/scripts/context/ruby/texmfstart texexec.rb 
--version




 ~ mac$ texmfstart --verbose texexec
 texmfstart version 1.8.6
 expanding 'texexec' to 'texexec.rb'
 locating 'texexec.rb' in current path '.'
 registering 'texexec' as '/Users/mac/texexec.rb'
 'texexec.rb' located in current path
 registering 'THREAD' as '/Users/mac'
 starting texexec
 using 'system' call: ruby /Users/mac/texexec.rb
 /Users/mac/texexec.rb:10:in `require': No such file to load -- base/
 switch (LoadError)
 from /Users/mac/texexec.rb:10

 According to this message, it locate texexec.rb. However, the commnad

   texmfstart texexec --make en

 did nothing but only a message like this.

 /Users/mac/texexec.rb:10:in `require': No such file to load -- base/
 switch (LoadError)
 from /Users/mac/texexec.rb:10

 Would you please tell me what I have to do more?

 Thank you for reading.

 Best regards,

 Dalyoung
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context




-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] about texmfstart

2006-05-12 Thread Dalyoung
Dear listers,

Forgive me for my beginner's question again.

As in the list(ntg-context Digest, Vol 23, Issue 28), I did the  
following:

cp /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb /usr/local/teTeX/bin/powerpc-apple-darwin-current/ 
texmfstart
chmod 755 /usr/local/teTeX/bin/powerpc-apple-darwin-current/texmfstart


After this, I issued
   texmfstart texexec --make --xetex en
or
   texmfstart texexec file.tex,

but there is no action at all. I also issued the following command  
and got the output like this.

**
input: texmfstart --verbose texexec
output:
texmfstart version 1.8.6
expanding 'texexec' to 'texexec.rb'
locating 'texexec.rb' in current path '.'
locating 'texexec.rb' in caller path '/usr/local/teTeX/bin/powerpc- 
apple-darwin-current'
using kpse binary
unable to locate base/kpseremote|base/kpsedirect|base/kpsefast on  
library paths:

   /usr/lib/ruby/site_ruby/1.8
   /usr/lib/ruby/site_ruby/1.8/powerpc-darwin8.0
   /usr/lib/ruby/site_ruby
   /usr/lib/ruby/1.8
   /usr/lib/ruby/1.8/powerpc-darwin8.0
   .
   /usr/local/teTeX/bin/powerpc-apple-darwin-current
   /usr/local/teTeX/bin/lib
   /usr/local/teTeX/bin/powerpc-apple-darwin-current/texmfstart-lib
   /usr/local/teTeX/texmf-local/scripts/context/ruby
   /usr/local/teTeX/texmf/scripts/context/ruby

an option is to point the RUBYLIB variable to

   texmf-local or texmf/scripts/context/ruby

or to copy

   texmf-local or texmf/scripts/context/ruby/base/kpse*

(including the kpse subpath) to e.g.

   /usr/local/teTeX/bin/powerpc-apple-darwin-current/../lib/texmfstart/

or to use a stub instead

fatal error
unable to locate program
***

Would you please tell me how to make texstart working?

Thank you for reading.

Best regards,

Dalyoung
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] about texmfstart

2006-05-12 Thread Aditya Mahajan
On Sat, 13 May 2006, Dalyoung wrote:

 Dear listers,

 Forgive me for my beginner's question again.

 As in the list(ntg-context Digest, Vol 23, Issue 28), I did the
 following:

 cp /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
 texmfstart.rb /usr/local/teTeX/bin/powerpc-apple-darwin-current/
 texmfstart
 chmod 755 /usr/local/teTeX/bin/powerpc-apple-darwin-current/texmfstart


 After this, I issued
   texmfstart texexec --make --xetex en
 or
   texmfstart texexec file.tex,

 but there is no action at all. I also issued the following command
 and got the output like this.

 **
 input: texmfstart --verbose texexec
 output:
 texmfstart version 1.8.6
 expanding 'texexec' to 'texexec.rb'
 locating 'texexec.rb' in current path '.'
 locating 'texexec.rb' in caller path '/usr/local/teTeX/bin/powerpc-
 apple-darwin-current'
 using kpse binary
 unable to locate base/kpseremote|base/kpsedirect|base/kpsefast on
 library paths:

   /usr/lib/ruby/site_ruby/1.8
   /usr/lib/ruby/site_ruby/1.8/powerpc-darwin8.0
   /usr/lib/ruby/site_ruby
   /usr/lib/ruby/1.8
   /usr/lib/ruby/1.8/powerpc-darwin8.0
   .
   /usr/local/teTeX/bin/powerpc-apple-darwin-current
   /usr/local/teTeX/bin/lib
   /usr/local/teTeX/bin/powerpc-apple-darwin-current/texmfstart-lib
   /usr/local/teTeX/texmf-local/scripts/context/ruby
   /usr/local/teTeX/texmf/scripts/context/ruby

 an option is to point the RUBYLIB variable to

   texmf-local or texmf/scripts/context/ruby


try

set RUBYLIB=/usr/local/teTeX/share/texmf.local/scripts/context/ruby
export $RUBYLIB




Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context