AZ logo

Package context-vim:
Generate Context syntax highlighting code from vim.

ConTeXt has excellent pretty printing capabilities for many languages. The code for pretty printing is written in TeX, and due to catcode juggling, such verbatim typesetting is perhaps the trickiest part of TeX. This makes it difficult for a “normal” user to define syntax highlighting rules for a new language. This module takes the onus of defining syntax highlighting rules away from the user and uses ViM editor to generate the syntax highlighting. There is a helper 2context.vim script to do the syntax parsing in ViM.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX -this package is not in MiKTeX-
TeX Live context-vim

You can also visit context-vim's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Package usage notes
Documentation off CTAN -none known-
Maintainers
Mojca Miklavec (no longer active on this package)
Aditya Mahajan
Version -not known-
License Berkeley Standard Distribution license
Related packages
context-filter:
Run external programs on the contents of a start-stop environment.
Keywords
computer code, verbatim text
Characterizations
primary:
Page-focused > Verbatim
secondary:
Subject-specific typesetting > Computer science

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.