From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87161 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Advanced ligatures Date: Tue, 29 Apr 2014 16:21:38 +0200 Message-ID: <37040.2811015539$1398781320@news.gmane.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398781320 5065 80.91.229.3 (29 Apr 2014 14:22:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2014 14:22:00 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 29 16:21: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 1Wf8ux-0007nH-SL for gctc-ntg-context-518@m.gmane.org; Tue, 29 Apr 2014 16:21:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B03B10274 for ; Tue, 29 Apr 2014 16:21:55 +0200 (CEST) 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 CXyi7bUHz76b for ; Tue, 29 Apr 2014 16:21:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A3B0F101F3 for ; Tue, 29 Apr 2014 16:21:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 294B8101E7 for ; Tue, 29 Apr 2014 16:21:48 +0200 (CEST) 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 4rmLc1EjkyKu for ; Tue, 29 Apr 2014 16:21:46 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id A963C101E1 for ; Tue, 29 Apr 2014 16:21:38 +0200 (CEST) Original-Received: from fep27.mx.upcmail.net (fep27.mx.upcmail.net [62.179.121.47]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3TEgKQi011265 for ; Tue, 29 Apr 2014 16:42:20 +0200 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep27-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140429142137.DQAW16013.viefep27-int.chello.at@edge02.upcmail.net> for ; Tue, 29 Apr 2014 16:21:37 +0200 Original-Received: from emk ([78.102.141.171]) by edge02.upcmail.net with edge id vqMc1n01z3i4rri02qMc0s; Tue, 29 Apr 2014 16:21:37 +0200 X-SourceIP: 78.102.141.171 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac9jtj0kI9BLBjDBSDGGc9LCVU3GMQ== Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=62.179.121.47; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LTOGkSi - 3236503284fb - 20140429 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:87161 Archived-At: Dear All, is there any way to switch the hlig or dlig features on? The corresponding glyphs are present in the font, but somehow ignored... \definefontfamily[palation][rm][Palatino Linotype] \definefontfeature[f:historical_ligatures][hlig=yes] \definefontfeature[f:discretionary_ligatures][dlig=yes] % custom shortcuts \define[1]\hlig{\feature[+][f:historical_ligatures]#1} \define[1]\dlig{\feature[+][f:discretionary_ligatures]#1} \starttext \setupbodyfont[palatino] ff fi fl\par {\hlig {ct sp st}}\par {\dlig {Qu}}\par \stoptext Thanks, Jan Context 2014.04.17. LuaTeX 0.79.1 ___________________________________________________________________________________ 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 ___________________________________________________________________________________