Skip to content

Simple LaTeX to PDF converter which opens preview (defaults to Mac OS X Preview).

License

Notifications You must be signed in to change notification settings

tomaszwojcik/vim-latex-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-latex-preview

Simple plugin for generating PDF from LaTeX (using MacTex) and previewing it (with Mac OS X Preview).

Installation

Pathogen

Just clone the repo to Vim bundle dir.

cd ~/.vim/bundle
git clone [email protected]:tomaszwojcik/vim-latex-preview.git

Usage

By default preview is launched with <leader>pp.

Settings

  • nnoremap <leader><shortcut> :call latexpreview#PreviewLatexAsPdf()<CR> - where <shortcut> is your shortcut for invoking preview
  • let g:latex2pdf_command = 'pdflatex' - command for generating PDF
  • let g:latex_preview_command = 'open -a Preview' - preview program to be launched

License

Same as Vim's license. Feel free to change behavior, add new preview programs and so on. Lots of love for pull requests with improvements.

About

Simple LaTeX to PDF converter which opens preview (defaults to Mac OS X Preview).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published