Pandoc is a markup converter which can output LaTeX and can parse a subset of LaTeX. Questions about pandoc itself are not on-topic for this site; questions about using it to produce LaTeX are on-topic.

learn more… | top users | synonyms

2
votes
1answer
275 views

Referencing tables in pandoc

Pandoc allows referencing images via inline Latex commands. However, it seems it does not work for tables. I'm aware of several workarounds, including manipulating a resulting TeX file manually, but ...
7
votes
0answers
169 views

Why doesn't Pandoc convert citations correctly from Markdown to LaTeX?

Consider the following markdown fragment: Connecting these native implementations to the Python world is enabled by the [Cython](http://cython.org/) toolchain  [@behnel2011cython]. I use pandoc to ...
4
votes
0answers
353 views

Converting RMarkdown to LaTeX without additional packages

I'm wanting to convert a markdown document into LaTeX for inclusion in my thesis. Unfortunately, the output of my command, pandoc -f markdown -t latex --standalone msim-eg.md > msimeg.tex ...
3
votes
0answers
262 views

How can I style tables in LaTeX beamer?

I use pandoc to generate LaTeX beamer presentations. To get the look I want I have created a theme myself. I have managed to get the look and feel I want in my presentations but I cant figure out how ...
3
votes
0answers
256 views

Pandoc not exporting bibliography, images and nested sections

I'm a new Pandoc user, primarily for converting .tex files in .odt format. The following command: pandoc -f latex -t odt -o prova.odt roottoptesi.tex Works well apart for the fact that it can't ...
3
votes
0answers
453 views

Document Bibliographies with CJK and Pandoc

Very new to LaTeX and only limited exposure via pandoc, I'm converting markdown English article that contains Japanese and Korean bibliography sources to PDF via LaTeX using pandoc, which allows the ...
2
votes
0answers
258 views

Making MiKteX pdflatex on Windows available to cygwin

I currently have a project with a workflow that uses pandoc in its Makefile to convert text from Markdown to LaTeX to PDF. This requires that a LaTeX engine be present in my path, or specified with ...
2
votes
0answers
100 views

What LaTeX math markup can pandoc translate into MathML?

I'm working with a gitit wiki because we can use LaTeX markup for mathematical formulas. However, I am learning that I can't use such sequences as $\mathbb R$ or $\mathcal A$ or even $\mathbf X$, as ...
2
votes
0answers
92 views

Windows Pandoc TexLive

I installed the latest texlive and pandoc on windows 8. I am able to compile tex to pdfs by manually invoking pdflatex. When I try to go from markdown to pdf via pandoc I get an error about not ...
2
votes
0answers
111 views

How to change the background color and border of a Pandoc-generated blockquote?

This question has a possible solution, but it's for the ConTeXt writer, which I can't use. ConTeXt: How to change the background color and border of a Pandoc-generated blockquote? What would be a ...
2
votes
0answers
140 views

How to maintain HTML internal links when converting with Pandoc

I am trying to convert from html to pdf with Pandoc. The output is pretty nice, still with the command pandoc index.html -o output.pdfI lose all my internal links (from table of contents to chapters, ...
1
vote
0answers
21 views

Converting tex to docx using pandoc - why are images not converted?

I'm converting a tex document into docx with pandoc. It works nicely, but my figures are not included in the docx. The command I am using is: pandoc -o output.docx paper.tex. The figures are ...
1
vote
0answers
63 views

How can $if$ and $else$ both be true?

I am looping through authors from YAML, but allowing for a standard block in my template. My author block looks like this: \author{ $for(author)$ $if(author.name)$ ...
1
vote
0answers
109 views

How do I get LaTeX / BibLaTeX custom citations to render when converting to docx with Pandoc?

I'm writing a manuscript in markdown, and have a goal of getting output in both pdf and docx formats from it. I'm able to create pdf output without issue (using pandoc to go from markdown to TeX, and ...
1
vote
0answers
321 views

LaTeX tables in pandoc, captions

If I feed a simple LaTeX table to Pandoc, e.g. \begin{table}[h!] \begin{tabular}{ll} x&y\\ \end{tabular} \caption{A caption} \end{table} and convert it to HTML using pandoc -s table.tex -o ...
1
vote
0answers
125 views

Why are my hyper references pink?

I have this in the heading of my document: \usepackage[unicode=true, colorlinks=true, linkcolor=blue]{hyperref} Yet the links look like this: Why the pink color ...
1
vote
0answers
316 views

How can I handle the “Undefined control sequence” error in pandoc?

My first lines in convert.md format document are: \thispagestyle{empty} %line1 \changepage{}{}{}{-1.5cm}{}{2cm}{}{}{} %line2 ![The Little MongoDB Book, By Karl Seguin](title.png)\ %line3 \clearpage ...
0
votes
0answers
20 views

Insert raw LaTeX between beamer slides, using pandoc markdown

I'd like to insert some raw latex (in my case \appendix) between two frames in a beamer presentation. Normally, any latex code in the markdown document is passed through into the final .tex document, ...
0
votes
0answers
42 views

tex to docx via pandoc with ACM template

For unfortunate reasons, I need to convert a latex document to word. The document was created using an ACM template (available here); I've read bread thing about pandoc and I was hoping to use it to ...
0
votes
0answers
36 views

Vertical alignment of frame content within a custom theme

I'm making a presentation with rmarkdown (in RStudio) and then compiling it to pdf. I'd like to have my frames vertically top-aligned. With beamer only, I'd do that with \documentclass[t]{beamer} but ...
0
votes
0answers
67 views

Pandoc: Markdown to PDF: select code without select number into code block

i want to generate the code block and i try example and it work. but when i try to select the code from the pdf, the number also get selected. how to generate code block that when select the code w/o ...
0
votes
0answers
44 views

Convert pandoc-style citations to the LaTeX cite format

I have a Markdown document with pandoc-style citations such as [@johndoe2014]. This documents needs to be converted to LaTeX for submission to a scientific journal. The LaTeX template of the journal ...
0
votes
0answers
94 views

Unable to convert HTML + embedded Latex to PDF

This is my code in file foo.html: <!DOCTYPE html> <html> <head><title>Foo</title></head> <body> <h1>Example equation</h1> <div> $$ 1 + 2 = ...