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.
BSD Style License
Mojca Miklavec (inactive)
|Contained in||TeX Live as context-vim|
macros of, or for use with, ConTeXt
run an external program from within a document
highlight syntax of computer code, etc.
Download the contents of this package in one zip archive (18.4k).
Maybe you are interested in the following packages as well.
- context-filter: Run external programs on the contents of a start-stop environment
- bashful: Invoke bash commands from within LaTeX
- context-taspresent: Simple presentations using ConTeXt
- context-typearea: Something like Koma-Script typearea