Monday, August 31, 2020

Re: writing documents in plain TeX, using vim

hello,

> to write documents in plain TeX (no LaTeX) with vim I am looking forward for
> plugins and helpers to do so.

vim comes with those files setting

* syntax highlighting
* format-comments
* [d
* matchit

/usr/share/vim/vim81/syntax/plaintex.vim
/usr/share/vim/vim81/ftplugin/plaintex.vim
/usr/share/vim/vim81/ftplugin/initex.vim

there is also a compiler and an indent file for tex
that can probably be used (at least as source of inspiration).

i would probably start from this and create my own ftplugin/tex.vim
with things like

set aw mp=pdftex\ %
inoremap $$ $$<esc>i

regards,
marc

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200831101018.GA8581%40prometheus.u-strasbg.fr.

No comments:

Post a Comment