From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44619 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: t-vim problem Date: Tue, 7 Oct 2008 13:36:16 -0400 (EDT) Message-ID: References: <72c60e910810070144p3fe307d2se0588edf6f63a841@mail.gmail.com> 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 1223401569 9435 80.91.229.12 (7 Oct 2008 17:46:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2008 17:46:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 07 19:47:06 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 1KnGdi-0006G7-76 for gctc-ntg-context-518@m.gmane.org; Tue, 07 Oct 2008 19:46:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16FBF1FD2A; Tue, 7 Oct 2008 19:45:24 +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 30996-02-22; Tue, 7 Oct 2008 19:44:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1113B1FD55; Tue, 7 Oct 2008 19:44:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D8661FDA2 for ; Tue, 7 Oct 2008 19:44:00 +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 30224-04-26 for ; Tue, 7 Oct 2008 19:43:22 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 9F08B1FD55 for ; Tue, 7 Oct 2008 19:36:18 +0200 (CEST) Original-Received: FROM dhcp128036150177.central.yale.edu (dhcp128036150177.central.yale.edu [128.36.150.177]) BY skycaptain.mr.itd.umich.edu ID 48EB9E11.6A7A4.1009 ; 7 Oct 2008 13:36:17 -0400 In-Reply-To: <72c60e910810070144p3fe307d2se0588edf6f63a841@mail.gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:44619 Archived-At: On Tue, 7 Oct 2008, Zhaopeng Xing wrote: > Hi Aditya, > > I am using t-vim 2008.09.15, but the following sample runs problem with the > hightlighting file name. > > \usemodule[vim] > > \starttext > > \definevimtyping [RUBY] [syntax=ruby] > > \startRUBY > > #! /usr/bin/ruby > > # This is my first ruby program > > puts "Hello World" > > \stopRUBY > > \stoptext > > > The message is saying: > > > ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'. > > > > \relax > > \dodotypevimfile ...\input #2-vimsyntax.tmp\relax > > \egroup \@@vsafter > > l.8 \stopRUBY > > Please type another input file name: I thought that I had corrected this. Are you using a recent mtxrun? Type in mtxrun --help. Does the third line say MtxRun | --execute run a script or program (--noquotes) > I checked the directory. The file should be named to > untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp. The filenaming is correct. t-vim writes a file called \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with -vimsyntax.tmp, so in effect t-vim is looking for a file called \jobname-\number-vimsyntax.tmp-vimsyntax.tmp. This slightly confusing naming scheme is so that --purge does remove all the temporary files. > Can you show me how to figure out such a problem? Thanks. Which OS are you using? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________