From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15310 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: \=i Date: Wed, 2 Jun 2004 20:45:21 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20040602204521.19379@smtp.btinternet.com> References: <6.1.1.1.2.20040601205229.07dab140@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1086205866 20303 80.91.224.253 (2 Jun 2004 19:51:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2004 19:51:06 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Jun 02 21:50:52 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVblE-0003xq-00 for ; Wed, 02 Jun 2004 21:50:52 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E9D8C10B6D; Wed, 2 Jun 2004 21:45:54 +0200 (MEST) Original-Received: from smtp801.mail.ukl.yahoo.com (smtp801.mail.ukl.yahoo.com [217.12.12.138]) by ref.ntg.nl (Postfix) with SMTP id C000810AF2 for ; Wed, 2 Jun 2004 21:43:19 +0200 (MEST) Original-Received: from unknown (HELO ?213.122.199.55?) (pragma@wxs.nl@213.122.199.55 with poptime) by smtp801.mail.ukl.yahoo.com with SMTP; 2 Jun 2004 19:48:02 -0000 Original-To: , "Hans Hagen" In-Reply-To: <6.1.1.1.2.20040601205229.07dab140@server-1> X-Mailer: CTM PowerMail version 5.0 English Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15310 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15310 Hans Hagen said this at Tue, 1 Jun 2004 21:04:49 +0200: > >take a look at font-ini and search for the definition of \em; but since you >suffered already a lot: Hey Hans, I like this one a lot. It's more of what I imaged when you mentioned "fonts" and "parameters". (But I managed something interesting there... need to write it up.) I'd prefer (at least a variant) that does it based on fontstyle as well: \unprotect \definesystemvariable{sx} \def\definestylecollection {\dotripleargument\dodefinestylecollection} \def\dodefinestylecollection[#1][#2][#3][#4]% {\unexpanded\setvalue{#1}{\styleinstance[#1]}% \setvalue{\??sx#1:#2:#3}{#4}} \unexpanded\def\styleinstance[#1]% {\executeifdefined{\??sx#1:\fontstyle:\fontalternative}{\getvalue{\? ?sx#1:\fontstyle:\s!default}}} \protect \definestylecollection[caps][ss][default][\sc] \definestylecollection[caps][ss][bf][\bc] \definestylecollection[caps][ss][bi][\bc] \definestylecollection[caps][ss][bs][\bc] >let me know if this works ok, maybe i can add it to the kernel then Works fine here. So. Now that we can parameterise font alternatives much more easily, can there be some sort of agreement on other, expanded names for font alternatives that go beyond the ones that cmr offers? I'm currently playing with these names (some grabbed from Hans's draft of Utopia support in type-siz). Do any of them look grossly wrong? \definebodyfont [default] [rm] [tf=Serif sa 1, it=SerifItalic sa 1, sl=SerifSlanted sa 1, sc=SerifCaps sa 1, % iy=SerifItalicCaps sa 1, % ?? bf=SerifBold sa 1, bi=SerifBoldItalic sa 1, bs=SerifBoldSlanted sa 1, bc=SerifBoldCaps sa 1, % by=SerifBoldItalicCaps sa 1, % ?? db=SerifSemi sa 1, di=SerifSemiItalic sa 1, ds=SerifSemiSlanted sa 1, dc=SerifSemiCaps sa 1, % dy=SerifSemiItalicCaps sa 1, % ?? eb=SerifBlack sa 1, ei=SerifBlackItalic sa 1, es=SerifBlackSlanted sa 1, ec=SerifBlackCaps sa 1, % ey=SerifBlackItalicCaps sa 1, % ?? lf=SerifLight sa 1, li=SerifLightItalic sa 1, ls=SerifLightSlanted sa 1, lc=SerifLightCaps sa 1, % ly=SerifLightItalicCaps sa 1 % ?? ] -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-