[Vim-latex-devel] Fwd: RFC: filetypes for TeX, LaTeX, ConTeXT (others?)
Brought to you by:
srinathava,
tmaas
From: Aditya M. <ad...@um...> - 2006-03-02 18:53:41
|
The following is a post from Benji Fisher to vim mailing list. Users in this list will be interetested in the discussion. How about making latex-suite the 'default' ftplugin for latex. So that it ships with vim. link:http://article.gmane.org/gmane.editors.vim/40018 --------- begin forwared message --------------- Vim Users and Developers: Up to vim 6.x, all TeX variants were given filetype tex . The syntax file was aimed at LaTeX, and the ftplugin made some attempt to accommodate both plain TeX and LaTeX. Under development, vim 7.0 includes syntax and ftplugin files for ConTeXt, with file type context. I think it is time to have separate file types for plain TeX and LaTeX, and would like input from all interested users. 1. Are there other TeX variants (a.k.a. formats or flavors) that should also be supported? 2. What file types should we use for plain TeX and LaTeX: (a) tex for plain TeX and latex for LaTeX (b) plaintex for plain TeX and tex for LaTeX (c) other suggestions? The argument for 2(a) is that it is more logical. The argument for 2(b) is that it is more backwards compatible. That is, I think there are a lot more users who use LaTeX and would have to make adjustments if we changed their file types to latex than there are users of plain TeX who would be bothered if they had to change to plaintex. Correct me if I am wrong: I think there are not many scripts out there that --Benji Fisher P.S. I maintain $VIMRUNTIME/ftplugin/tex.vim . -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 |