From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86044 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: enable kerning with discretionary hyphen Date: Tue, 21 Jan 2014 22:01:57 +0100 Message-ID: References: <52DED9C9.8000107@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1516169914==" X-Trace: ger.gmane.org 1390338118 21215 80.91.229.3 (21 Jan 2014 21:01:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2014 21:01:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 21 22:02:07 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 1W5iSU-0001pf-HB for gctc-ntg-context-518@m.gmane.org; Tue, 21 Jan 2014 22:02:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6087101EA; Tue, 21 Jan 2014 22:02:05 +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 o0+UNe04DfOz; Tue, 21 Jan 2014 22:02:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E7240101E2; Tue, 21 Jan 2014 22:02:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E7B0101E2 for ; Tue, 21 Jan 2014 22:02:02 +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 JmaSSZpH5Z2I for ; Tue, 21 Jan 2014 22:02:01 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 6A173101E1 for ; Tue, 21 Jan 2014 22:02:01 +0100 (CET) Original-Received: from mail-ee0-x230.google.com (mail-ee0-x230.google.com [IPv6:2a00:1450:4013:c00::230]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0LL20jH015949 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 21 Jan 2014 22:02:00 +0100 Original-Received: by mail-ee0-f48.google.com with SMTP id t10so4260722eei.21 for ; Tue, 21 Jan 2014 13:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type; bh=cRl1jJ6R2SCADe2+XuhmS38hjBiyMIcHNTVGVN1TsE8=; b=Xn7NsIuultQvMWXZWH1TtQsmz5tZP9WNe0U5ytyWuhVrgDOqmd15swRcaEYLx3ge9I HwMtPfv9QFL1Eo+075WQxHTF7D8DQOFCZ4JCZPDWREuAWFubYbNs3MBPt4X0pJK7alNR hItdd0W7vK6edyt8bqW7MxPSo3pfFGn7Iw8TJ6OGrpzSe7WZPEHEdJTxr/ncDfrP4Sp8 E1FZBbF1MYi3b8ExUUQnFuCeLnS8QGt8RCjW+P895y2uh/PXptC0efQvYQd+GUN+Bof1 9jnNt934tzFgcSab5LrQjW+zzuSvtuipjcutrO3QgVQ284iAUi6lnhAUVCRI8bbXBYnW 7Lmw== X-Received: by 10.14.113.199 with SMTP id a47mr26084668eeh.41.1390338120077; Tue, 21 Jan 2014 13:02:00 -0800 (PST) Original-Received: from keima.localdomain (x2f24ac7.dyn.telefonica.de. [2.242.74.199]) by mx.google.com with ESMTPSA id 4sm18926664eed.14.2014.01.21.13.01.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 13:01:59 -0800 (PST) In-Reply-To: <52DED9C9.8000107@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LgJ20Jc - e3aed84807e6 - 20140121 (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:86044 Archived-At: --===============1516169914== Content-Type: multipart/alternative; boundary="52dee045_2ae8944a_215e" --52dee045_2ae8944a_215e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You can use the =5Cfontalternative command to check for the current alter= native (upright, italic, bold etc.) of the font. =20 =5Cdef=5CTest =20 =7B=5Cprocessaction =5B=5Cfontalternative=5D =5B tf=3D>Upright, it=3D>Italic, sl=3D>Slanted, bf=3D>Bold, bi=3D>Bolditalic, bs=3D>Boldslanted, unknown=3D>Unknown fontalternative=5D=7D =20 =5Cstarttext =E2=80=9C=5CTest=E2=80=9D =7B=5Cit =E2=80=9C=5CTest=E2=80=9D=7D =7B=5Cbs = =E2=80=9C=5CTest=E2=80=9D=7D =7B=5Csc =E2=80=9C=5CTest=E2=80=9D=7D =5Cstoptext On 21.01.2014 21:34:17, Pablo Rodriguez wrote: On 01/19/= 2014 11:43 PM, Hans Hagen wrote: > On 1/19/2014 6:51 PM, Pablo Rodriguez wrote: >> =5B...=5D >> Even in the case it could work, I would like to know how I could defin= e >> commands (=5CConTeXt or =5CTeX) only referred to individual fonts. > > just use =5Cdef=5CConTeXt=7BCon=5C-TeXt=7D then or =5Cdef=5CConTeXt=7BC= on=5C-text=7D or > whatever you like ... we're not that picky about it. Many thanks for your reply, Hans. Sorry, only one more question on this topic: isn=E2=80=99t it possible to= define something such as the following pseudocode=3F if emphasis (or italics): (=5CConTeXt=7D=7Bdefinition=7D elif smallcaps: (=5CConTeXt=7D=7Bdefinition=7D else: (=5CConTeXt=7D=7Bdefinition=7D Well, I guess =CE=99=E2=80=98m that picky about it :-). Many thanks for your help, Pablo -- http://www.ousia.tk =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F If your question is of interest to others as well, please add an entry to= the Wiki=21 maillist : ntg-context=40ntg.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 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F --52dee045_2ae8944a_215e Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You can use the =5Cfontalternative command to check for the current alter= native (upright, italic, bold etc.) of the font.

= =5Cdef=5CTest
  =7B=5Cprocessaction
   = ;  =5B=5Cfontalternative=5D
=5B     tf=3D>Up= right,
           it=3D>Italic= ,
           sl=3D>Slanted,
           bf=3D>Bold,
           bi=3D>Bolditalic,
=            bs=3D>Boldslanted,
=       unknown=3D>Unknown fontalternative=5D=7D
  
=5Cstarttext
=E2=80=9C=5CTest=E2=80=9D= =7B=5Cit =E2=80=9C=5CTest=E2=80=9D=7D =7B=5Cbs =E2=80=9C=5CTest=E2=80=9D= =7D =7B=5Csc =E2=80=9C=5CTest=E2=80=9D=7D
=5Cstoptext

On 21.01.2014 21:34:17, = Pablo Rodriguez <oinos=40gmx.es> wrote:
On 01/19/2014 11:43 PM, = Hans Hagen wrote:
> On 1/19/2014 6:51 PM, Pablo Rodriguez wrote:>> =5B...=5D
>> Even in the case it could work, I would l= ike to know how I could define
>> commands (=5CConTeXt or =5CTeX= ) only referred to individual fonts.
>
> just use =5Cdef=5CC= onTeXt=7BCon=5C-TeXt=7D then or =5Cdef=5CConTeXt=7BCon=5C-text=7D or
= > whatever you like ... we're not that picky about it.

Many tha= nks for your reply, Hans.

Sorry, only one more question on this to= pic: isn=E2=80=99t it possible to define
something such as the followi= ng pseudocode=3F

if emphasis (or italics):
(=5CConTeXt=7D= =7Bdefinition=7D
elif smallcaps:
(=5CConTeXt=7D=7Bdefinition=7D=
else:
(=5CConTeXt=7D=7Bdefinition=7D

Well, I guess =CE= =99=E2=80=98m that picky about it :-).

Many thanks for your help,<= br>

Pablo
--
http://www.ousia.tk
=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
If your question is of interest to others as well, please add an entr= y to the Wiki=21

maillist : ntg-context=40ntg.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/co= ntextrev/
wiki : http://contextgarden.net
=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F
--52dee045_2ae8944a_215e-- --===============1516169914== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1516169914==--