From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42331 Path: news.gmane.org!not-for-mail From: Neiaglov Dmitry Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX and precise font sizes Date: Thu, 10 Jul 2008 20:09:39 +0400 Message-ID: <78C327A4-A72D-45CB-9D59-F6ED5CBC6E8E@getalime.ru> References: <661F56F4-974A-46F5-BEA2-4A7DB08C0833@getalime.ru> <83e5fb980807091602y507f0489u54e0f0c43eca2883@mail.gmail.com> <43A763CD-CEBA-4381-9085-8D42CF064409@getalime.ru> <6faad9f00807100710m7f1364a9x773ccff6d175cd5a@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215706346 3032 80.91.229.12 (10 Jul 2008 16:12:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 16:12:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 10 18:13:13 2008 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 1KGyla-0005z7-Bl for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jul 2008 18:13:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92C831FD04; Thu, 10 Jul 2008 18:12:08 +0200 (CEST) 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 32605-02-15; Thu, 10 Jul 2008 18:11:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 998621FC57; Thu, 10 Jul 2008 18:11:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 495541FC57 for ; Thu, 10 Jul 2008 18:11:12 +0200 (CEST) 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 00373-02-5 for ; Thu, 10 Jul 2008 18:10:28 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by ronja.ntg.nl (Postfix) with ESMTP id 9C04A1FC36 for ; Thu, 10 Jul 2008 18:10:27 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so2224161ywm.74 for ; Thu, 10 Jul 2008 09:10:12 -0700 (PDT) Original-Received: by 10.114.157.1 with SMTP id f1mr11340579wae.14.1215706211453; Thu, 10 Jul 2008 09:10:11 -0700 (PDT) Original-Received: from ?192.168.1.100? ( [213.141.137.58]) by mx.google.com with ESMTPS id z37sm185949ikz.6.2008.07.10.09.09.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Jul 2008 09:10:11 -0700 (PDT) In-Reply-To: <6faad9f00807100710m7f1364a9x773ccff6d175cd5a@mail.gmail.com> X-Mailer: Apple Mail (2.926) 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:42331 Archived-At: > > > \starttypescript[serif][gentium-basic] > \definefontsynonym[Serif] [GentiumBasic] > \definefontsynonym[SerifItalic] [GentiumBasicItalic] > \definefontsynonym[SerifBold] [GentiumBasicBold] > \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] > \stoptypescript Cool, that clarifies a lot for me, thanks :) So \startypescript uses xetex after all! The most compact construction I got working was the following: \definetypeface [LiberationSans][ss][Xsans][Liberation Sans][default] [encoding=uc] ... \def\subsect{\setupbodyfont[LiberationSans, 18pt]} ... \setuphead [subsection] ... style=\subsect] Unfortunately, ConTeXt tends to compile this document three times before giving me the PDF. (Makes you wonder!) And anyway, what is the difference between typescripts and typefaces in ConTeXt terms? The only thing I found in docs was that \definefont works in the context of the current construction. Best regards, Dima ___________________________________________________________________________________ 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 ___________________________________________________________________________________