xuhdev / vim-latex-live-preview

A Vim Plugin for Lively Previewing LaTeX PDF Output
https://www.topbug.net/blog/2013/06/13/live-preview-of-latex-in-vim/
GNU General Public License v3.0
834 stars 74 forks source link

:LLPStartPreview Failed to compile #82

Closed SevenTailCat closed 5 years ago

SevenTailCat commented 5 years ago

Expected behavior

Open pdf viewer.

Actual behavior

It shows "Failed to compile".

Steps to reproduce

This is my ~/.vimrc. This is my first time to set vimrc. And the "ultisnips" works which was used the some way to installed.

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" ################################# other plugins here
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='general'
let g:vimtex_quickfix_mode=0
set conceallevel=1
let g:tex_conceal='abdmg'
" A Vim Plugin for Lively Previewing LaTeX PDF Output
Plugin 'xuhdev/vim-latex-live-preview'
" vim-latex-live-preview settings
autocmd Filetype tex setl updatetime=1 
let g:livepreview_previewer = 'open -a Preview'
" #################################

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
"

My Vim is MACVIM and the system is mac mojave 10.14.3. So, What can i do for this problem? Thx very much~!

marrowb commented 5 years ago

I'm having the same issue on Cygwin. I've installed texlive, evince, and ocular. :has('python') returns true.

ylatex commented 5 years ago

I have the same issue on vim+vim-latex+vim-latex-live-preview.

amrelk commented 5 years ago

I have the same issue on neovim+vim-latex-live-preview. It opens evince sometimes, other times fails to compile. File compiles fine with pdflatex.

Edit: I went to the temp folder and it appears that it does compile, and then just doesn't show the pdf viewer.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed. Thanks for contributing to vim-llp!