Skip to content
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

HTML localleader html+ does not use a bibliography #115

Open
Calavoow opened this issue May 15, 2014 · 0 comments
Open

HTML localleader html+ does not use a bibliography #115

Calavoow opened this issue May 15, 2014 · 0 comments

Comments

@Calavoow
Copy link

When there is a file file.md and a .bib file.bib the localleader pdf+ will generate a correct latex output using the --bibliography file.bib option, but the html+ does not give this option to pandoc, it executes the following:

pandoc -t html -Ss --mathml "file".html "file.md"

When manually executing the HTML build command, it properly uses the bibliography to generate references on the webpage, so the functionality is supported by pandoc:

pandoc file.md -o file.html --bibliography file.bib --mathml

I tried adding the PANDOC#P_BIBS to the build command in plugin/pandoc.vim, but to no avail:

PandocRegisterExecutor PandocHtml <LocalLeader>html html pandoc -t html -Ss PANDOC#P_BIBS --mathml -o %:r.html %%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant