From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48570 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: font switching questions Date: Thu, 19 Mar 2009 18:50:14 +0100 Message-ID: <0B12D69F-ED5F-42C0-846A-7B51AE01ABDC@gmail.com> References: <326847810903171448l5208311do3b5d440486dd8122@mail.gmail.com> <49C023EF.9050106@wxs.nl> <326847810903180112r369058daxc1ead108ac62746a@mail.gmail.com> <49C0AF85.7040605@wxs.nl> <326847810903180826v1f8e26edva1fbf52dcaad6aab@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237485105 4372 80.91.229.12 (19 Mar 2009 17:51:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 17:51:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 19 18:53:02 2009 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 1LkMQP-0006U6-Hz for gctc-ntg-context-518@m.gmane.org; Thu, 19 Mar 2009 18:53:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D73EC1FC14; Thu, 19 Mar 2009 18:51:36 +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 28480-01; Thu, 19 Mar 2009 18:51:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1EAF1FBF9; Thu, 19 Mar 2009 18:51:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9B53E1FBF9 for ; Thu, 19 Mar 2009 18:51:03 +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 08901-05 for ; Thu, 19 Mar 2009 18:50:56 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 5F3641FBF1 for ; Thu, 19 Mar 2009 18:50:56 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2JHot8V017205 for ; Thu, 19 Mar 2009 18:50:55 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so93429fga.8 for ; Thu, 19 Mar 2009 10:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=TKgnxKt2D+DyoKEg/o6/2sKW95eLvzUCkZslBbhj6GQ=; b=YPse9SAEKeAgHhbblIoExNEY2f9T5TOVarSOClgF7F8yhy4qyCM0qiV6BOjIgVMh8j K4DRADyqwr7ntNnmHAbN2DQJHOKDlJhJN+ZpFmlxDY4IEIr0CflKic7jOor/XNmxjfuX 17rPx+NBbqEaqghvgibppq7dEVyggB4XF71ME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=X29gzCBIKi3pAj+tYtRnXVsj98U63PUbTdBSD+rheg5BBOh46ZQM/ihMJwfNum4wpX WNSInMdQooklH2sTBevM6gM5L3zPRwImQQt+po8WgGL92/HDljeLKRx2+Mh6MLwUEZxh uOCxaiMvFlMCNaZWFa88FkHXpDCHfSIhGaaX4= Original-Received: by 10.86.65.9 with SMTP id n9mr705884fga.55.1237485055463; Thu, 19 Mar 2009 10:50:55 -0700 (PDT) Original-Received: from ?10.70.1.165? ([82.113.106.144]) by mx.google.com with ESMTPS id 12sm918725fgg.2.2009.03.19.10.50.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Mar 2009 10:50:54 -0700 (PDT) In-Reply-To: <326847810903180826v1f8e26edva1fbf52dcaad6aab@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.155; 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: 196242252 - 61dbf1a1d2e8 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48570 Archived-At: Am 18.03.2009 um 16:26 schrieb Alan Stone: > On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen wrote: > (there's also Normal, Bold etc that is even more generic in the > sense that it can be sans or serif depending of the situation) Read and understand! % Typescript for Arial \starttypescript [sans] [arial] \setups [font:fallback:sans] \definefontsynonym [Sans] [ArialNormal] \definefontsynonym [SansItalic] [ArialItalic] \definefontsynonym [SansBold] [ArialBold] \definefontsynonym [SansBoldItalic] [ArialBoldItalic] \stoptypescript \starttypescript [sans] [arial] \definefontsynonym [ArialNormal] [name:arial] [features=default] \definefontsynonym [ArialItalic] [name:arialitalic] [features=default] \definefontsynonym [ArialBold] [name:arialbold] [features=default] \definefontsynonym [ArialBoldItalic] [name:arialbolditalic] [features=default] \stoptypescript \starttypescript [arial] \definetypeface [arial] [ss] [sans] [arial] [default] \stoptypescript % Load the Arial typescript for certain elements \usetypescript[sans][arial] % Load the main typescripts and set the font for the document \usetypescript[palatino] \setupbodyfont[palatino] % Define a new font for the header and set it \definefont[SectionStyle][ArialBold sa 1.5] % Symbolic name for Arial \setuphead[section][style=SectionStyle] \starttext \section{Knuth} \input Knuth \section{Zapf} \input zapf \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________