skip to main | skip to sidebar

XeTeX and LaTeX

Beginner’s XeTeX/LaTeX troubles

Thursday, April 10, 2008

Filetype recognition in Vim

If your LaTeX suite does not want to load when you create a new.tex file, it is probably due to the following line missing in the _vimrc file:

" Prevents Vim 7.0 from setting filetype to 'plaintex'
let g:tex_flavor='latex'

Thanks to Phase Portrait.
Posted by Sven Siegmund at 8:10 AM
Labels: Vim

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (1)
    • ►  March (1)
      • Author per chapter (a.k.a. Proceedings)
  • ►  2010 (1)
    • ►  January (1)
      • Subscript and superscript in text mode
  • ►  2009 (4)
    • ►  July (1)
      • Typesetting tilde or backslash
    • ►  May (1)
      • Phantomas command
    • ►  February (2)
      • First gloss line in italics (gb4e)
      • Table lines starting with square bracket
  • ▼  2008 (10)
    • ▼  April (2)
      • Filetype recognition in Vim
      • Vim for XeTeX/LaTeX
    • ►  March (8)
      • First word of a paragraph
      • Tables
      • Block comment
      • Line spacing in tables
      • Assign another catcode
      • Verbatim text as command argument
      • Newcommand with an optional argument
      • LaTeX’s new era started: XeTeX

Labels

  • commands (5)
  • documentclass (1)
  • Editorial (1)
  • packages (5)
  • tables (4)
  • typography (3)
  • Vim (2)

About Me

My Photo
Sven Siegmund
View my complete profile