From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20050 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: proposed convention for variation switching [wasRE:inheriting ... Date: Fri, 22 Apr 2005 10:16:47 +0200 Message-ID: <4268B2EF.2070007@wxs.nl> References: <4275956D@webmail.colostate.edu> <20050421205604.33@mail.comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114172715 8944 80.91.229.2 (22 Apr 2005 12:25:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 12:25:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 22 14:25:11 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOxD7-0003wO-AD for gctc-ntg-context-518@m.gmane.org; Fri, 22 Apr 2005 14:24:41 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D98BF127CE; Fri, 22 Apr 2005 14:29:18 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11469-05; Fri, 22 Apr 2005 14:29:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0BFB127A6; Fri, 22 Apr 2005 10:16:38 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D2CFD127A6 for ; Fri, 22 Apr 2005 10:16:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08965-10 for ; Fri, 22 Apr 2005 10:16:35 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id BABBD12772 for ; Fri, 22 Apr 2005 10:16:35 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j3M8GXh5010316 for ; Fri, 22 Apr 2005 10:16:33 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id F3637241D1; Fri, 22 Apr 2005 09:54:10 +0200 (CEST) Original-Received: from [10.100.1.54] (unknown [10.100.1.54]) by server-1.pragma-net.nl (Postfix) with ESMTP id DE028239FD for ; Fri, 22 Apr 2005 07:54:08 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050421205604.33@mail.comp.lancs.ac.uk> X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20050 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20050 Adam Lindsay wrote: > Hi Idris, > > I've brought the subject up repeatedly on the list, and got not a lot of > response. I have to think that 1) people are happy with the standard 7 > font styles, 2) people have their own hand-rolled solution (like > yourself, myself or Vit--see his Storm fonts support for some nice > ideas), or 3) as Hans keeps bringing up, there are other ways around it. > (Layered definitions, etc., which I'm coming around to think is a better > discipline with markup.) > > I'd say take a look at Vit's and my typescripts (I don't directly address > semibold, because semibold markup in running text doesn't usually work): > > > > The antykwa-torunska typescripts in the main distro also point at ways of > accessing smallcaps and semibold via \Var[] variants from the main seven > styles: > > > It's not that I'm trying to rain on your parade, it's just that I've lost > a bit of enthusiasm for standardisation. the problem is that we have to deal with old methods as well as new ones; there is also a speed issue involved. one of the handicaps is that we need to deal with math; on the other hand, in a mathless usage, a different font scheme is possible [we can even implement a new one] > Idris Samawi Hamid said this at Thu, 21 Apr 2005 12:36:55 -0600: > > >>My suggestion: Either >>a) the \*a(b)(c) etc mechanism needs modification to accomodate >2-char >>switches, or >>b) an official 2-char switching convention for dealing with semibold and the >>standard five variants of small caps in ConTeXt is needed. Ideally users >>should not have to define switches for these standard variants anyway. >> >>Here is an idea (further discussion needed): >> >>a) Let's assume no change to the ConTeXt internals to accomodate >2-char >>switches. the a/b/c/d are something from the past; since typefaces switch pretty quick, one can also switch the bodyfontsize (i can imagine something \sizea \sizeb ...) thinking of it, it may be an option if i look into an alternative implementation with (for backwar dcompatibility) \def\tfa{\sizea\tf} like definitions with \sizea being a bodyfont switch to a larger size (one problem is that in that cas ethe baseline distance would also be influences, so it may not be good idea after all) >>b) There are twelve basic style variants in a professional modern serif font >>(math, greek, etc excluded): six for lower case and six for small caps. >> >>On this basis, here is my suggestion for an official ConTeXt convention for >>professional fonts: >> >>%% lowercase >>% medium \tf >>% semibold \sb >>% bold \bf >>% italic \it >>% semibold italic \st >>% bold italic \bi >> >>%% small caps >>% medium \TF >>% semibold \SB >>% bold \BF >>% italic \IT >>% semibold italic \ST >>% bold italic \BI the main problem here is this math family business so some choices need to be made (math does not mix well with text anyway) i'm not that much in favour of capitalized named (clashes with user commands as well as some internals), so \scbf is more likely also, whatever system we cook up ... there are so many bold variants nowadays in some fonts ... in practice one will not mix semi bold and bold in a running text, so again, this can be done by typefaces as well: \definetypeface[normalface] [...] \definetypeface[bolderface] [...] \definetypeface[cappedface] [...] and in places where this special bolder face is used, just switch to \bolderface >>The small caps versions are identical to the lowercase versions, with the >>difference that the small caps versions use caps. This serves as a mnemonic >>device. >> >>We also need some long-winded control sequences: >> >> \definestyle [semiboldroman,semibold] [\sb][] >> \definestyle [semibolditalic] [\st][] >> \definestyle [smallcapssemibold,semiboldsmallcaps] [\SB][] >> \definestyle [smallcapsbold,boldsmallcaps] [\BF][] >> \definestyle [smallcapsitalic,italicsmallcaps] [\IT][] >> \definestyle [smallcapssemibolditalic,semibolditalicsmallcaps][\ST][] >> \definestyle [smallcapsbolditalic,bolditalicsmallcaps] [\BI][] >> >>An identical or similar analysis may work for sans-serif, but I have to >>check... before i do something with this i need to think it over; (and look at the storm definitions and adamns stuff more closely; keep in mind that with xetex and open type being around we may need even more features) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------