From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37969 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: What's the ps_name of AdobeMingStd-Light? Date: Thu, 13 Dec 2007 11:46:45 +0100 Message-ID: <115224fb0712130246l257f3e1fj2b2cc288a58dbdf9@mail.gmail.com> References: <769ba7780712100758o7f46e5f2m8b8ed42e5ced285@mail.gmail.com> <475D7B8C.1050501@elvenkind.com> <115224fb0712100956n8fddb55r62f56031e189724a@mail.gmail.com> <475D8BC6.2020002@wxs.nl> <115224fb0712110459h28830ff3la54d2f3345684cf5@mail.gmail.com> <475E9EC5.7060406@elvenkind.com> <115224fb0712110803r33654611l9c00b904387eaf5e@mail.gmail.com> <475EB8F6.5090202@wxs.nl> <115224fb0712120932u7e7c95e7t23a5b700ad718068@mail.gmail.com> <47605280.7040302@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197542891 30930 80.91.229.12 (13 Dec 2007 10:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 10:48:11 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 13 11:48:21 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J2lby-0004cv-Vb for gctc-ntg-context-518@m.gmane.org; Thu, 13 Dec 2007 11:48:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A53C1FBB5; Thu, 13 Dec 2007 11:47:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29273-02-2; Thu, 13 Dec 2007 11:47:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A6D4A1FB89; Thu, 13 Dec 2007 11:47:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64DEF1FB14 for ; Thu, 13 Dec 2007 11:47:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29273-02 for ; Thu, 13 Dec 2007 11:46:45 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by ronja.ntg.nl (Postfix) with ESMTP id D56A11FB8E for ; Thu, 13 Dec 2007 11:46:45 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so840975uge.50 for ; Thu, 13 Dec 2007 02:46:45 -0800 (PST) Original-Received: by 10.67.23.5 with SMTP id a5mr3359139ugj.8.1197542805268; Thu, 13 Dec 2007 02:46:45 -0800 (PST) Original-Received: by 10.67.122.17 with HTTP; Thu, 13 Dec 2007 02:46:45 -0800 (PST) In-Reply-To: <47605280.7040302@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37969 Archived-At: 2007/12/12, Hans Hagen : > 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 ___________________________________________________________________________________