ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: filter and/or vim module in current beta
Date: Sat, 27 Aug 2011 09:52:28 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1108270908200.1821@nqv-gnoyrg.tngrjnl.2jver.arg> (raw)
In-Reply-To: <4E59F308.5010403@gmx.de>

On Sun, 28 Aug 2011, Andreas Schneider wrote:

> On 27.08.2011 09:02, Aditya Mahajan wrote:
>> Fixed. Download t-vim and t-syntax-highlight from the dev branch at github.
>> 
>> https://github.com/adityam/filter/tree/dev
>> 
>> I'll upload a new version later.
>
> Thanks! The vimout file is now created and seems to be correct. There are 
> still some problems, though:
>
> Currently, pscolor doesn't seem to work as color scheme which renders a 
> default vimtyping environment (like my initial example) unhighlighted. Using 
> blackandwhite works.

Fixed. Again, was due to the change in the namespace handler. For a 
working version, you will need to download all the t-*.tex files from the 
dev branch at github.

> Here I noticed a second problem. A change to the to-be-highlighted buffer as 
> well as some options (like said "alternative") isn't processed at all.

The change in alternative is handled at the tex level, so there is no need 
to rerun vim

> I have 
> to manually delete the vimout, tmp and md5 files first before I actually see 
> the change.

You can also use --mode=force to force a rerun.

> Also it seems, that tabs are killed. If I manually replace them with spaces, 
> it works.

Tabs are converted to spaces at TeX level: tab=4 gives four spaces, tab=8 
gives eight spaces. However, there was a bug due to which the spaces at 
the beginning of the line were eaten. Fixed now.

> Empty lines also seem to be removed, however that appears to be a 
> feature - not sure.

No, it was a bug. Also fixed.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-08-27 13:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 18:26 Andreas Schneider
2011-08-26 19:33 ` Aditya Mahajan
2011-08-27  1:40   ` Andreas Schneider
2011-08-27  5:54     ` Aditya Mahajan
2011-08-27  7:02       ` Aditya Mahajan
2011-08-28  7:49         ` Andreas Schneider
2011-08-27 13:52           ` Aditya Mahajan [this message]
2011-08-28 13:43             ` Andreas Schneider
2011-08-28 19:58               ` Aditya Mahajan
2011-08-29  5:37                 ` Mojca Miklavec
2011-08-29 15:19                   ` Aditya Mahajan
2011-08-29 16:18                 ` Andreas Schneider

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.LNX.2.02.1108270908200.1821@nqv-gnoyrg.tngrjnl.2jver.arg \
    --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).