From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111342 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Ligatures blocking -- why block unspecified ligatures? Date: Wed, 12 May 2021 09:22:33 +0000 Message-ID: <4fb6e0dde17a4f9eb8fff7578224ce7c@ub.unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2630711772086073240==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13950"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: ntg-context-bounces@ntg.nl Wed May 12 11:23:12 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgl5C-0003QV-9P for gctc-ntg-context-518@m.gmane-mx.org; Wed, 12 May 2021 11:23:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 468E328037F; Wed, 12 May 2021 11:22:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cIJ74DeOmcbK; Wed, 12 May 2021 11:22:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4297B280384; Wed, 12 May 2021 11:22:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5B79528037C for ; Wed, 12 May 2021 11:22:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PA0GGB_sB1Ic for ; Wed, 12 May 2021 11:22:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.82; helo=mailhub-lb1.unibe.ch; envelope-from=denis.maier@ub.unibe.ch; receiver= Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch [130.92.0.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id ABE29280372 for ; Wed, 12 May 2021 11:22:35 +0200 (CEST) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id 3D8805000DE for ; Wed, 12 May 2021 11:22:34 +0200 (CEST) Thread-Topic: Ligatures blocking -- why block unspecified ligatures? Thread-Index: AddHEBCV5oaULziISFmL4Y2fLTJ6Qg== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:111342 Archived-At: --===============2630711772086073240== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_4fb6e0dde17a4f9eb8fff7578224ce7cubunibech_" --_000_4fb6e0dde17a4f9eb8fff7578224ce7cubunibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I just ran into an issue with the \blockligatures mechanism. For some reaso= n, the following examples replaces ffi with f|fi and ffl with f|fl although= I have not specified them in \blockligatures: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D \definefontfeature[default][default][dlig=3Dyes,liga=3Dyes] \definefontfeature[default:block][default][blockligatures=3Dyes] % block certain ligatures globally, but not f|fl, f|fi \blockligatures [ft,fft,fj,ffj,fk] \definefontfamily[times][rm][Times New Roman] \startbuffer[test] fj\\ ffi\\ ffl\\ ff\\ fi \stopbuffer \starttext \getbuffer[test] \definedfont[Serif*default:block] \getbuffer[test] \switchtobodyfont[times] \getbuffer[test] % With Times New Roman, we can even see the bars in the output \definedfont[Serif*default:block] \getbuffer[test] \stoptext =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D What am I missing? (I am trying to block certain ligatures globally, ie. ft,fft,fj,ffj,fk, but= fi, ffi, fl, fll are being dealt with in the language goodies file.) Thanks for your help, Denis --_000_4fb6e0dde17a4f9eb8fff7578224ce7cubunibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I just ran into an issue with the \blockligatures me= chanism. For some reason, the following examples replaces ffi with f|fi and= ffl with f|fl although I have not specified them in \blockligatures:<= /o:p>

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

\definefontfeature[default][default][dlig=3Dyes,liga= =3Dyes]

\definefontfeature[default:block][default][blockliga= tures=3Dyes]

 

% block certain ligatures globa= lly, but not f|fl, f|fi

\blockligatures [ft,fft,fj,ffj,= fk]

 

\definefontfamily[times][rm][Ti= mes New Roman]

 

\startbuffer[test]

fj\\

ffi\\

ffl\\

ff\\

fi

\stopbuffer

 

\starttext

 

\getbuffer[test]

 

\definedfont[Serif*default:block]

\getbuffer[test]

 

\switchtobodyfont[times]

\getbuffer[test]

 

% With Times New Roman, we can even see the bars in = the output

\definedfont[Serif*default:block]

\getbuffer[test]

 

\stoptext

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

What am I missing?

 

(I am trying to block certain ligatures globally, ie= . ft,fft,fj,ffj,fk, but fi, ffi, fl, fll are being dealt with in the langua= ge goodies file.)

 

Thanks for your help,

Denis

--_000_4fb6e0dde17a4f9eb8fff7578224ce7cubunibech_-- --===============2630711772086073240== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2630711772086073240==--