pandoc
Pandoc convert docx to markdown with embedded images
pandoc –extract-media ./myMediaFolder input.docx -o output.md From the manual: –extract-media=DIR Extract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or … Read more
rmarkdown: pandoc: pdflatex not found
For people using ubuntu who get stranded here a better option (because it is 1/5 the size) is to use: sudo apt-get install texlive-latex-base Which I found via https://tex.stackexchange.com/a/128309
Plot size and resolution with R markdown, knitr, pandoc, beamer
I think that is a frequently asked question about the behavior of figures in beamer slides produced from Pandoc and markdown. The real problem is, R Markdown produces PNG images by default (from knitr), and it is hard to get the size of PNG images correct in LaTeX by default (I do not know why). … Read more
Markdown to docx, including complex template
Update Use the piped version suggested by user Christian Long: pandoc -t latex mydoc.md | pandoc -f latex –data-dir=docs/rendering/ -o mydoc.docx I know this is late in coming, but I’ll be assuming people are still searching for solutions to this three years after the original question — I know I was. My solution was to … Read more
pandoc version 1.12.3 or higher is required and was not found (R shiny)
Go into RStudio and find the system environment variable for RSTUDIO_PANDOC Sys.getenv(“RSTUDIO_PANDOC”) Then put that in your R script prior to calling the render command. Sys.setenv(RSTUDIO_PANDOC=”— insert directory here —“) This worked for me after I’d been struggling to find how rmarkdown finds pandoc. I had to check github to look at the source.
Pandoc and foreign characters
Use the –pdf-engine=xelatex option.
Relationship between R Markdown, Knitr, Pandoc, and Bookdown
Pandoc Pandoc is a document converter. It can convert from a number of different markup formats to many other formats, such as .doc, .pdf etc. Pandoc is a command line tool with no GUI. It is an independent piece of software, separate from R. However, it comes bundled with R Studio because rmarkdown relies on … Read more
How do I make a reference to a figure in markdown using pandoc?
In pandoc you can even do:  See figure \ref{mylabel}.