E121: Undefined variable:g:pandoc#modules#enabled
E15: Invalid expression:g:pandoc#modules#enabled
Am I supposed to set these somewhere? I didn't see any mention of it in the README
^ Can verify, happens on Vim 7.4 too. If it matters, I'm on OS X, python 2.7.12
add HTMLwith outline preview in browser, or bookmarks list like Word
Hi. Sorry but how do I use this plugin?
Having test.md in buffer I try ':Pandoc -html output.html' and get no result nor feedback in vim?
Hi guys, I'm having a problem using vim-pandoc-syntax, I can't find any way to configure this and maybe someone knows: When I write a quote that doesn't end with a comma, but the next letter is not capital, it gets highlighted. E.g., in the following "she" will be highlighted: "Oh no!" she exclaimed. even though it's correct. I couldn't figure out what makes it so and how to disable it. It only happens when pandoc sytax is enabled.
Somehow it's the case that :help pandoc doesn't work even though I can read the help files added by other vim plugins just fine (e.g. :help julia-vim works). I'm using the current master branch of vim-pandoc and NeoVim 0.2.0
Oh, and I'm using pathogen 2.4 to load my plugins.
In markdown file a block inside ``` becomes λ and —. is this expected?
Is this expected?
Is that possible to open :TOC by default?
BTW, I just know vim-pandoc today. It's very cool. Even though I don't install and don't use pandoc, vim-pandoc is the best plugin on markdown editing in vim. It should have other name than vim-pandoc since I am not using pandoc at all.
Hi everyone one. how you all doing well. I just install vim-pandoc plugin on mac.
how can edit a gdoc or docx file with vim ? thank you .
Hello everyone. I am new to vim(nvim) so please excuse my poor knowledge. I am using vim-pandoc, especially because of cite key autocompletion. However I cant get my head around how it work in practice. Where to point to my bib-file? And what are the right keyboard shortcuts to use? Thanks
Is there any way to configure Pandoc to put generated PDFs in a dedicated folder? It would be super handy to be able to put generated PDF-files in [...]/pdf/ with filename =expand("%:r").pdf
@treuss You can create a command template to adjust the -o argument pandoc receives.
@fmoralesc That would be the kind of solution I was hoping for. Nevertheless I havent found a way to make vim-pandoc to pass the current file's name to pandoc's -o as a parameter.
Hey folks. I'm having trouble with let g:pandoc#formatting#mode = 'hA'
When I edit a paragraph and undo it the change... it takes a long time.
and when the undo finishes, it says, "XXX changes; before #1"
Where XXX is some large number that scales with how long the edit was.
When I disable the folding module... things go back to normal.
Hi all. Could someone step me through creating markdown tables with vim-pandoc / vim-pandoc-syntax ? I've tried copying the examples from the screenshots but they don't render properly (columns aren't aligned, etc.)
Hi, in the keyboard mapping section of the docs, I can't seem to find anything the refold an unfolded document. Is there a simple way to do that?
Is there an option to disable the WYSIWYG features? Particularly in math mode.
@zyedidia Almost everything can be turned off individually, see :help vim-pandoc-settings for details of all the settings you can override. What did you have in mind specifically?
When using the vim-pandoc plugin, it doesn't respect my movement key mappings (I've mapped h j k l to j k l ;). How can I go above fixing this? For some reason j and k want to revert to default vim mappings but l and ; work just as I personally mapped them..
basically making editing markdown files or other files that pandoc is enabled on, well, unusable
When you remapped your movement keys did you use :nmap or :nnoremap? And what exactly did you map them to?
neither, I used :noremap so that it works for all modes besides insert, and so its not recursive
and, basically I did this: j/J -> h/H, k/K -> j/J, l/L -> k/K, ;/: -> l/L
also made h -> : and H -> ; so im not missing any mappings
I'm not sure. I'd suggest going ahead and opening up an issue for this, vim-pandoc shouldn't be tampering with those bindings at all, nor should it be assuming anything about them.
just tried manually doing all :nnoremap:vnoremap:onoremap and :snoremap and still same bug (not too surprising as that should be no different than doing :noremap) - will be opening up and issue as you suggested
Nice issue report, thanks. There is enough info in there it's starting to make sense what's happening.
Not to discourage you, but this plugin isn't the only one you're going to have a hard time with, a lot of things assume those basic motion keys. I tried remapping them when I switched from QWERTY to DVORAK and gave up after a couple months, it was easier to relearn the muscle memory than fix all the plugins that didn't work as expected. That's not to say we can't fix this plugin for you –we should do that– just a heads up that you'll run into this again.
@h8ed I think I found a solution for you. I edited it into my comment on #299.
anyone know how to use external library to convert latex to html using Pandoc?
"external library" I mean I define some Latex commands in other file with
pandoc --mathjax myTexFile.tex -f latex -t html -s -o myHtmlFile.html
I use above command to convert Latex to Html
myTextFile.tex has some defined commands from other file. e.g. mylib.tex
I don't get syntax highlighting for inline LaTeX in my pandoc markdown (filetype is recognized as pandoc), do I have to enable that somewhere? I didn't find anything regarding it in the plugin settings
@fmoralesc What Distro & build of Neovim are you using and what version of Lua is it compiled against? :version should say.
@caleb I'm following your additions to the lua module with great interest ;)
I have it returning a Lua table with tag names and ranges. But I have an infant in hand right now too...
If you can figure out how to pass the current buffer in Lua and describe the exact output you want back, this won't be hard to wire up.