vim-pandoc / vim-rmarkdown

Rmarkdown support for vim
98 stars 26 forks source link

I cant render pdf #7

Open bryanmaina opened 10 years ago

bryanmaina commented 10 years ago

I just did an installation of this plugin and this is what happens when I try to render with RMarkdown pdf -latex_engine="xelatex", -toc=True What did I miss to get this error?? Thanks for the help and sorry for my English.

vim-rmarkdown-render-fail

and this what I got with RMarkdown pdf latex_engine="xelatex", toc=True vim-rmarkdown-render-fail-2

fmoralesc commented 10 years ago

Sorry for not responding earlier. It seems the arguments to the pdf_document are not being passed correctly. Will check.

On 7/25/14, Kobibr notifications@github.com wrote:

I just did an installation of this plugin and this is what happens when I try to render. What did I miss to get this error?? Thanks for the help and sorry for my English.

vim-rmarkdown-render-fail


Reply to this email directly or view it on GitHub: https://github.com/vim-pandoc/vim-rmarkdown/issues/7

bryanmaina commented 10 years ago

Thanks for the response.

fmoralesc commented 10 years ago

I should have noticed this earlier. The problem is the comma after "xelatex", it is not needed and messes up the argument parser. Should be:

RMarkdown pdf -latex_engine="xelatex" -toc=True
fmoralesc commented 10 years ago

No, I was wrong. Forgot we use commas for separating arguments in some cases.

bryanmaina commented 10 years ago

Thank's! I ll try this.