From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86052 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: enable kerning with discretionary hyphen Date: Wed, 22 Jan 2014 18:42:42 +0100 Message-ID: <52E00312.5090205@gmx.es> References: <52DED9C9.8000107@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390412571 24108 80.91.229.3 (22 Jan 2014 17:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 17:42:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 22 18:42:56 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 1W61pF-00085v-QQ for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jan 2014 18:42:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06D8B101E7; Wed, 22 Jan 2014 18:42:53 +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 qMyZBCnlrVh5; Wed, 22 Jan 2014 18:42:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 82B31101E2; Wed, 22 Jan 2014 18:42:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FC68101E2 for ; Wed, 22 Jan 2014 18:42:50 +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 6ROXweFRttfF for ; Wed, 22 Jan 2014 18:42:48 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 818F0101E1 for ; Wed, 22 Jan 2014 18:42:48 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0MHglC2004990 for ; Wed, 22 Jan 2014 18:42:47 +0100 Original-Received: from [192.168.1.33] ([88.13.154.89]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MaV3V-1Vqysh2rZB-00K9Bt for ; Wed, 22 Jan 2014 18:42:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-Provags-ID: V03:K0:/f+4FHpTLPlrmEMLTF5wORB2EDtwYNwAAXIffdeSnmBsDt9+xzM 93B/qTwx5r4HYXl516EQEH59AaJBdTa+Qcf7dw3H15tCx7qfsJVzM4nVxxmWjCtPquSSnsR YY1oa/5/VU7Nc508exmEYHdriLpV6n1ZYg0M0Z4TgzDJsimGY+E49V1x94SDW5nlczIqc/w 0uboIw5A1EOEjrwN0SSSA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.15; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NLh5GLsz - 919036bbf113 - 20140122 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:86052 Archived-At: On 01/21/2014 10:01 PM, Wolfgang Schuster wrote: > You can use the \fontalternative command to check for the current > alternative (upright, italic, bold etc.) of the font. > = > \def\Test > {\processaction > [\fontalternative] > [ tf=3D>Upright, > it=3D>Italic, > sl=3D>Slanted, > bf=3D>Bold, > bi=3D>Bolditalic, > bs=3D>Boldslanted, > unknown=3D>Unknown fontalternative]} > = > \starttext > =93\Test=94 {\it =93\Test=94} {\bs =93\Test=94} {\sc =93\Test=94} > \stoptext Many thanks for the solution and your excellent explanation, Wolfgang. This was exactly what I needed. Many thanks again, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________