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 + zathura ; PDF created in /tmp #100

Closed cadens07 closed 4 years ago

cadens07 commented 4 years ago

Expected behavior

Normally, the script "latexlivepreview.vim" should generate a pdf in live preview in zathura

Actual behavior

After keybinding for LLPStartPREVIEW i got this message displaying in vim : --> :LLPStartPREVIEW The latex document seems to be compiled.

Tell us what happens instead I go in /tmp/vim-latex-livexxxxxx <--- so many files there. In each folder many pdf. I can open all the pdf with zathura.

Steps to reproduce

Tell us how it occurs

  1. Typing (mapping LLPStartPREVIEW)
  2. Nothing happened !
  3. BUT with evince IT'S WORKING ! Not with zathura

System configuration


# output of `vim --version`
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 21 2020 01:11:40)
Included patches: 1-607
Compiled by lmtbspwm@optiarch
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
+balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
+browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl              +title
+clientserver      +job               +persistent_undo   +toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       -lua               +ruby              +wildmenu
+dialog_con_gui    +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       +X11
+dnd               +mouse             +sound             -xfontset
-ebcdic            +mouseshape        +spell             +xim
+emacs_tags        +mouse_dec         +startuptime       +xpm
+eval              +mouse_gpm         +statusline        +xsmp_interact
+ex_extra          -mouse_jsbterm     -sun_workshop      +xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
 f-b for $VIMRUNTIME: "/usr/local/share/vim/vim82"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread    -g -O2 -D_REENTRANT  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.30/core_perl/CORE   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype  -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lelf   -lcanberra  -lacl -lattr -lgpm -ldl   -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.30/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/5.30/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc  -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm  -lruby -lm     
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 21 2020 01:11:40)

- **Platform**: Arch linux
cadens07 commented 4 years ago

When I type --> : echo b:livepreview_buf_date I have this message :

{'root_dir': '/home/lmtbspwm/myLatex/1st\ leçon', 'py_exe': 'python3', 'tmp_dir': '/tmp/vim-latex-live-preview-f1s8vpg6', 'run_cmd': 'env TEXMFOUTPUT=/tmp/vim-latex-live-previe w-f1s8vpg6/home/lmtbspwm/myLatex/1st\ leçon TEXINPUTS=/tmp/vim-latex-live-preview-f1s8vpg6/home/lmtbspwm/myLatex/1st\ leçon:/home/lmtbspwm/myLatex/1st\ leçon: pdflatex -shell-e scape -interaction=nonstopmode -output-directory=/tmp/vim-latex-live-preview-f1s8vpg6/home/lmtbspwm/myLatex/1st\ leçon /tmp/vim-latex-live-preview-f1s8vpg6/home/lmtbspwm/myLate x/1st\ leçon/my1st', 'preview_running': 1, 'tmp_src_file': '/tmp/vim-latex-live-preview-f1s8vpg6/home/lmtbspwm/myLatex/1st\ leçon/my1st'}

stale[bot] commented 4 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!