From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57220 Path: news.gmane.org!not-for-mail From: Michael Saunders Newsgroups: gmane.comp.tex.context Subject: Re: ntg-context Digest, Vol 69, Issue 95 Date: Thu, 18 Mar 2010 06:00:13 -0500 Message-ID: <54d7f5601003180400o2ea155a7j6aa3d7ada27d61fa@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268910375 6586 80.91.229.12 (18 Mar 2010 11:06:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 11:06:15 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 18 12:06:09 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDXL-0002aZ-7D for gctc-ntg-context-518@m.gmane.org; Thu, 18 Mar 2010 12:05:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 232B8C9DA6; Thu, 18 Mar 2010 12:05:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bjsft+Wyxtd3; Thu, 18 Mar 2010 12:04:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21B17C9D85; Thu, 18 Mar 2010 12:01:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0ABA0C9D85 for ; Thu, 18 Mar 2010 12:01:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mrF87WSZh5LZ for ; Thu, 18 Mar 2010 12:01:20 +0100 (CET) Original-Received: from mail-px0-f184.google.com (mail-px0-f184.google.com [209.85.216.184]) by balder.ntg.nl (Postfix) with ESMTP id 890B4C9D8F for ; Thu, 18 Mar 2010 12:00:17 +0100 (CET) Original-Received: by pxi14 with SMTP id 14so1459077pxi.15 for ; Thu, 18 Mar 2010 04:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LQcOHUDj/TuQTCyG+aaomCnZyhpji6dtzJvWuJ+eqbM=; b=cFmUSs5VR6RAbmo/Fe25tBiN05QNwocXXAs+mXdlBlrtf5foT9G8tIIQnIxXA3A7XT tWblzjYR1OUvaVPAU6itUPIAqpiVXY12lbmNfqu9iAYrLfzmVG0ZBvTF28sF0BC1tvLp lnMb3SyXvSgUHTr+WSUq92SSzVbgajXR/cLrk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IX66hAa8hTMd22HRU7vKfvBrTdodSGJhZ+UwSXLJg1jDuTJzLQ6PFUPz3kRACIEKJl tF/AW+vfD/ocd/r8xvjIEHEfCRN7116fFR2vuUDWj3qMWwPGR3m65ebC+kvxs4Cl9cka kYlLfzLa4oZae0PMnr2CFU+6ww7Cjf3NkoPMk= Original-Received: by 10.142.75.20 with SMTP id x20mr1208841wfa.114.1268910013981; Thu, 18 Mar 2010 04:00:13 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:57220 Archived-At: Wolfgang Schuster: > \setupbodyfont[pagella] > > \definefontfeature[smcp][smcp=yes] > \definefontfeature[frac][frac=yes] > > \setuphead[chapter][textstyle=\addfs{frac}\addfs{smcp}] ... This is just an example, but what I think you mean to say by it is that the new command \addfs{} has the behavior I describe, but only for otf features and not for things like switching to semibold or to condensed (and, presumably, even if I'm able to define my own commands for things like semibold, something like: \sb ABC \it DEF would set the DEF at regular weight). Since I've never seen anyone talk about \addfs{}, but only give examples, I'm guessing (but just guessing) that there exists somewhere a list of what otf features are active at any given point, and that this command can add to that list. That's great. I might not need it anytime soon, but I'm just curious---are there other commands of this kind? Maybe something to clear the list? That leaves me the problem of installing sets with more than two weights, more than one width and several design sizes, as we spoke about earlier. It's late in the day here, but I hope to try that out tomorrow. Just to make sure I understand the example you and Mojca gave me: > \definebodyfont [default] [rm] > [tf=Serif sa 1, > bf=SerifBold sa 1, > it=SerifItalic sa 1, > sl=SerifSlanted sa 1, > bi=SerifBoldItalic sa 1, > bs=SerifBoldSlanted sa 1, > sc=SerifCaps sa 1] > > You could add your > in=SerifYourFontVariantName sa 1, > bd=SerifYourOtherFontVariantName sa 1, I think I can add this block to the top of my own typescript, duplicate the existing definitions as shown, and, when making up my own, I think I'm free to define font switches with more than two characters, so, e.g.: sbexit=SansSemiboldExtendedItalic sa 1 so, I won't be able to switch variants of this kind independently, but at least I can get them installed. After that, I'll move on to the optical examples and see what I can do about that (I'm hoping they provide for automatic switching of design size). Thank you, -- m ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________