-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to compile
when :LLPStartPreview
is called
#119
Comments
Does your tex file compile on command line? |
Yes, it does. This is all of it, and yes, there is a warning about 20pt: \documentclass[20pt]{article}
%\usepackage{parskip}
\title{Testing}
\author{@icedwater}
\date{\today}
\begin{document}
\maketitle
\par{paragraph 1
continues here}
\par{this block is paragraph 2}
\par{and paragraph 3}
\end{document} |
For what it's worth, I tried to reproduce the bug on vim in Ubuntu 18.04 / WSL. This time the live preview works fine. Maybe something changed in 20.04's bundled vim. VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 13 2020 15:49:09)
Included patches: 1-1453
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_sgr -tag_any_white
+arabic +file_in_path -mouse_sysmouse -tcl
+autocmd +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
-balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
-browse +fork() -mzscheme +textobjects
++builtin_terms +gettext +netbeans_intg +timers
+byte_offset -hangul_input +num64 +title
+channel +iconv +packages -toolbar
+cindent +insert_expand +path_extra +user_commands
-clientserver +job -perl +vertsplit
-clipboard +jumplist +persistent_undo +virtualedit
+cmdline_compl +keymap +postscript +visual
+cmdline_hist +lambda +printer +visualextra
+cmdline_info +langmap +profile +viminfo
+comments +libcall -python +vreplace
+conceal +linebreak +python3 +wildignore
+cryptv +lispindent +quickfix +wildmenu
+cscope +listcmds +reltime +windows
+cursorbind +localmap +rightleft +writebackup
+cursorshape -lua -ruby -X11
+dialog_con +menu +scrollbind -xfontset
+diff +mksession +signs -xim
+digraphs +modify_fname +smartindent -xpm
-dnd +mouse +startuptime -xsmp
-ebcdic -mouseshape +statusline -xterm_clipboard
+emacs_tags +mouse_dec -sun_workshop -xterm_save
+eval +mouse_gpm +syntax
+ex_extra -mouse_jsbterm +tag_binary
+extra_search +mouse_netterm +tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -fdebug-prefix-map=/build/vim-EfP9JP/vim-8.0.1453=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lm |
Did you have a nonzero exit code? |
Nope,
|
I was having the same issue however I managed to fix it by installing texlive-latex-extra package... However, since your outlook is compiled correctly with pdflatex I am not sure if it will work for you |
I don't know if this might be helpful. |
Thanks for the tip. My example file didn't have any graphics in it, though. I'll keep this in mind in case I try this again with |
The preview seems to work fine (as long as I'm not in insert mode) until I uncomment In that case, I suggest the error message could be expanded a little, though I suppose if pdflatex doesn't expose any of its error codes, it would be difficult to do so. |
I was having this problem, but it turned out that I had some Latex errors in the actual document and that's why it wasn't compiling. Try opening and compiling the document with |
I know this is an old ticket, but for the future: I had the same error, but when I added a missing bracket it was able to compile. |
Expected behavior
evince
should launch with the preview of the current PDF when:LLPStartPreview
is run.Actual behavior
evince
does not run. Instead, "Failed to compile" appears in the status line of vim.Steps to reproduce
~/.vim/plugin/
. (evince / pdflatex are both installed.)anyfile.tex
.:LLPStartPreview
.System configuration
Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: