From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9506 Path: main.gmane.org!not-for-mail From: Michel Bovani Newsgroups: gmane.comp.tex.context Subject: Adding font commands Date: Sat, 12 Oct 2002 19:37:05 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399821 3584 80.91.224.250 (23 Oct 2002 19:03:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:03:41 +0000 (UTC) Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9CHaee24023 for ; Sat, 12 Oct 2002 19:36:40 +0200 (MEST) Original-Received: from smail.let.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Sat, 12 Oct 2002 19:36:28 +0200 Original-Received: by smail.let.uu.nl (8.9.3/8.9.3/JEvW) id TAA11917 for ntg-context-list; Sat, 12 Oct 2002 19:34:20 +0200 (MET DST) X-Authentication-Warning: smail.let.uu.nl: majordom set sender to owner-ntg-context@let.uu.nl using -f Original-Received: from ref.ntg.nl (ref.vet.uu.nl [131.211.172.13]) by smail.let.uu.nl (8.9.3/8.9.3/JEvW) with ESMTP id TAA11912 for ; Sat, 12 Oct 2002 19:34:17 +0200 (MET DST) Original-Received: by ref.ntg.nl (Postfix) id C6EEE10AD3; Sat, 12 Oct 2002 19:34:16 +0200 (MEST) Original-Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by ref.ntg.nl (Postfix) with ESMTP id 8A83D10AC2 for ; Sat, 12 Oct 2002 19:34:16 +0200 (MEST) Original-Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto2.wanadoo.fr (6.5.007) id 3DA24CF60031EF0D for ntg-context@ntg.nl; Sat, 12 Oct 2002 19:34:11 +0200 Original-Received: from [80.8.8.116] (80.8.8.116) by mel-rta7.wanadoo.fr (6.5.007) id 3DA24BE600304289 for ntg-context@ntg.nl; Sat, 12 Oct 2002 19:34:11 +0200 User-Agent: Microsoft-Entourage/10.1.0.2006 Original-To: NTG ConTeXt Precedence: bulk Xref: main.gmane.org gmane.comp.tex.context:9506 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9506 I have added some fonts commands because I want to be able to use semi-bold, extra-bold and a variant of the text font with old style digits. Is there a standard way for that in context ? I used \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [rm] [ tf=Serif sa 1, ... db=SerifSemiBold sa 1, dba=SerifSemiBold sa a,dbb=SerifSemiBold sa b, dbc=SerifSemiBold sa c,dbd=SerifSemiBold sa d, dbx=SerifSemiBold sa x,dbxx=SerifSemiBold sa xx, di=SerifSemiItalic sa 1, dia=SerifSemiItalic sa a,dib=SerifSemiItalic sa b, dic=SerifSemiItalic sa c,did=SerifSemiItalic sa d, dix=SerifSemiItalic sa x,dixx=SerifSemiItalic sa xx, ds=SerifSemiSlanted sa 1, dsa=SerifSemiSlanted sa a,dsb=SerifSemiSlanted sa b, dsc=SerifSemiSlanted sa c,dsd=SerifSemiSlanted sa d, dsx=SerifSemiSlanted sa x,dsxx=SerifSemiSlanted sa xx, dc=SerifSemiCaps sa 1, dca=SerifSemiCaps sa a,dcb=SerifSemiCaps sa b, dcc=SerifSemiCaps sa c,dcd=SerifSemiCaps sa d, dcx=SerifSemiCaps sa x,dcxx=SerifSemiCaps sa xx, ... ebf=SerifBlack sa 1, ebfa=SerifBlack sa a,ebfb=SerifBlack sa b, ebfc=SerifBlack sa c,ebfd=SerifBlack sa d, ebfx=SerifBlack sa x,ebfxx=SerifBlack sa xx, ebs=SerifBlackSlanted sa 1, ebsa=SerifBlackSlanted sa a,ebsb=SerifBlackSlanted sa b, ebsc=SerifBlackSlanted sa c,ebsd=SerifBlackSlanted sa d, ebsx=SerifBlackSlanted sa x,ebsxx=SerifBlackSlanted sa xx ] and for the old-style variant \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [ro] [ tf=Serif-OldStyle sa 1, it=SerifItalic-OldStyle sa 1, sl=SerifSlanted-OldStyle sa 1, sc=SerifCaps-OldStyle sa 1, db=SerifSemiBold-OldStyle sa 1, ... ] are commands like \db \di \ds \ebf \ebs and \ro convenient in terms of ConTeXt interface ? Of course I use \definefontsynonym to map things like SerifItalic-OldStyle to a real tfm font. -- Michel Bovani