Re: [NTG-context] context vs texinfo

2010-07-08 Thread Hans Hagen

On 8-7-2010 9:32, Taco Hoekwater wrote:


Hi,

Shiv Shankar Dayal wrote:

Hi,

I was using context and I had to wait for 16 seconds for one run
approximately. I switched to texinfo and it barely takes 2 seconds.


A whole 2 seconds? That's ridiculously slow! I just tried to print a
document with  'cat | lpr' and it took much less than a tenth of a
second! :)


Can you please explain the diffrence? I know context is complex but still?


Seriously: you gave the first half of the answer yourself. The second
half is that texinfo is very simple. Yes, context is quite a bit slower
thanks to extra complexity.

I am not going to list all of the things context can do that texinfo
cannot as that would take the better part of an hour, but there
are a few other reasons as well:

* context usually needs three runs the very first time you process
a document (but typically only one or two runs after that) and it
does these consecutive runs automatically. It keeps running tex
until there are no more runs needed, and this sometimes (well,
often, to be honest) means that it does one run too many. But one
run too much is still a lot better than a wrong link.

* context typically is set up to use much larger values for the
internal memory arrays, and this results in a slower runtime. You
can actually speed up context by reducing its memory footprint
to just what is needed for your own typical document types
(dont forget to regenerate the formats).


but 16 sec for a simple doc is still too  much given that the cache etc 
are set up; the 2 sec texinfo is an indication that the whol setup is 
suboptimal (network?)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context vs texinfo

2010-07-08 Thread luigi scarso
On Thu, Jul 8, 2010 at 8:54 AM, Shiv Shankar Dayal
 wrote:
> Hi,
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> Can you please explain the diffrence? I know context is complex but still?
>
> --
> Best regards,
> Shiv Shankar Dayal
texinfo is not able to do this
http://www.pragma-ade.com/general/manuals/columns.pdf
while context can easily mimic texinfo, at least for pdf ouput.
Anyway, without an example it's like compare apples with oranges.


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


Re: [NTG-context] context vs texinfo

2010-07-08 Thread R. Bastian
On Thu, 8 Jul 2010 02:54:40 -0400
Shiv Shankar Dayal  scribit:

> Hi,
> 
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> 
> Can you please explain the diffrence? I know context is complex but still?
> 
> -- 
> Best regards,
> Shiv Shankar Dayal

WORKING WITH lINUX:

May be your context-path is bad.

Open a console.
Try to find the file "setuptex"
Then "source THE_PATH_FOUND/setuptex"

The tip is somewhere in the contextgarden.


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/


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


Re: [NTG-context] context vs texinfo

2010-07-08 Thread Taco Hoekwater

Hi,

Shiv Shankar Dayal wrote:
> Hi,
> 
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.

A whole 2 seconds? That's ridiculously slow! I just tried to print a
document with  'cat | lpr' and it took much less than a tenth of a
second! :)

> Can you please explain the diffrence? I know context is complex but still?

Seriously: you gave the first half of the answer yourself. The second
half is that texinfo is very simple. Yes, context is quite a bit slower
thanks to extra complexity.

I am not going to list all of the things context can do that texinfo
cannot as that would take the better part of an hour, but there
are a few other reasons as well:

* context usually needs three runs the very first time you process
a document (but typically only one or two runs after that) and it
does these consecutive runs automatically. It keeps running tex
until there are no more runs needed, and this sometimes (well,
often, to be honest) means that it does one run too many. But one
run too much is still a lot better than a wrong link.

* context typically is set up to use much larger values for the
internal memory arrays, and this results in a slower runtime. You
can actually speed up context by reducing its memory footprint
to just what is needed for your own typical document types
(dont forget to regenerate the formats).

Best wishes,
Taco

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


Re: [NTG-context] context vs texinfo

2010-07-08 Thread luigi scarso
On Thu, Jul 8, 2010 at 8:54 AM, Shiv Shankar Dayal
 wrote:
> Hi,
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> Can you please explain the diffrence? I know context is complex but still?
Do you have an example ?

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


[NTG-context] context vs texinfo

2010-07-07 Thread Shiv Shankar Dayal
Hi,

I was using context and I had to wait for 16 seconds for one run
approximately. I switched to texinfo and it barely takes 2 seconds.

Can you please explain the diffrence? I know context is complex but still?

-- 
Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___