Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/context/contrib/context-vim

Direc­to­ries

Name Notes
doc
tex

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (18.1k).

con­text-vim – Gen­er­ate Con­text syn­tax high­light­ing code from vim

ConTeXt has ex­cel­lent pretty print­ing ca­pa­bil­i­ties for many lan­guages. The code for pretty print­ing is writ­ten in TeX, and due to cat­code jug­gling, such ver­ba­tim type­set­ting is per­haps the trick­i­est part of TeX. This makes it dif­fi­cult for a “nor­mal” user to de­fine syn­tax high­light­ing rules for a new lan­guage. This mod­ule takes the onus of defin­ing syn­tax high­light­ing rules away from the user and uses ViM ed­i­tor to gen­er­ate the syn­tax high­light­ing. There is a helper 2con­text.vim script to do the syn­tax pars­ing in ViM.

Doc­u­men­ta­tion
Ver­sion 2012-06-09
Li­censeBSD Style Li­cense
Main­tainerMo­jca Miklavec (in­ac­tive)
Aditya Ma­ha­jan
Con­tained inTeXLive as con­text-vim
Topics macros of, or for use with, ConTeXt
run an ex­ter­nal pro­gram from within a doc­u­ment
high­light syn­tax of com­puter code, etc.
See also context-filter
Guest Book Sitemap Contact 2014-04-18 22:47 CEST