Re: [NTG-context] texexec slow

2009-04-24 Thread Mojca Miklavec
On Fri, Apr 24, 2009 at 08:36, Taco Hoekwater wrote:
 Mojca Miklavec wrote:

 Haha ! with this tip I get an error message from 'pdftex' :
 libstdc++.so.5 ... No such file ...

 Taco, what's the state with this particular library dependency?

 Not 100% sure but I think it should be better now (or at least
 soon), as Thanh wrote he has updated the build script for pdftex.

 One thing to remember is that to make pdftex use a static
 libstdc++, the machine you are compiling pdftex on has to have
 the static version of libstdc++ installed.

I have checked. There are both libstdc++5 and libstdc++5-3.3-dev
pacakges installed on Debian and locate showed both .so and .a
file, but I figured out that it also has libstdc++6 (which was not
installed).

How does pdftex building process decide which one to use in case that
both are installed?

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Hans Hagen

R. Bastian wrote:

Hi,

I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.

'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow.


what do you do with texexec then?


-
  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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 10:48:35 +0200
Hans Hagen pra...@wxs.nl scribit:

 R. Bastian wrote:
  Hi,
  
  I am new on this list. I use pftex and would use ConTeXt installed with 
  texlive/2007.
  
  'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow.
 
 what do you do with texexec then?

texexec --help

or 

texexec  --version

 
 
 -
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
 -
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 12:32:23 +0200
Mojca Miklavec mojca.miklavec.li...@gmail.com scribit:

 On Thu, Apr 23, 2009 at 12:29, Mojca Miklavec
 mojca.miklavec.li...@gmail.com wrote:
  Th script installed 158 Mb with a new 'texexec' (controlled with 'which 
  texexec').
  But it is not a bit faster. After 3 min, I break (Ctrl-C) ...
 
  ruby --version = ruby 1.8.7 ... instantaneous
 
  ruby --version is definitely faster, but texexec --version takes about
  a second here.
 
  Running a two-page document for the second time takes 3 seconds here.
  (The first run is a bit slower.)
 
  Can you post the document and some logfile to the mailing list? It may
  happen that you run into some infinite loop with one of your macros.
 
 Please also describe what platform you work on. With luatex memory
 might also be an issue, but that's probably not the case with pdftex.

I tested 'texexec' on another computer (Kubuntu 7.10, TL2007, ruby 1.8.6) and 
it works,
but I need it on [Debian 5.0, Gnome, ruby 1.8.7] where it fails.

 
 What's the time needed to run pdflatex on similar document size?

I dont know; 'first-setup.sh' erased the path to the format files ;-)
but 'pdflatex' was very clever. (I must reinstall 'texlive'.)

 
 Mojca
 

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Aditya Mahajan

On Thu, 23 Apr 2009, R. Bastian wrote:


Hi,

I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.

'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow.

Where con I get the doc or what shall I do ?


I do not know if this is related or not...but

Occasionally I also find that texexec is extremely slow. (Takes about a 
minute to initiate and then runs fine). This happens, when my internet 
connection is in a bad state (which means that ping to a server also time 
out). In that situation texmfstart takes ages to get a response from drb. 
Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
do not remember the exact interupt message, but I will try to get more 
information when this happens the next time. If I avoid texmfstart, ie, 
run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
fine.


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
Aditya Mahajan adit...@umich.edu scribit:

 On Thu, 23 Apr 2009, R. Bastian wrote:
 
  Hi,
 
  I am new on this list. I use pftex and would use ConTeXt installed with 
  texlive/2007.
 
  'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow.
 
  Where con I get the doc or what shall I do ?
 
 I do not know if this is related or not...but
 
 Occasionally I also find that texexec is extremely slow. (Takes about a 
 minute to initiate and then runs fine). This happens, when my internet 
 connection is in a bad state (which means that ping to a server also time 
 out). In that situation texmfstart takes ages to get a response from drb. 
 Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
 do not remember the exact interupt message, but I will try to get more 
 information when this happens the next time. If I avoid texmfstart, ie, 
 run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
 fine.
 
 Aditya


ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile

Haha ! with this tip I get an error message from 'pdftex' :
libstdc++.so.5 ... No such file ...

The libstdc++6 is installed. What can I do ?

 ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 16:55:56 +0200
R. Bastian rbast...@free.fr scribit:

 On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
 Aditya Mahajan adit...@umich.edu scribit:
 
  On Thu, 23 Apr 2009, R. Bastian wrote:
  
   Hi,
  
   I am new on this list. I use pftex and would use ConTeXt installed with 
   texlive/2007.
  
   'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very 
   slow.
  
   Where con I get the doc or what shall I do ?
  
  I do not know if this is related or not...but
  
  Occasionally I also find that texexec is extremely slow. (Takes about a 
  minute to initiate and then runs fine). This happens, when my internet 
  connection is in a bad state (which means that ping to a server also time 
  out). In that situation texmfstart takes ages to get a response from drb. 
  Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
  do not remember the exact interupt message, but I will try to get more 
  information when this happens the next time. If I avoid texmfstart, ie, 
  run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
  fine.
  
  Aditya
 
 
 ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile
 
 Haha ! with this tip I get an error message from 'pdftex' :
 libstdc++.so.5 ... No such file ...
 
 The libstdc++6 is installed. What can I do ?
 
I installed libstdc++5 - now pdftex complains cant find ... 'cont-en.fmt' 


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 17:10:29 +0200
R. Bastian rbast...@free.fr scribit:

 On Thu, 23 Apr 2009 16:55:56 +0200
 R. Bastian rbast...@free.fr scribit:
 
  On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
  Aditya Mahajan adit...@umich.edu scribit:
  
   On Thu, 23 Apr 2009, R. Bastian wrote:
   
Hi,
   
I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.
   
'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very 
slow.
   
Where con I get the doc or what shall I do ?
   
   I do not know if this is related or not...but
   
   Occasionally I also find that texexec is extremely slow. (Takes about a 
   minute to initiate and then runs fine). This happens, when my internet 
   connection is in a bad state (which means that ping to a server also time 
   out). In that situation texmfstart takes ages to get a response from drb. 
   Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
   do not remember the exact interupt message, but I will try to get more 
   information when this happens the next time. If I avoid texmfstart, ie, 
   run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
   fine.
   
   Aditya
  
  
  ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile
  
  Haha ! with this tip I get an error message from 'pdftex' :
  libstdc++.so.5 ... No such file ...
  
  The libstdc++6 is installed. What can I do ?
  
 I installed libstdc++5 - now pdftex complains cant find ... 'cont-en.fmt' 
 
i dont know if it is of interest for you:
- I switched back to TL2007 (now pdftex finds 'cont-en')
- texexec source.tex compiles 3 min 14 sec for 1 page of pdf
- pdftex -fmt cont-en compiles  1 sec and produces a dvi file

Thanks for your help.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Hans Hagen

Aditya Mahajan wrote:

On Thu, 23 Apr 2009, R. Bastian wrote:


Hi,

I am new on this list. I use pftex and would use ConTeXt installed 
with texlive/2007.


'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very 
slow.


Where con I get the doc or what shall I do ?


I do not know if this is related or not...but

Occasionally I also find that texexec is extremely slow. (Takes about a 
minute to initiate and then runs fine). This happens, when my internet 


hm, there is some code in there for a distributed kpse server but as it 
is not enabled by default i wonder ... anyhow, i'll remove that code


also, one can use mtxrun as dropin (but the specific aspect has a 
buglet) so in upcoming distributions we will use that



-
  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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___