From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82318 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Automatic replacement? Date: Sat, 4 May 2013 12:20:11 +0200 Message-ID: References: <5183D5B6.8040204@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1661098590==" X-Trace: ger.gmane.org 1367662829 14832 80.91.229.3 (4 May 2013 10:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 10:20:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 04 12:20:30 2013 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 1UYZZs-00020r-OD for gctc-ntg-context-518@m.gmane.org; Sat, 04 May 2013 12:20:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF85D101E4; Sat, 4 May 2013 12:20:27 +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 7CWbhX2lDYhs; Sat, 4 May 2013 12:20:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 215F3101E5; Sat, 4 May 2013 12:20:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F652101E5 for ; Sat, 4 May 2013 12:20:24 +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 gCjacYiH+qwk for ; Sat, 4 May 2013 12:20:23 +0200 (CEST) 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 58F9F101E4 for ; Sat, 4 May 2013 12:20:23 +0200 (CEST) Original-Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r44AKCOn004683 for ; Sat, 4 May 2013 12:20:22 +0200 Original-Received: by mail-la0-f50.google.com with SMTP id fl20so2173448lab.9 for ; Sat, 04 May 2013 03:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wpwBV5gPEJjUOPmGmU/sgbSvfFSfTpiKTv8/HZIB1uo=; b=yxxvGiybSxG1dL7CWcLRfBtDUvebA3bboMu1808JJ5KG4NlyI8zr7+5jxFM5IdPpiT khhdk2h2fxzpbFxC4loFfAXRAXg15rKsXEl7Hy8n7yz/Kj0Lvm31RBb0NUGVO9ZN1FmH hQApl43jKYAFjPtR0+bWt/oH4C6K+J7QlNd+uN7+Z8PJKlzxLp0qG8yFe1HXAjR7W1/T IzfEQ/wZDC2YkqT44F+TjNNQ5mZETEQeAp3qQWujvUSQizZ2lEQF/yhRUsIhfey13YeY FlrSS2onNXWu1B8jwOijjBcCyZ7H0Cs9ot12KMFJlvn994IvfIvJ+pP/rxzLcGXQCer5 LPFQ== X-Received: by 10.152.88.2 with SMTP id bc2mr5425821lab.1.1367662811786; Sat, 04 May 2013 03:20:11 -0700 (PDT) Original-Received: by 10.114.187.69 with HTTP; Sat, 4 May 2013 03:20:11 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JvKkcaS - 5ae3490cb3f7 - 20130504 (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:82318 Archived-At: --===============1661098590== Content-Type: multipart/alternative; boundary=001a11c3670011b5ca04dbe1d060 --001a11c3670011b5ca04dbe1d060 Content-Type: text/plain; charset=UTF-8 On Fri, May 3, 2013 at 6:29 PM, Keith J. Schultz wrote: > HI Everybody, > > If I remember correctly Lua is not rl-compatible. There the below code can > not work! > > The solution from Wolfgang is ok, as I can see (I've checked with some small examples in arabic) The callback "process_input_buffer" is not enabled in MkIV (this is my second fault,could be that gsub works) which is ok because in general is better to modify the source . -- luigi --001a11c3670011b5ca04dbe1d060 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Fri, May 3, 2013 at 6:29 PM, Keith J. Schultz = <keithjschultz= @web.de> wrote:
HI Everybody,

If I remember correctly Lua is not rl-compatible. There the below code can = not work!


The solution from Wolfgang is ok, as I= can see (I've checked with=C2=A0 some small examples in arabic)
The callback "process_input_buffer" is not enabled in MkI= V (this is my second fault,could be that gsub works)
which is ok because in general is better to modify the source .<= br>


--
luigi
--001a11c3670011b5ca04dbe1d060-- --===============1661098590== 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 ___________________________________________________________________________________ --===============1661098590==--