From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45305 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: MkII vs. MkIV Date: Wed, 5 Nov 2008 10:48:26 +0100 Message-ID: <115224fb0811050148i3df1f0ferd1dcfc5a2f1bdbbf@mail.gmail.com> References: <20081104200615.GA2264@atos.labs.wmid.amu.edu.pl> <420A16D6-319B-49F6-8B52-F7E7FDF5618B@gmail.com> 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 1225878713 2937 80.91.229.12 (5 Nov 2008 09:51:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 09:51:53 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 10:52:55 2008 connect(): Connection refused 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 1Kxf4H-0002B8-C8 for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2008 10:52:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6A6F61FC71; Wed, 5 Nov 2008 10:51:44 +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 22029-03-3; Wed, 5 Nov 2008 10:49:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E1881FB57; Wed, 5 Nov 2008 10:49:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 515011FC6B for ; Wed, 5 Nov 2008 10:49:07 +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 21099-05-14 for ; Wed, 5 Nov 2008 10:48:28 +0100 (CET) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.240]) by ronja.ntg.nl (Postfix) with ESMTP id 0C9991FB57 for ; Wed, 5 Nov 2008 10:48:27 +0100 (CET) Original-Received: by rv-out-0708.google.com with SMTP id f25so3463058rvb.14 for ; Wed, 05 Nov 2008 01:48:26 -0800 (PST) Original-Received: by 10.141.29.8 with SMTP id g8mr264010rvj.224.1225878506082; Wed, 05 Nov 2008 01:48:26 -0800 (PST) Original-Received: by 10.140.125.15 with HTTP; Wed, 5 Nov 2008 01:48:26 -0800 (PST) In-Reply-To: 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:45305 Archived-At: On Wed, Nov 5, 2008 at 4:00 AM, Aditya Mahajan wrote: > On Tue, 4 Nov 2008, Wolfgang Schuster wrote: > >> >> Am 04.11.2008 um 21:20 schrieb Aditya Mahajan: >> >>> On Tue, 4 Nov 2008, Marcin Borkowski wrote: >>> >>>> Hi, >>>> >>>> Is it normal that output from MkII and MkIV are different in terms of >>>> page breaks? >>> >>> Yes. In MKII the interline space is hard coded. MKIV gets the >>> interline >>> space from the font. So, you will get different page breaks. I >>> experienced >>> around 2-5 pages difference in a 100 page document. >> >> The interlinespace in MkII and MkIV is the same and both use a distance >> of 2.8ex between the lines. > > Yes, but ex means different dimensions in pdftex and luatex. For example > > \starttext > > 1ex = \the\dimexpr1ex\relax \crlf > 2.8ex = \the\dimexpr2.8ex\relax > > \stoptext > > gives in MKII > > 1ex = 5.16667pt > 2.8ex = 14.46669pt Interesting! \font\palatino=texnansi-uplr8a at 12pt \starttext 1ex = \the\dimexpr\exheight\relax\crlf 2.8ex = \the\dimexpr2.8\exheight\relax \blank 1ex = \the\dimexpr\fontdimen5\palatino\relax \crlf 2.8ex = \the\dimexpr2.8\fontdimen5\palatino\relax \stoptext > and in MKIV gives > > 1ex = 5.172pt > 2.8ex = 14.4816pt > > The reason is that what ex means is hardcoded in MKII but MKIV gets this > info from the font. For example, if I use palatino at 12pt, the result in > MKII does not change, but MKIV gives > > 1ex = 5.388pt > 2.8ex = 15.08641pt > > So, depending on the font, MKII and MKIV can have considerably different > lines per page. Thanks for the example, another point to use LuaTeX. 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 ___________________________________________________________________________________