4 Comments
Guest *Romain Lesur* @ 2017-12-18 21:59:55 originally posted:
As an absolute fan of RMarkdown (and knitr of course), I understand your opinion.
However, I noticed pandoc 2.0 now supports pdf generation with weasyprint. I love the idea to generate pdf with CSS cause I'm reluctant to do some LaTeX and find CSS easier. I think this will be great for RMarkdown users!
I also like the fenced_divs extension.
And most of all, I want to thank you for your work on knitr and RMarkdown: they are my favorite R packages and I actively promote them!
Thanks! I'm very glad to hear that you love knitr and R Markdown.
And yeah, if there are specific new features that you want in Pandoc 2.0, please feel free to upgrade. The main point of this blog post is that most users seem to have upgraded Pandoc unconsciously. Anyway, I think I have pretty much put out the fire in the rmarkdown package, so there isn't too much to worry about now.
The syntax of fenced divs does look neat. Custom blocks in bookdown might be a little more flexible: https://bookdown.org/yihui/bookdown/custom-blocks.html
We will upgrade the bundled version of Pandoc in RStudio in the future, so I think at some point next year, most users will start using Pandoc 2.0 anyway.
Originally posted on 2017-12-19 02:55:20
Guest *PS* @ 2018-01-05 14:10:37 originally posted:
Is there any way to tell R/R Markdown to use the RStudio pandoc instead of the homebrew one? So that pandoc 2.0 does not need to be uninstalled?
Good question. Unfortunately the answer is "no". Ideally we should allow users to choose a specific version of Pandoc in rmarkdown, but currently rmarkdown only looks for the highest version of Pandoc in your system.
Note that if you uninstall Pandoc from Homebrew, it is not completely deleted automatically (unless you do brew cleanup).
One think you may consider is brew unlink pandoc,which only removes the symlink of pandoc from /usr/local/bin.
Originally posted on 2018-01-05 17:01:24
Guest *Chun Li* @ 2018-09-20 22:29:47 originally posted:
I am using Ubuntu 18.04. My anaconda comes with pandoc 2.2.3.2. It converts Rmd to latex incorrectly. Removing it from my $PATH, thus forcing rstudio to use its own version of pandoc, works well.
But I need the conda pandoc. I solved this by installing the following version in conda:
conda install pandoc=1.19.2.1
Guest *Romain Lesur* @ 2018-12-21 01:58:39 originally posted:
After more than a year with Pandoc 2, I would be really interested to read your updated opinion about Pandoc 2 (I know you already wrote another post last summer).
I've read my old comment on this post and I realized the huge evolution in one year.
I don't regret Pandoc 1, myself!
My favorite features of Pandoc 2 are fenced divs and lua filters (and I still don't like the extra HTML tags for line numbers in syntax highlighting, but that is a trivial matter). I intended to learn more about lua filters, but happily lost the motivation for an "obvious reason" :)
Originally posted on 2018-12-21 06:14:17
Sign in to join the discussion
Sign in with GitHub