Open ErrWare opened 3 years ago
I'm facing the same issue
I just had to deal with this very issue, the solution was to actually ensure texlive was properly installed in the system.
I'm also having the same issue. I installed texlive-most
and for some reason it won't work. I can however use pandoc (which requires latex to be installed for the conversion) without any issue
Btw I'm using neovim nightly version if that helps
Same issue here.
texlive is installed correctly and :script
shows that the plugin is loading correctly in vim. I'm not having issues with any other vim plugins either.
I'm on Arch Linux, have texlive-most
installed through the Arch repo, have ensured all my packages are up to date, am using vim version 8.2, and have tried installing the plugin both through vim-plug
and manually (exact same issue occurs with both methods). I'm not sure what else to try.
For neovim, if :echo has('python3') || has('python')
outputs 0
, you have to install the python-pynvim
package. As noted on the Arch wiki.
Did anyone happen to solve this? I'm using arch linux, vimplug, vim 8.2, same issue
@stainlesspot Thank you so much. I'v had the same issue but now it just works.
Since this is resolved, I'm closing this now.
OK don't see the OP hasn't resolved this yet. You must have +python
or +python3
feature to use this plugin. https://github.com/xuhdev/vim-latex-live-preview/issues/116#issuecomment-872657823 might be useful. Let me if it works. Thanks.
so i had the same issue as OP. I'm using vim 8.1 on debian 10 buster and i had to reinstall it and chose a +python3 ready to use version of vim. vim-gtk3 did it. And then i had the failed to compile issue. After a round 2 of other issues reading, i noticed, that my hello world doc did not have \documentclass, so to say the problem was not on the pluging side, although i had -python and +python3. See the pictures... So there are two issues, the second is not from the plugin.
Expected behavior
:LLPStartPreview
should compile and preview the tex document in the current buffer.Actual behavior
E492: Not an editor command: LLPStartPreview
Steps to reproduce
Tell us how it occurs
Plug 'xuhdev/vim-latex-live-preview'
using vim-plug:PlugInstall
:LLPStartPreview
System configuration
Arch. Please let me know what commands I should run to fill out this section...
I've already checked #83 and #105 and #12. Like in #12 I see vim-latex-live-preview loaded in
:scripts
, unlike in the issue I don't see a +python feature, although in vim:checkhealth
I do see it is compiled with python3 support, and running:python3 import ...
like is done in the .vim script everything works. I don't know what else to try.