From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85496 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Palatino patch for the current ConTeXt version Date: Wed, 27 Nov 2013 21:16:31 +0100 Message-ID: <6256.35051769695$1385583405@news.gmane.org> References: <001a01cee387$691cd370$3b567a50$@tosovsky@email.cz> <5288AC1E.6040406@wxs.nl> <008801ceeb00$db41e820$91c5b860$@tosovsky@email.cz> <5295AF37.3010906@wxs.nl> 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 1385583394 30081 80.91.229.3 (27 Nov 2013 20:16:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2013 20:16:34 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 27 21:16:41 2013 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 1VllXM-0002zu-OI for gctc-ntg-context-518@m.gmane.org; Wed, 27 Nov 2013 21:16:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E885910225; Wed, 27 Nov 2013 21:16:39 +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 RnGqTrhgQtXj; Wed, 27 Nov 2013 21:16:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0D5D3101FB; Wed, 27 Nov 2013 21:16:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DDD3101FB for ; Wed, 27 Nov 2013 21:16: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 wqnkktQfZBLi for ; Wed, 27 Nov 2013 21:16:33 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 3BA50101F6 for ; Wed, 27 Nov 2013 21:16:33 +0100 (CET) Original-Received: from fep20.mx.upcmail.net (fep20.mx.upcmail.net [62.179.121.40]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rARKGVoR032394 for ; Wed, 27 Nov 2013 21:16:32 +0100 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep20-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20131127201631.SXDG24076.viefep20-int.chello.at@edge02.upcmail.net> for ; Wed, 27 Nov 2013 21:16:31 +0100 Original-Received: from emk ([78.102.140.157]) by edge02.upcmail.net with edge id ukGX1m00G3Px8vi02kGXfp; Wed, 27 Nov 2013 21:16:31 +0100 X-SourceIP: 78.102.140.157 In-Reply-To: <5295AF37.3010906@wxs.nl> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7rTThOw80ghYuiQ1WttxA3kMzAJAAW+B0A Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.40; 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: 07KSIgvEP - 93f5c29fa45f - 20131127 (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:85496 Archived-At: On 2013-11-27 Hans Hagen wrote: > On 11/27/2013 12:40 AM, Jan Tosovsky wrote: > > On 2013-11-17 Hans Hagen wrote: > >> On 11/17/2013 12:23 PM, honyk wrote: > >>> Hello Everyone, > >>> > >>> I am trying to fix a Palatino small caps issue using the procedure > >>> explained here: > >>> http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV > >>> > >>> That fix seems to be obsolete nowadays and returning errors. > >>> > >> > >> there are several ways to apply patches runtime, see *.lfg files > >> (and also fonts-mkiv.pdf) > > > > 1) I've created a sample LFG file > > 2) placed it into the folder where other LFG files are stored > > 3) removed pala.tma and pala.tmc files from the cache > > 4) triggered the generating > > > > My pala.lfg file seems to be ignored: > > > > return { > > name = "pala", > > comment = "Switching the small capped 'i' to a dotless variant > > in Palatino Linotype.", > > remapping = { > > tounicode = true, > > unicodes = { > > ["i.sc"] = 983201, > > }, > > }, > > } > > you have to load them ... see fonts-mkiv.pdf Thanks, I got it. Two next steps are required and one turned out as redundant. 1) Create a sample LFG file 2) Place it into the folder where other LFG files are stored 3) NEW! Execute 'mtxrun --generate' command to include newly added LFG file into a file database 4) NEW! Specify a new font feature referencing to this goodie: \definefontfeature[dotlessi][mode=base,goodies=pala,unicoding=yes] \definefontfamily[mainface][rm][Palatino Linotype][features={default,quality,dotlessi}] 5) Trigger the generating It does something, but not what I need :-) My MWE: \definefontfeature[dotlessi][mode=base,goodies=pala,unicoding=yes] \definefontfamily[palatino][rm][Palatino Linotype][features={default,quality,dotlessi}] \setupbodyfont[palatino] \starttext Athenians \sc{Athenians} \stoptext This LFG core settings: unicodes = { ["a.sc"] = 97, (1) ["b.sc"] = 983261, (2) }, (1) replaces all small 'a' into small caps variants - just for testing purposes (2) doesn't replace small caps 'i' to small caps 'b', but when small caps text is selected, b is copied into the clipboard - so some replacement is performed, but incomplete. Maybe other tables need to be tweaked as well... Has anybody any experience with this? Thanks, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________