From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41240 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: mapper and xml Date: Wed, 28 May 2008 11:08:43 +0200 Message-ID: References: <483C37E1.3090609@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211966057 28719 80.91.229.12 (28 May 2008 09:14:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 09:14:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed May 28 11:14:57 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K1Hjp-0000TS-8x for gctc-ntg-context-518@m.gmane.org; Wed, 28 May 2008 11:14:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31B441FC09; Wed, 28 May 2008 11:13:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25865-01; Wed, 28 May 2008 11:13:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E0681FB74; Wed, 28 May 2008 11:09:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B7101FB7F for ; Wed, 28 May 2008 11:09:18 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22924-02-8 for ; Wed, 28 May 2008 11:08:45 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by ronja.ntg.nl (Postfix) with ESMTP id DAF751FB33 for ; Wed, 28 May 2008 11:08:44 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so2927940wfd.5 for ; Wed, 28 May 2008 02:08:43 -0700 (PDT) Original-Received: by 10.143.16.15 with SMTP id t15mr927074wfi.285.1211965723452; Wed, 28 May 2008 02:08:43 -0700 (PDT) Original-Received: by 10.142.240.15 with HTTP; Wed, 28 May 2008 02:08:43 -0700 (PDT) In-Reply-To: <483C37E1.3090609@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41240 Archived-At: > something > > \startxmlsetups mynode > \ctxlua{collectors.remapper.convert("babelgreek",[[\xmlflush{#1}]]) > \stopxmlsetups (with a final } ) ! LuaTeX error ./toks-ini.lua:291: attempt to index local 'tok' (a nil value). > but untestedand that kind of stuff is pretty low on my agenda now that > we have utf; best convert you rsource using mtxrun --script babel ok (to study mtx-babel.lua) , but I didn't want to convert my xml source for only fews chars (in the end, I will do it because it's semantically wrong) . Token remapping should be a quick way to fix this kind of problem . it works, but not under \startxmlsetups ...\stopxmlsetups -- luigi ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________