From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66005 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.comp.tex.context Subject: Re: Using fonts from multiple families Date: Sun, 13 Feb 2011 08:23:14 -0500 Message-ID: <001401cbcb81$2bc87bd0$83597370$@com> References: <015101cbcad8$07616080$16242180$@com> <015e01cbcb2f$7f820540$7e860fc0$@com> <2D452874-5AEF-4DCC-9B6D-D02E50D0D25C@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: dough.gmane.org 1297603442 19330 80.91.229.12 (13 Feb 2011 13:24:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 13:24:02 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 14:23:57 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pobvg-0001KY-VJ for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2011 14:23:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76D74CA9C1; Sun, 13 Feb 2011 14:23:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hu1svuBhcMql; Sun, 13 Feb 2011 14:23:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE581CA955; Sun, 13 Feb 2011 14:23:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2A8CCA955 for ; Sun, 13 Feb 2011 14:23:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IV2NATYL9MxW for ; Sun, 13 Feb 2011 14:23:11 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id A5F34CA676 for ; Sun, 13 Feb 2011 14:23:11 +0100 (CET) Original-Received: from smtp2.ctinetworks.com (smtp2.ctinetworks.com [205.166.61.227]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1DDN9nJ019750 for ; Sun, 13 Feb 2011 14:23:10 +0100 Original-Received: from TomPC (c-67-191-114-63.hsd1.fl.comcast.net [67.191.114.63]) by smtp2.ctinetworks.com (Postfix) with ESMTP id 95C441A7478 for ; Sun, 13 Feb 2011 08:23:07 -0500 (EST) In-Reply-To: <2D452874-5AEF-4DCC-9B6D-D02E50D0D25C@gmail.com> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvLZMhtnTwd/M4KT7Oc20w6wUfBPQAG3/ng Content-Language: en-us X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 95C441A7478.967C5 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1298467387.89837@bULBWs+9gyFe+yVuH1A8zg X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=205.166.61.227; country=US; region=PA; city=Mechanicsburg; latitude=40.2134; longitude=-77.0098; metrocode=566; areacode=717; http://maps.google.com/maps?q=40.2134,-77.0098&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rE7pn9cp - 176ac417927c - 20110213 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66005 Archived-At: Thank you very much, Wolfgang. The time zone difference is helpful sometimes. I went to bed last night very frustrated and woke up this morning to find your solution in my inbox. It is also good to see that your assistance to me has also helped someone else. I do have a couple of questions: 1. Why aren't the \usetypescriptfile commands necessary? 2. It never occurred to me to consider the dedication as a separate chapter. Logically, it is but is the inverse of other chapters, sort of, in that the chapter title isn't normally displayed and the body of the chapter is printed in a different font than are the other chapters. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Sunday, February 13, 2011 4:59 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Using fonts from multiple families Am 13.02.2011 um 04:38 schrieb Tom: > > > \usetypescriptfile[type-one] > \usetypescriptfile[type-gyr] > TexLive 2010 MKII on a PC > > I'm completely flummoxed as how to use fonts from different families. > Follows is an attempt to use Pallatino (rm) for the text of a book, > Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page > headers (intended but not implemented), and Chancery (cg) for the > dedication. The only font that appears to come out right are the chapter > titles and I can't change their size without changing the size of the text > font. I apparently haven't found the right manual yet or am too stupid to > understand what must be a relatively simple concept. You can define multiple typefaces. % engine=pdftex % fonts \definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [ss] [sans] [iwona-heavy] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] \definetypeface [mainface] [mm] [math] [palatino] [default] \definetypeface [pagenumber] [ss] [sans] [iwona-light] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] % headings \definehead [intro] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfa,alternative=middle] \setuphead[intro][number=no] \setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}] \definecombinedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________________________ _______ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________