From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65999 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Using fonts from multiple families Date: Sun, 13 Feb 2011 10:59:09 +0100 Message-ID: <2D452874-5AEF-4DCC-9B6D-D02E50D0D25C@gmail.com> References: <015101cbcad8$07616080$16242180$@com> <015e01cbcb2f$7f820540$7e860fc0$@com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297591205 747 80.91.229.12 (13 Feb 2011 10:00:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 10:00:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 11:00:00 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 1PoYkK-0007G4-Kz for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2011 11:00:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0EFD3CA952; Sun, 13 Feb 2011 11:00:00 +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 sgxzuGiMxe6A; Sun, 13 Feb 2011 10:59:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3AEECA94E; Sun, 13 Feb 2011 10:59:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1243ACA94E for ; Sun, 13 Feb 2011 10:59: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 AT9EDydb8OVr for ; Sun, 13 Feb 2011 10:59:21 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 0A924CA933 for ; Sun, 13 Feb 2011 10:59:21 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1D9xDmo030240 for ; Sun, 13 Feb 2011 10:59:20 +0100 Original-Received: by bwz16 with SMTP id 16so4978820bwz.14 for ; Sun, 13 Feb 2011 01:59:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=8BOGwH1O5J0yjJwif7CAKXNMqh+iBrGGPeVk4gEjK0I=; b=Ipxy4a5RzIP+bh3QMe6+BmZs3MR6BNdlGgj/3wpJfU8AYA47z5nzlJ3Umyqdydpgyo 2PQSKtw/a7fYWdifwtRsNXyYdQhnLJQfPhEWbEHg0ZQQObwOwIxy2R8Pe6Ni4j53TrTa BDeNkne2SKci+4xr+fX8G202arYXmYCo1WYXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=CL/DwuwXIPMS1X1cx+mZP16u+RLv9eTacJMcmMWBpNmE0z0WaE+jUkGvfvcJ+auDCe FHHq5qSO8hETJOTrmzu/YT3kEyDnqti4ie6DEeDPa+m0IX40XcHEUt5cM1Z5iUR+Bjvf 6xYyshcQkpBFBQ+GSFT9AVNQ1q8019WeMjzkE= Original-Received: by 10.204.60.195 with SMTP id q3mr1308660bkh.188.1297591153140; Sun, 13 Feb 2011 01:59:13 -0800 (PST) Original-Received: from [192.168.2.29] (p5B29707A.dip.t-dialin.net [91.41.112.122]) by mx.google.com with ESMTPS id 12sm893270bki.7.2011.02.13.01.59.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Feb 2011 01:59:12 -0800 (PST) In-Reply-To: <015e01cbcb2f$7f820540$7e860fc0$@com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04E7lXd38 - f3df14512738 - 20110213 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:65999 Archived-At: 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 ___________________________________________________________________________________