ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: distributed / parallel TeX?
Date: Tue, 16 Dec 2008 16:53:05 +0100	[thread overview]
Message-ID: <4947CEE1.6040107@wxs.nl> (raw)
In-Reply-To: <alpine.LNX.2.00.0812161000230.5000@nqv-yncgbc>

Aditya Mahajan wrote:
> On Tue, 16 Dec 2008, Hans Hagen wrote:
> 
>> Lars Huttar wrote:
>>> Hello,
>>>
>>> We've been using TeX to typeset a 1200-page book, and at that size, the
>>> time it takes to run becomes a big issue (especially with multiple
>>> passes... about 8 on average). It takes us anywhere from 80 minutes on
>>> our fastest machine, to 9 hours on our slowest laptop.
>>
>> often there are ways to optimize the document style
> 
> In Latex, there is a package called mylatex, which allows you to create 
> a format consisting of your preamble. Then you can call latex with your 
> own format and this speeds up things.

not on this document since the processing takes way more than the startup

in jelle's doc it's the many many many local font definitions and the 
some 800 metapost graphics that are the culprit

- define fonts beforehand
- use unique mpgraphic when possible

i changes the definitions a bit and now get 5 pages per second on my 
laptop in luatex; xetex processes the pages a bit faster but spends way 
more time on the mp part

(of course 1450 pages of columnsets and multipage bTABLE's also cost a 
bit of time)

> This approach did not provide a significant speed improvement in latex 
> for me, and I don't know whether it will do so in context. Hans and 
> Taco, do you think that creating a personal format and possibly also 
> dumping some font related info could provide a tradeoff between 
> processing speed and disk space?

it depends, you might win maybe a second per run when on startup in 
cases where you have thousands of small runs but often using a small 
tree (like the minimals) pays of more

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


  reply	other threads:[~2008-12-16 15:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15 23:06 Lars Huttar
2008-12-16  8:08 ` Taco Hoekwater
2008-12-16 18:13   ` Lars Huttar
2008-12-16 21:31     ` Martin Schröder
2008-12-16 22:10       ` Lars Huttar
2008-12-16 22:17         ` Martin Schröder
2008-12-17  8:47           ` Taco Hoekwater
2008-12-16 21:15   ` luigi scarso
2008-12-16 23:02     ` Lars Huttar
2008-12-17  8:22       ` Hans Hagen
2008-12-17  8:53         ` luigi scarso
2008-12-17 13:50           ` Lars Huttar
2008-12-16  9:07 ` Hans Hagen
2008-12-16 15:06   ` Aditya Mahajan
2008-12-16 15:53     ` Hans Hagen [this message]
2008-12-16 17:25       ` Lars Huttar
2008-12-16 17:37         ` Hans Hagen
2008-12-16 19:28           ` Lars Huttar
2008-12-17  2:57             ` Yue Wang
2008-12-23  3:48             ` error when using uniqueMPgraphics Lars Huttar
2008-12-23  5:33               ` Lars Huttar
2008-12-23  7:30               ` Wolfgang Schuster
2008-12-16 18:40         ` distributed / parallel TeX? Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4947CEE1.6040107@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).