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

59
votes
7answers
41k views

How to convert a scientific manuscript from LateX to Word using Pandoc?

I have a typical scientific manuscript in a LaTeX .tex file, and I need to convert it to MS Word .doc file. The reason for having to convert to MS Word is I'm submitting the manuscript to an academic ...
2
votes
0answers
31 views

SOLVED - Knitr/pandoc bibliography problem

I would try to convert the way I write my scientific articles from Sweave/LaTeX to knitr/pandoc. I've been able to reproduce almost everithing with the exceptions of the references. I googled a lot ...
0
votes
0answers
11 views

Ensuring Pandoc will capitalise 'ibid' nested at the beginning of a footnote

Like a lot of people, I write documents in Markdown and then use Pandoc to convert to LaTeX. Pandoc renders Markdown citations in the format [@citekey] as \autocite{citekey}. I use a footnoting style ...
6
votes
0answers
4k views

How do I set variables in latex template used for pandoc markdown to pdf conversion [closed]

I'm sorry if this is a bit of a pandoc question, but I'm hoping you tex users have some familiarity with latex templates within pandoc. I'm very new at this, but am excited to get a good work flow ...
0
votes
1answer
82 views

Adding a logo to a title in Pandoc's PDF output

I'm using Pandoc to convert Markdown to PDF via LaTeX. I'm very happy with the result, particularly now I've discovered Pandoc's support for YAML document metadata with which you can make substantial ...
1
vote
0answers
40 views

converting tex to xdoc using pandoc (math formulas are not converted)

I just started using pandoc and I followed every step in this page. First of all we create a text file named test1.md.txt # Test! This is a test of *pandoc*. - list one - list two Convert it to a ...
1
vote
2answers
147 views

(error) \tightlist (converting .md file into .pdf using pandoc)

I was converting 'lecture1.md' file I made via Rstudio into 'lecture1.pdf' using Pandoc at Mac Terminal. and I got this error message : ! Undefined control sequence. <recently read> \tightlist ...
1
vote
1answer
230 views

PDF form as background image - filling the form fields

I'd like to elaborate my proof of concept so that I can be confident with selected tools/packages for this task before I start implementing it. Scenario. I have several documents (each document has ...
1
vote
0answers
29 views

Conversion (markdown --> pdf) of \"{e} fails with pandoc

I need to put some french e's with a double point above into my text. The LaTeX markup I employ is \"{e} and I use that code in my markdown source, but Pandoc converts this to "{e} in the pdf and ...
5
votes
2answers
604 views

Stop listings going over page breaks

I am using Pandoc to generate Tex from Markdown. It automatically generates listings when it comes across the appropriate Markdown (code indented four spaces). It then uses the listings package to ...
19
votes
2answers
879 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 ...
1
vote
1answer
85 views

First steps with htlatex, I'm losing all the math format! [closed]

I'm doing my first steps with htlatex, trying to get HTML documents. I have OS: Linux Mint, Tex Live, and I make my *.tex with Texmaker. I know how to use MathJax. I get this: This is how I wish it ...
1
vote
1answer
40 views

How to set the Bibliography title for BibTex in Pandoc

I currently render my thesis with Markdown files as source, and want to generate a PDF output. I use the following command for that: pandoc --template template.latex --standalone --chapters \ ...
1
vote
1answer
44 views

pandoc lists in environments

I want to put a list in the lemma environment. I am using pandoc to convert from markdown to LaTeX, so I thought it would be neat to use markdown lists. I tried: \begin{lemma} The following are ...
2
votes
1answer
155 views

Pandoc Markdown to PDF doesn't show images [closed]

I used knitR to convert R Markdown files to Markdown, and I'm trying to use Pandoc to convert them into HTML/PDF. Markdown to HTML includes all my images in the output, using pandoc test.md -o ...
2
votes
1answer
104 views

How to generate a 4-up table of images with Pandoc?

I'm using Pandoc to write a document using Markdown. I have a section that includes a bunch of identically-sized square images in PNG format. I would like to lay out these images four per page in a ...
3
votes
0answers
64 views

Add \only<>{} and \uncover<>{} sequences in pandoc beamer

Most probably my question shall be better addressed to the pandoc developers yet I was wondering if anybody managed to use the \only<N>{ ... } (or \uncover<N>{ ... }) directives in a ...
0
votes
0answers
17 views

How to create a portable document containing .bib references from .(R)md files?

I have a .Rmd file that contains references like [@smoreda2013spatiotemporal]. Works great. The problem is that it's referencing a giant .bib file, making the document less portable. How to make it ...
0
votes
0answers
34 views

tex to doc conversion with custom bibliography

I have written my Thesis in latex. It contains only text with no equations, tables and figures. It contains also footcites and the References List created with biblatex. My thesis-advisor told me he ...
1
vote
1answer
108 views

Change text color of section title in \sectionpage

I write beamer lecture slides in R Markdown and I want to make a simple style that matches my college's PowerPoint templates, but I am getting caught up on how to change text color in section pages. R ...
0
votes
0answers
52 views

Add custom logo before chapters with Pandoc

I want to add a custom image near my chapter headings (using the report documentclass). I want to get something like this: http://tex.stackexchange.com/a/124083/78981 but with the logo above the ...
3
votes
3answers
742 views

Number equations in pandoc by default

How to get equations written in $$...$$ numbered when markdown document is compiled to PDF file. I do not need to make references for equations.
13
votes
3answers
3k views

Pandoc: How can I get numbered LaTeX equations to show up in both PDF and HTML output

To make a numbered equation in Pandoc, I defer to using pure LaTeX: \begin{equation} a^2 + b^2 = c^2 \end{equation} In PDF form, it gives a nice numbered equation, however, this equation doesn't ...
2
votes
1answer
184 views

Pandoc: convert .docx to .tex while retaining the table structure from .docx format in output

The problem I have is that when I convert a document using Pandoc from .docx to .tex, the tables get messed up. Is there a way to use pandoc that will retain the proper table formatting in .tex? ...
0
votes
0answers
41 views

Convert incomplete LaTeX of Pandoc into Venn diagram

I would like to find/make something intuitive format for Venn diagrams in Incomplete LaTeX. I know this thread. Data in Pandoc format -------------------------------- Clinical Types ...
3
votes
1answer
150 views

LaTeX to HTML via Pandoc : handle a custom command

I am using Pandoc to convert a .tex document to html/epub. In my text I make frequent use of a custom command, \subchpbreak with the following definition: ...
3
votes
1answer
123 views

Which Latex environments are supported in Markdown and pandoc?

Does anyone know which Latex environments that are supported in pandoc when converting Markdown to html? I have tested equation, align, alignat which seams to work, so is there e.g. a family/kind of ...
11
votes
2answers
1k views

Changing “language” settings used by Pandoc for generated output [Pandoc template variables]

This is not directly a LaTeX question since I use Markdown to format my text but this subpart of "stack" seems the most correct place to ask my question. I generate my PDF with Pandoc from markdown ...
9
votes
1answer
244 views

Automating extraction of Markdown-formatted tables from an (incomplete) LaTeX document

I am trying to automate the presentation of my note taking. I would like to be able to regex all Pandoc tables in my document, add LaTeX around them, compile them and show the result in a PDF. ...
6
votes
1answer
246 views

Best workflows or tools to generate an html web page from a complex latex document like thesis

I'm really interested to publish my thesis on a website HTML + CSS (when it's done) augmented with tools to annotate it, like the philoweb initative (see here, and here). I know the universal ...
4
votes
1answer
48 views

Converting xparse commands to html

I've had a varying level of success converting LaTeX documents into HTML, but one of the major problems I've encountered is converting expressions which contain commands defined through the xparse ...
1
vote
1answer
88 views

Lualatex not found

When I run pandoc markdown.md --template=/Users/xxx/Documents/Pandoc-Templates/default_copy.latex --latex-engine=lualatex -o test.pdf I get the following error message: pandoc: lualatex not found. ...
4
votes
1answer
177 views

Using Pandoc to transform Markdown to Beamer Latex Code?

According to http://pandoc.org/demos.html I see the command for turning an md file into a beamer pdf file. pandoc -t beamer SLIDES -o example8.pdf When I change the extension to tex instead ...
6
votes
0answers
133 views

Framemaker to LaTeX

I'm a software person who has been tasked with moving a few thousand pages of documentation for a piece of legacy software online. The documentation is all in Adobe Framemaker and yes, there are lots ...
2
votes
3answers
3k views

Latex Figures appear before text in pandoc markdown

I am using pandoc to convert markdown to pdf, but I need to place some figures with more formating than the ![Alt text](image.png) so I use something like this: # Document with figures ...
2
votes
1answer
42 views

Text Input Fields from markdown and Pandoc

I'd like to use markdown and pandoc to create a document where I have some text input. Is it possible to specify fields that, when the pdf is generated, would appear as text input?
6
votes
2answers
607 views

How to set a font family with pandoc?

I have some reports written in MultiMarkDown and want to convert them to pdf (via xelatex) with pandoc. As I am in an professional environment, a certain font-family is mandatory. The fonts are ...
1
vote
0answers
153 views

Header and footer using pandoc

I am new learner . I was trying to create docx file from Tex. I was unable to insert header and footer in the document. When i try to create pdf document using Miktex, the same file works, which ...
3
votes
1answer
114 views

Copying the style of amsthm using \newcommand \renewcommand

I'm trying to exactly duplicate the layout of amsthm without using this package. I want this, because pandoc doesn't support amsthm (yet), and pandoc is used in the online LaTeX editor ...
4
votes
2answers
2k 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 ...
28
votes
2answers
1k views

Is LaTeX intended for unattended typesetting?

With markup converters like Pandoc, it has now become possible to generate LaTeX documents without ever touching any LaTeX code. However, obtaining aesthetic page breaks for slightly complex ...
1
vote
0answers
125 views

Pass Beamer frame options/arguments in Pandoc

How does one manually mark a frame as [fragile] in a Pandoc markdown file (to be converted into LaTeX Beamer)? That is, I have a frame like this: # Relations visualised \begin{figure} \centering ...
0
votes
1answer
270 views

Pandoc equation numbering style

I use pandoc to render .pdf files from markdown. Example input: #Fudamental matrix ##Epipolar constraint in pixels (@) $$(K_{0}^{-1}x)^{T}E(K_{1}^{-1}x')=0$$ (@) ...
10
votes
1answer
2k views

Bibtex to html/Markdown/etc., using Pandoc

It seems that Pandoc is capable of dealing with references given in a .bib file. Yet, I haven't been able to simply ask Pandoc to convert a .bib file into html, markdown or other formats. Is there a ...
2
votes
2answers
105 views

Pandoc, Section Spacing

By default the vertical spacing on sections is quite large with the pandoc default.latex template. Is there a way to pass an argument to reduce the size of the spacing? I see that there is a titlesec ...
0
votes
0answers
114 views

create two column resume with extra data on right column

I'm looking at creating resume using Pandoc but need help on the LaTeX side. I would like a column on the left with the main content. Then a column on the right with "bullet" points. The column on the ...
1
vote
1answer
90 views

Unexplained “NULL” in pandoc.table in ioslides [closed]

I'm attempting to use pander::pandoc.table() in a ioslides slide and I can't figure out how to get rid of the NULL caption at the bottom of the table. With this example code: ```{r, results='asis', ...
6
votes
2answers
2k views

Latex default citation and bibliography style with Pandoc

I write a paper in Markdown and convert it to PDF via Pandoc and Latex with the following commands to get Latex's (well, BibLatex's) default citation and bibliography style: pandoc -s ...
3
votes
1answer
409 views

Undefined control sequence error with mhchem and hyperref, \ce within \section{}

I get an "undefined control sequence" error when trying to use the mhchem and hyperref packages together, when \ce is within a \section{} label. A minimum example that demonstrates the problem: ...
1
vote
1answer
287 views

Transform markdown to pdf with APA style and bibtex support

According to pandoc's documentation, raw LaTeX can be used to insert citations inside a markdown file with \cite{foo}. This is what I've tried to accomplish that: pandoc -s --template=template.latex ...