From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86102 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: definefontfamily options for caps and capsbold fonts Date: Sun, 26 Jan 2014 22:54:22 +0100 Message-ID: <6709D282-0677-45D6-A799-E322F9297285@gmail.com> References: <52E443BE.8090901@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390773269 4019 80.91.229.3 (26 Jan 2014 21:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 21:54:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 26 22:54:38 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7Xf1-0004vX-Fd for gctc-ntg-context-518@m.gmane.org; Sun, 26 Jan 2014 22:54:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0659101EB; Sun, 26 Jan 2014 22:54:34 +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 CbBREBxcOKhQ; Sun, 26 Jan 2014 22:54:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5873E101E6; Sun, 26 Jan 2014 22:54:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B985F101E1 for ; Sun, 26 Jan 2014 22:54:31 +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 v8-r1+XocMit for ; Sun, 26 Jan 2014 22:54:27 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 11DF4101E6 for ; Sun, 26 Jan 2014 22:54:26 +0100 (CET) Original-Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0QLsPMM008104 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 26 Jan 2014 22:54:26 +0100 Original-Received: by mail-bk0-f53.google.com with SMTP id my13so2452173bkb.12 for ; Sun, 26 Jan 2014 13:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=jc2EPR4NNjPthy5jBFmxWTqlSfgTD1b0WeukyeKtn6o=; b=NMRAw5aVDvYE1OWjuEyHD3k67PkkLrG+bVhz1qPBKgo+q5mA9oY+szHmb2QPMaEvh3 uvVm8bSiQ48RwNc7UytGf9WM0jswiOVjK0FwzSNW/E8qEyfPNKkbztYV56a8qLlZHasM fBXC2V5N0ouRzcWpnE0eLBMcalqfAiXU+81HtToeIec1olUACUvZHh+3Ib6QsvOZyI5r QZiH+eefgCYBk0D3QfYeoKZxUE7HomkWGATYEV/D7myOeRMczCxW28d/L7Y3otMylJx+ zVxUbjX8pUEZcL8GZPOvdaShbDmYeX8elN0cI9Y+wOTwadpX9SPlt/HDSutE2bqtmPl+ 8sGA== X-Received: by 10.204.177.200 with SMTP id bj8mr17541984bkb.49.1390773265724; Sun, 26 Jan 2014 13:54:25 -0800 (PST) Original-Received: from keima.localdomain (x2f21e47.dyn.telefonica.de. [2.242.30.71]) by mx.google.com with ESMTPSA id lr9sm11225910bkb.2.2014.01.26.13.54.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jan 2014 13:54:24 -0800 (PST) In-Reply-To: <52E443BE.8090901@gmx.es> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RLiJSqv5 - 4ab5385aa18a - 20140126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86102 Archived-At: Am 26.01.2014 um 00:07 schrieb Pablo Rodriguez : > Hi Wolfgang, > = > with the new simplefonts interface I have two options that used to work > with the old interface, but that don=92t work now. > = > Here is the command: > = > \definefontfamily[mainface][mono][ryt1xtt][capsfont=3Dryt1xttsc, > boldfont=3Dryt1xbtt, capsboldfont=3Dryt1xttsc] > = > I get mono the bold font, but I cannot get mono small caps or mono bold > small caps. You can set the smallcaps font with the =93smallcapsfont=94 key but I sugge= st to use the new keys instead because the old ones will disappear at one poin= t. \definefontfamily[=85][=85][=85][bf=3Dfile:ryt1xbtt,sc=3Dfile:ryt1xttsc] The bold caps font you want to use is not possible with the \definefontfami= ly command because context doesn=92t provide a command to use it by default. > Is alternative=3Dsimplefonts the right way to make them work? (They work > fine with this option, but I have the impression of using old code.) The simplefonts alternative works better when you have the small caps in a separate file (I will look if I can do something for the default alter= native to support this there as well) but I won=92t use it because the algorithm can fail in some cases. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________