Thanks, that clears a few things up for me. I was under the impression that tex was considered a proper extension for latex files in the vim latex suite. Always nice to discover a bug to be a feature. :)
Ciao, Michael Albrecht Mühlenschulte wrote: > When opening a new Buffer named <somthing>.tex the filetype in vim is > set to "plaintex" (viewable via ":set filetype"). This filetype is not > connected with the vim-latexsuite, which is totally right, since .tex is > also the extension for plain-original-knuth-like TeX-Files (which are > not supportet by vimLaTeX-suite). > > When opening a file which is named <something>.tex the filetype is set > to "plaintex" UNLESS the file begins with "\documentclass..." which is a > strong evidence the file is a LaTeX and not a plainTeX-file. In this > case vim sets the filetype variable to "tex" (and loads vim- > latexplugin). > > Files ending to .latex are automatically identified as LaTeX-files. > > So it's not a bug, it's a feature ;). > > If you want to write a LaTeX file in a newly created buffer, just type > ":set filetype=tex" and everything is the way you want it. If you > neverever will will write a plaintex-file you may put this into your > .vimrc to override the _wise_ defaults: > > autocmd BufNewFile,Bufread *.tex set filetype=tex > > ** Changed in: vim-latexsuite (Ubuntu) > Status: Confirmed => Invalid > > -- Michael Green, PhD Computational Biology & Biological Physics Department of Theoretical Physics Lund University Sölvegatan 14A SE-223 62 Lund Sweden email: [EMAIL PROTECTED] phone: +46 (0)46 2223494 fax: +46 (0)46 2229686 www: http://cbbp.thep.lu.se/~michael Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- .tex file not associated with latexsuite by default https://bugs.launchpad.net/bugs/225943 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs