ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: What's the ps_name of AdobeMingStd-Light?
Date: Thu, 13 Dec 2007 11:46:45 +0100	[thread overview]
Message-ID: <115224fb0712130246l257f3e1fj2b2cc288a58dbdf9@mail.gmail.com> (raw)
In-Reply-To: <47605280.7040302@wxs.nl>

2007/12/12, Hans Hagen <pragma@wxs.nl>:
> Wolfgang Schuster wrote:
>
> > Yes I did this and I changed my font settings for the title page to
> > \definedfont in my document takes now 80 seconds for a single run
> > but it spends most of the time for font loading.
>
> much overhead is related to things like setting up math, synchronizing
> encodings, mappings, (and hz, protruding if enabled) .. keep in mind
> that we're talking of font systems, not one font

loading the fonts is sometimes the slowest thing in a document.

> > But you can beat the process time of plain TeX which can be used
> > in simple documents where you can reduce the time with a few tricks.
> > My process time for vocabulary cards from a xml file is below 1 second
> > and I have more than 4.000 pages ;-) Doing the same thing woth ConTeXt's
> > old xml interface and XeTeX takes 30 seconds and I won't talk about mkiv.
>
> it all depends on what functionality is needed (take pagebody
> construction, which in plain is hardly present, backgrounds, color, etc
> etc) and in the case of xml it also depends on what 'defineXML' commands
> are used; things like namespaces (fallbacks), attributes etc etc ...
> many things play a role and i'm pretty sure that the critical parts of
> context are quite optimized; for sure many (simple) docs can be
> processed using plain tex but as soon as you need a bit more ...

I wanted to show only it is sometimes to enough to use a low level
system and you don't need such a complex system like ConTeXt.
My document was also optimized to speed and I work without page
numbering (first step) and dropped in a second step the output routine,
I use \shipout to place the data from the file and write the information
to the file.

The strong point from my ConTeXt solution is to have better control
over the layout, my plain solution use hboxes and vboxes where I use
layers in ConTeXt and this is easier. My simple XML handler is also very
limited and has only support for environments and pickups but nothing
else.

> (btw, xml in mkiv is quite different, since it operates on trees)

It is possible to use the old and new method in some documents in the
same way but I prefer the new method because I can now use xml files
to store information without the need to store the data before the run
in TeX macros.

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
___________________________________________________________________________________


  reply	other threads:[~2007-12-13 10:46 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 15:58 Zhichu Chen
2007-12-10 16:05 ` Wolfgang Schuster
2007-12-10 16:23   ` Zhichu Chen
2007-12-10 17:19     ` Arthur Reutenauer
2007-12-10 17:46       ` Taco Hoekwater
2007-12-10 17:56         ` Wolfgang Schuster
2007-12-10 18:32           ` Taco Hoekwater
2007-12-10 18:56           ` Hans Hagen
2007-12-11  1:08             ` Zhichu Chen
2007-12-11 12:59             ` Wolfgang Schuster
2007-12-11 13:03               ` Hans Hagen
2007-12-11 14:29               ` Taco Hoekwater
2007-12-11 16:03                 ` Wolfgang Schuster
2007-12-11 16:21                   ` Hans Hagen
2007-12-12 17:32                     ` Wolfgang Schuster
2007-12-12 21:28                       ` Hans Hagen
2007-12-13 10:46                         ` Wolfgang Schuster [this message]
2007-12-13 10:50                           ` Hans Hagen
2007-12-13 10:59                             ` Wolfgang Schuster
2007-12-13 11:14                               ` Zhichu Chen
2007-12-13 11:17                                 ` Wolfgang Schuster
2007-12-14  4:24                                   ` Zhichu Chen
2007-12-14  8:10                                     ` Hans Hagen
2007-12-14 10:24                                       ` Wolfgang Schuster
2007-12-17  2:42                                         ` Zhichu Chen
2007-12-17  8:17                                           ` Hans Hagen
2007-12-13 12:25                                 ` Hans Hagen
2007-12-14  4:26                                   ` Zhichu Chen
2007-12-14  8:03                                     ` Hans Hagen
2007-12-17  2:30                                       ` Zhichu Chen
2007-12-17  7:48                                         ` Wolfgang Schuster
2007-12-29 22:26                                     ` Not embedding CID fonts (was: Re: What's the ps_name ...) Arthur Reutenauer
2007-12-30 22:46                                       ` Not embedding CID fonts Hans Hagen
2007-12-31 12:50                                       ` Not embedding CID fonts (was: Re: What's the ps_name ...) Martin Schröder
2007-12-31 20:42                                         ` Arthur Reutenauer
2007-12-10 18:04     ` What's the ps_name of AdobeMingStd-Light? Wolfgang Schuster
2007-12-10 18:28       ` Arthur Reutenauer
2007-12-10 16:37 ` Mojca Miklavec
2007-12-10 17:16   ` Zhichu Chen
2007-12-10 18:13   ` Wolfgang Schuster

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=115224fb0712130246l257f3e1fj2b2cc288a58dbdf9@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).