From: "Zhaopeng Xing" <zpxing@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: t-vim problem
Date: Tue, 7 Oct 2008 21:46:57 +0200 [thread overview]
Message-ID: <72c60e910810071246p63f61369y9c4631d545e49732@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0810071201390.7134@nqv-yncgbc>
[-- Attachment #1.1: Type: text/plain, Size: 2483 bytes --]
2008/10/7 Aditya Mahajan <adityam@umich.edu>
> 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'.
> >
> > <to be read again>
> >
> > \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)
>
Yes, it is. I am using the latest minimal and t-vim is installed in
texmf-local.
>
> > 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
> <filename>-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.
>
I do not know exactly the inside mechanism. When the message asked me about
the file name, I input \jobname-\number-vimsyntax.tmp and it works. So I
think that the file name should be \jobname-\number-vimsyntax.tmp.
>
> > Can you show me how to figure out such a problem? Thanks.
>
> Which OS are you using?
>
I am using Archlinux on a Thinkpad T43. The vi program works fine.
> 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
>
> ___________________________________________________________________________________
>
--
Zhaopeng XING
Tinbergen Institute
[-- Attachment #1.2: Type: text/html, Size: 4122 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-10-07 19:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 8:44 Zhaopeng Xing
2008-10-07 17:36 ` Aditya Mahajan
2008-10-07 19:46 ` Zhaopeng Xing [this message]
2008-10-07 19:54 ` Zhaopeng Xing
2008-10-07 19:57 ` Zhaopeng Xing
2008-10-07 20:12 ` Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72c60e910810071246p63f61369y9c4631d545e49732@mail.gmail.com \
--to=zpxing@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).