gnu: Add texlive-context-vim.

* gnu/packages/tex.scm (texlive-context-vim): New variable.
This commit is contained in:
Nicolas Goaziou 2023-06-18 18:43:31 +02:00
parent 005b3bf3cd
commit c124a4bbc9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10627,6 +10627,32 @@ (define-public texlive-context-typescripts
a @file{.mkii} and a @file{.mkiv} version.")
(license license:gpl2)))
(define-public texlive-context-vim
(package
(name "texlive-context-vim")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/context/third/vim/"
"tex/context/third/vim/")
(base32
"03cwdqkrx6bgcikmyxrwkyac3jmz7i50cavgb6r8b26zrsm522ca")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(propagated-inputs (list texlive-context texlive-context-filter))
(home-page "https://ctan.org/pkg/context-vim")
(synopsis "Generate ConTeXt syntax highlighting code from Vim")
(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 @file{2context.vim} script to do the syntax parsing in
Vim.")
(license license:bsd-2)))
(define-public texlive-beamer
(package
(name "texlive-beamer")