ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Making a verbatim file for another language
Date: Mon, 25 Dec 2006 14:37:40 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.81.0612251428110.1052@nqvgln> (raw)
In-Reply-To: <6faad9f00612251012h6bced162gf38075261e9841b5@mail.gmail.com>

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

      reply	other threads:[~2006-12-25 19:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-25  9:24 cormullion
2006-12-25 10:38 ` Taco Hoekwater
2006-12-25 15:22   ` cormullion
2006-12-26 16:59   ` Henning Hraban Ramm
2006-12-26 18:47     ` Mojca Miklavec
2006-12-26 21:25       ` cormullion
2006-12-27 21:41         ` Aditya Mahajan
2006-12-28  8:15           ` cormullion
2006-12-28 17:09             ` Aditya Mahajan
2006-12-28 18:05               ` cormullion
2006-12-28 23:47                 ` Mojca Miklavec
2006-12-29  8:46                   ` cormullion
2006-12-29 13:09                     ` Mojca Miklavec
2006-12-29 15:37                       ` Aditya Mahajan
2006-12-29 15:42                       ` cormullion
2006-12-29 15:59                         ` Aditya Mahajan
2006-12-29 16:36                           ` cormullion
2006-12-29 18:39                         ` Mojca Miklavec
2006-12-30  9:22               ` Jarimatti Valkonen
2006-12-30 14:18                 ` cormullion
2006-12-30 21:24                   ` Jarimatti Valkonen
2006-12-31 11:51                     ` cormullion
2006-12-31 13:40                       ` Mojca Miklavec
2006-12-31 16:57                         ` cormullion
2006-12-25 18:12 ` Mojca Miklavec
2006-12-25 19:37   ` Aditya Mahajan [this message]

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=alpine.WNT.0.81.0612251428110.1052@nqvgln \
    --to=adityam@umich.edu \
    --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).