From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78603 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with ConTeXt (MkIV), Hebrew and ligatures Date: Mon, 8 Oct 2012 21:10:28 +0200 Message-ID: <251A28C0-7761-49EC-BC73-E6D7CEFA506C@gmail.com> References: <5064A89F.6030402@gmail.com> <506563FE.9040607@wxs.nl> <506635C7.1090009@gmail.com> <5066DCFD.7040106@wxs.nl> <5073209B.2000605@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: multipart/mixed; boundary="===============0075611229==" X-Trace: ger.gmane.org 1349723431 18974 80.91.229.3 (8 Oct 2012 19:10:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 19:10:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 08 21:10:37 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TLIir-0004gs-Qp for gctc-ntg-context-518@m.gmane.org; Mon, 08 Oct 2012 21:10:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D269101F2; Mon, 8 Oct 2012 21:10:31 +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 QgNiq028+Ge7; Mon, 8 Oct 2012 21:10:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 45BE7101E7; Mon, 8 Oct 2012 21:10:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13F48101E7 for ; Mon, 8 Oct 2012 21:10:28 +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 8DuF3cAThoQv for ; Mon, 8 Oct 2012 21:10:27 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 2342F101E6 for ; Mon, 8 Oct 2012 21:10:26 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q98JAQbq027404 for ; Mon, 8 Oct 2012 21:10:26 +0200 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so2247012bkc.14 for ; Mon, 08 Oct 2012 12:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to:x-mailer; bh=sCgmDrA8ShAucPHey/++ZTioC4O1/TWe0GkV9uOPjbY=; b=veTjV5TsBXJhVbRWMIVMO14lA6cR+XOKwNnuv3wZNrtyW54VqLqo3VfZTa167X2oye xgv65SGmN1oDNEz90YTUavZTjPN/yuSwB/cJl0tfz2WNM4WvHwG7X+QyeDdIUfoLYz9y gQh0niQlAzqPSurgmLufrkJNJZ4FucPIUaY1F0lD9bTeyuyX0mJ28We1NWzbLQJz1G85 PI10BIUfbdU9JPIhvVp1ng4ryCQTKUyjtv2Gr73lzlkAAD9J6lM/dBdfU3CUxlc9wmDE Vb1qdnN1uq9nE+m44X4F65RKUjahZmezxpa6iTv9YxGXH0WTw4z0VusMvGfSohXMxvR/ pnJg== Original-Received: by 10.204.4.154 with SMTP id 26mr3049996bkr.91.1349723425823; Mon, 08 Oct 2012 12:10:25 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf0e0f.pool.mediaWays.net. [77.191.14.15]) by mx.google.com with ESMTPS id ht18sm8452075bkc.14.2012.10.08.12.10.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Oct 2012 12:10:24 -0700 (PDT) In-Reply-To: <5073209B.2000605@gmail.com> X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VI8Haq1B - e78467b5a2a0 - 20121008 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:78603 Archived-At: --===============0075611229== Content-Type: multipart/alternative; boundary="Apple-Mail=_0C29622B-8DDF-453B-9A94-A51989B2B998" --Apple-Mail=_0C29622B-8DDF-453B-9A94-A51989B2B998 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 08.10.2012 um 20:51 schrieb Simo Ojala : >> On 1-10-2012 19:25, Philipp Gesang wrote: >>=20 >>>> = utilities.sequencers.disableaction(resolvers.openers.helpers.textfileactio= ns,"characters.filters.utf.collapse") >>>=20 >>> Doesn=92t work. What helps is to comment out the =93appendaction=94 = in >>> char-utf.lua or the corresponding table for U0xfb35 in >>> char-def.lua. My guess is that this is the case because the .tex >>> file is processed *before* you can disable it. >>=20 >> so we need a directive (as they can be given on the commandline) >>=20 >> local textfileactions =3D resolvers.openers.helpers.textfileactions >>=20 >> directives.register("filters.utf.collapse", function(v) >> utilities.sequencers[v and "enableaction" or >> "disableaction"](textfileactions,"characters.filters.utf.collapse") >> end) >>=20 >>=20 >>=20 >> Hans >=20 > Sorry to still bother you with this. I just could not get this = working. Hopefully it is just that I could not figure out right command = line stuff. (I tried out several different ways.) So could somebody tell = me how it should be run. >=20 > My guess is something like.. >=20 > context --directives=3Dfilters.utf.collapse=3Dwhat_should_i_put_here? = testcase.tex >=20 > Thanks, >=20 > Simo >=20 > PS: Both Context setups I tried to get this working (Ubuntu PPA and = standalone) should have had code updated. So that should have not been = the problem. Does it work when you add \enabledirectives[filters.utf.collapse] at the begin of your document. Wolfgang= --Apple-Mail=_0C29622B-8DDF-453B-9A94-A51989B2B998 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 smsojala@gmail.com>:
On 1-10-2012 19:25, Philipp Gesang = wrote:

utilities.sequencers.disableaction(resolvers.openers.helpers= .textfileactions,"characters.filters.utf.collapse")

Do= esn=92t work. What helps is to comment out the =93appendaction=94 = in
char-utf.lua or the corresponding table for U0xfb35 = in
char-def.lua. My guess is that this is the case because the = .tex
file is processed *before* you can disable = it.

so we need a directive (as they can be given on = the commandline)

local textfileactions =3D = resolvers.openers.helpers.textfileactions

directives.register("filt= ers.utf.collapse", function(v)
=     utilities.sequencers[v and "enableaction" = or
"disableaction"](textfileactions,"characters.filters.utf.collapse")<= br>end)



Hans

Sorry to still bother = you with this. I just could not get this working. Hopefully it is just = that I could not figure out right command line stuff. (I tried out = several different ways.) So could somebody tell me how it should be = run.

My guess is something like..

context = --directives=3Dfilters.utf.collapse=3Dwhat_should_i_put_here? = testcase.tex

Thanks,

Simo

PS: Both Context setups I = tried to get this working (Ubuntu PPA and standalone) should have had = code updated. So that should have not been the = problem.

Does it work when you = add

  \enabledirectives[
at the begin of your document.

Wolfgang
= --Apple-Mail=_0C29622B-8DDF-453B-9A94-A51989B2B998-- --===============0075611229== 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 ___________________________________________________________________________________ --===============0075611229==--