BSD Ports

print/tex-context-vim 2021.62071 NetBSD

Generate ConTeXt syntax highlighting code from vim

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
print
Package size
13.1 KiB, 65.6 KiB installed

Description

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.

Install

Binary package:

pkgin install tex-context-vim

From pkgsrc:

cd /usr/pkgsrc/print/tex-context-vim && make install clean

Dependencies

Run dependencies 3