Re: [NTG-context] Stuck in texmfstart

2006-05-27 Thread Hans Hagen
Neal Lester wrote:
 At 10:38 AM 5/26/2006, you wrote:
   
 On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
 
 At 09:17 AM 5/26/2006, you wrote:
   
 This morning, when I try to run texexec, texmfstart gets stuck in the
 loop at line 262.
 
 Placing

 puts f

 below line 266 ( f.gsub(...) do

 prints:

 $TEXROOT/texmf/{-local,}/web2c/texmf.cnf

 (over and over again)
   
 Mine doesn't seem to enter this loop -- nothing is printed.   The
 above line looks
 like the entry from texsetup with an extra /:

 set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c
 

 What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
 hard coded the value of TEXROOT in setuptex.sh instead of having the 
 script set it from the command line argument.

 echo $TEXMFCNF prints
 $TEXROOT/texmf{-local,}/web2c
   
i'm puzzled because the loop you mentioned is not supposed to be entered 
unless you run texmfstart as a kpseserver

do you use the latest versions of texmfstart etc?

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
-

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


Re: [NTG-context] Stuck in texmfstart

2006-05-27 Thread Neal Lester
At 07:06 AM 5/27/2006, you wrote:
  What I did is copy setuptex to /etc/profile.d/setuptex.sh and then
  hard coded the value of TEXROOT in setuptex.sh instead of having the
  script set it from the command line argument.
 
  echo $TEXMFCNF prints
  $TEXROOT/texmf{-local,}/web2c
 
i'm puzzled because the loop you mentioned is not supposed to be entered
unless you run texmfstart as a kpseserver

do you use the latest versions of texmfstart etc?


I downloaded everything from pragma-ade.nl on last Thursday May 
27th.  The installation procedure I used is described in:

http://www.ntg.nl/pipermail/ntg-context/2006/018759.html

Neal



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


[NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
This morning, when I try to run texexec, texmfstart gets stuck in the 
loop at line 262.

It seems that in my thrashing around yesterday I made some transient 
change to the environment (I shut this system down at night).  Any 
idea what that is?  I also applied a kernel patch, so I suppose that 
could also be the problem.

Neal


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


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 09:17 AM 5/26/2006, you wrote:
This morning, when I try to run texexec, texmfstart gets stuck in the
loop at line 262.

Placing

puts f

below line 266 ( f.gsub(...) do

prints:

$TEXROOT/texmf/{-local,}/web2c/texmf.cnf

(over and over again)



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


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread gnwiii
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the
 loop at line 262.

 It seems that in my thrashing around yesterday I made some transient
 change to the environment (I shut this system down at night).  Any
 idea what that is?  I also applied a kernel patch, so I suppose that
 could also be the problem.

If a kernel patch breaks TeX I'd expect lots of other stuff to break as well.

It is easy to manually set one of the variables from texsetup and
forget to record the change somewhere that will survive reboots.  Did
you source texsetup manually (in the tex directory?

What do you get for ruby `kpsewhich -format=texmfscripts texexec.rb`
..., which bypasses
texmfstart.rb, where you can try ...=--check, etc.?

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Hans Hagen
Neal Lester wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the 
 loop at line 262.
   
you mean:

loop do
busy = false
filenames.collect! do |f|
f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
busy = true
ENV[$1] || ($#{$1})
end
end
break unless busy
end

can you try: 

loop do
busy = false
filenames.collect! do |f|
f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
busy = true
puts #{f} = #{ENV[$1]} 
ENV[$1] || ($#{$1})
end
end
break unless busy
end

and see what is reported


-
  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
-

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


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread gnwiii
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
 At 09:17 AM 5/26/2006, you wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the
 loop at line 262.

 Placing

 puts f

 below line 266 ( f.gsub(...) do

 prints:

 $TEXROOT/texmf/{-local,}/web2c/texmf.cnf

 (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra /:

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c


-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 10:38 AM 5/26/2006, you wrote:
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
  At 09:17 AM 5/26/2006, you wrote:
  This morning, when I try to run texexec, texmfstart gets stuck in the
  loop at line 262.
 
  Placing
 
  puts f
 
  below line 266 ( f.gsub(...) do
 
  prints:
 
  $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
 
  (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra /:

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c

What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
hard coded the value of TEXROOT in setuptex.sh instead of having the 
script set it from the command line argument.

echo $TEXMFCNF prints
$TEXROOT/texmf{-local,}/web2c

Neal 


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