From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32273 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Making a verbatim file for another language Date: Mon, 25 Dec 2006 14:37:40 -0500 (EST) Message-ID: References: <58E326FC-9E9E-487E-A9D4-2CCA840F0E4D@mac.com> <6faad9f00612251012h6bced162gf38075261e9841b5@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167075490 7702 80.91.229.10 (25 Dec 2006 19:38:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Dec 2006 19:38:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 25 20:38:09 2006 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 dough.gmane.org with esmtp (Exim 4.50) id 1Gyve7-0000pv-SG for gctc-ntg-context-518@m.gmane.org; Mon, 25 Dec 2006 20:38:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 42C94200E1; Mon, 25 Dec 2006 20:36:22 +0100 (CET) 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 04092-02; Mon, 25 Dec 2006 20:36:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 055AA200CC; Mon, 25 Dec 2006 20:36:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 503C7200CC for ; Mon, 25 Dec 2006 20:36:10 +0100 (CET) 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 03702-09-7 for ; Mon, 25 Dec 2006 20:36:04 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with SMTP id E0A1D200C6 for ; Mon, 25 Dec 2006 20:36:03 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY tombraider.mr.itd.umich.edu ID 45902885.2605A.7256 ; 25 Dec 2006 14:37:41 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00612251012h6bced162gf38075261e9841b5@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32273 Archived-At: On Mon, 25 Dec 2006, Mojca Miklavec wrote: > On 12/25/06, cormullion@mac.com wrote: > > I'm going to try to make a 'verbatim- module' (don't know what the > > right word is) for another language. I've found: > > > > /usr/local/teTeX/share/texmf.tetex/tex/context/base/verb-pl.tex > > > > and can probably have a go at making a version of this. Some > > questions occur: > > > > 1: where should i put my file? > > 2: do I have to do anything else to get Context to recognise and use it? > > > > cheers > > Unless you need that highlighting urgently, I would wait for luatex in > your case and write it in lua then (which is certainly less painful > than writing it in plain TeX). But it's up to you. I found those TeX > definitions too complicated to even try to understand, I would never > dare to try writing one by myself. Any update on 2context.vim? Then things could be as simple as \startVIMtyping[ft=mylang,colorscheme=fancy] Your code \stopVIMtyping with a external call to vim -u NONE buffer.tmp with an appropriate autocommand to set filetype, colorscheme and source 2context. Aditya