ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Minimum file length.
@ 2008-05-03 11:50 John Culleton
  2008-05-03 12:01 ` luigi scarso
  2008-05-03 12:39 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: John Culleton @ 2008-05-03 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I am writing an e-book where pdf file length is an issue. For the 
minimal "Hello world" file I get the following lengths:
tex+dvips+ps2pdf 2820
pdftex                   5630
texexec               22,173

The only thing I added to the last test was the \starttext and 
\stoptext tags. The dvips etc. test defaulted to pdf 1.2,
the other two to pdf 1.4. I don't doubt that with more text the counts 
would be more similar. Still the fourfold increase between the second 
test and the third is a stunner. The e-book must be limited to 2 megs 
per the publisher. 

Just fyi
-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimum file length.
  2008-05-03 11:50 Minimum file length John Culleton
@ 2008-05-03 12:01 ` luigi scarso
  2008-05-03 12:39 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: luigi scarso @ 2008-05-03 12:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, May 3, 2008 at 1:50 PM, John Culleton <john@wexfordpress.com> wrote:
> I am writing an e-book where pdf file length is an issue. For the
> minimal "Hello world" file I get the following lengths:
> tex+dvips+ps2pdf 2820
> pdftex                   5630
> texexec               22,173
what about fonts of each pdf ?
-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimum file length.
  2008-05-03 11:50 Minimum file length John Culleton
  2008-05-03 12:01 ` luigi scarso
@ 2008-05-03 12:39 ` Wolfgang Schuster
  2008-05-03 15:48   ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2008-05-03 12:39 UTC (permalink / raw)
  To: ntg-context

On Sat, 3 May 2008 07:50:05 -0400
John Culleton <john@wexfordpress.com> wrote:

> I am writing an e-book where pdf file length is an issue. For the 
> minimal "Hello world" file I get the following lengths:
> tex+dvips+ps2pdf 2820
> pdftex                   5630
> texexec               22,173
> 
> The only thing I added to the last test was the \starttext and 
> \stoptext tags. The dvips etc. test defaulted to pdf 1.2,
> the other two to pdf 1.4. I don't doubt that with more text the counts 
> would be more similar. Still the fourfold increase between the second 
> test and the third is a stunner. The e-book must be limited to 2 megs 
> per the publisher. 

You could use XeTeX or LuaTeX instead of pdfTeX.

My example

\starttext
Hello World!
\stoptext

with the file size for each engine:

pdfTeX: 21.355
XeTeX:   3.155
LuaTeX:  3.328

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimum file length.
  2008-05-03 12:39 ` Wolfgang Schuster
@ 2008-05-03 15:48   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2008-05-03 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> On Sat, 3 May 2008 07:50:05 -0400
> John Culleton <john@wexfordpress.com> wrote:
> 
>> I am writing an e-book where pdf file length is an issue. For the 
>> minimal "Hello world" file I get the following lengths:
>> tex+dvips+ps2pdf 2820
>> pdftex                   5630
>> texexec               22,173
>>
>> The only thing I added to the last test was the \starttext and 
>> \stoptext tags. The dvips etc. test defaulted to pdf 1.2,
>> the other two to pdf 1.4. I don't doubt that with more text the counts 
>> would be more similar. Still the fourfold increase between the second 
>> test and the third is a stunner. The e-book must be limited to 2 megs 
>> per the publisher. 
> 
> You could use XeTeX or LuaTeX instead of pdfTeX.
> 
> My example
> 
> \starttext
> Hello World!
> \stoptext
> 
> with the file size for each engine:
> 
> pdfTeX: 21.355
> XeTeX:   3.155
> LuaTeX:  3.328

lm type 1 in pftex is less efficient than opentype in xetex/luatex

there may also be some different initial overhead per engine


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-03 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-03 11:50 Minimum file length John Culleton
2008-05-03 12:01 ` luigi scarso
2008-05-03 12:39 ` Wolfgang Schuster
2008-05-03 15:48   ` Hans Hagen

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