From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18218 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: iso latin 2 Date: Thu, 10 Feb 2005 00:33:59 +0100 Message-ID: <420A9DE7.1020102@seznam.cz> References: <420A81D5.702@seznam.cz> <20050209221843.26175@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 1107991908 4300 80.91.229.2 (9 Feb 2005 23:31:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2005 23:31:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 10 00:31:48 2005 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 1Cz1JB-0005c9-1c for gctc-ntg-context-518@m.gmane.org; Thu, 10 Feb 2005 00:31:45 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9BB76127A6; Thu, 10 Feb 2005 00:33:21 +0100 (CET) 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 23553-05; Thu, 10 Feb 2005 00:33:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4B4B12772; Thu, 10 Feb 2005 00:33:18 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A96D12772 for ; Thu, 10 Feb 2005 00:33:16 +0100 (CET) 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 23819-02-2 for ; Thu, 10 Feb 2005 00:33:15 +0100 (CET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 823281276F for ; Thu, 10 Feb 2005 00:33:15 +0100 (CET) Original-Received: (qmail 370 invoked from network); 9 Feb 2005 23:33:14 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 9 Feb 2005 23:33:14 -0000 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050209221843.26175@mail.comp.lancs.ac.uk> X-Antivirus: avast! (VPS 0505-0, 31.01.2005), Outbound message X-Antivirus-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 X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18218 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18218 Adam Lindsay wrote: > Vit Zyka said this at Wed, 9 Feb 2005 22:34:13 +0100: > >>The question is how to elegantly switch from standard (st2) tfm to >>extended (st3) tfm when the glyph is not present in st2 - with >>preserving \rm, \bf, \it, \bi. >> >>Example: {\bf Bold text with special char \textplus} where \texplus is >>bold variant from st3 encoded tfm. It is understandable? > > Interesting. There are a couple possibilities, I think. > My current favourite, \variant[something], is essentially a convention > that's built on top of the font synonym mechanism. There's an example > given at: > > ...but I haven't done a proper write-up yet. > > basically, you declare a variant set for a (Serif/Sans/Mono) family: > \definefontvariant [Serif] [exp] [-Expert] > % [fam] [call abbrev] [synonym suffix] > > And then you create font synonyms for each of the possible seven > SerifBlah-Expert fonts that would be called, e.g.: > > \definefontsynonym [SerifRegular] [AndulkaText] > \definefontsynonym [SerifRegular-Expert] [AndulkaTextExpert] > \definefontsynonym [SerifBold] [AndulkaTextBold] > \definefontsynonym [SerifBold-Expert] [AndulkaTextBoldExpert] > > Where the AndulkaText font resolves to your st2 encoding, and > AndulkaTextExpert is in your st3 encoding. (I haven't tried this trick > with different encodings, but it *should* work!) > > You can then call the proper variant with {\bf Hi there \Var[exp]+}, or > create a level of indirection with your \textplus macro so that it calls > the [exp] variant and the glyph together. > > The Storm fonts are beautiful. Sigh. Have fun with them... Thank you, Adam, for tips and explanation. Now I am a bit short of time, but after that I will have a look at it. And want introduce the Storm font support. But ... seeing Andulka, some support has already exists there, has not it? I would not like to discover wheel ;-) Vit