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

1
vote
1answer
27 views

Pandoc Markdown to PDF doesn't show images [on hold]

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 ...
0
votes
0answers
41 views

Computation in Incomplete LaTeX Tables? [on hold]

I use Pandoc tables in my incomplete LaTeX documents. I do computation on those tables with the field separator as space getting the raw data. Spaces as field separator in incomplete LaTeX Tables ...
0
votes
0answers
20 views

Insert PDF print job in Pandoc document [closed]

I am writing my study notes with Pandoc, which will be converted to a PDF file. Diagramms are created with OmniGraffle and inserted as a PNG file. Multipage tables are created with Word or LibreOffice ...
2
votes
0answers
34 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
11 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 ...
2
votes
1answer
39 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 ...
0
votes
0answers
23 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
63 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
35 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 ...
0
votes
0answers
34 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
84 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
80 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 ...
0
votes
0answers
32 views

Adding a logo to a title in PDF pandoc 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 ...
2
votes
1answer
87 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? ...
9
votes
1answer
180 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. ...
4
votes
1answer
43 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
69 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. ...
6
votes
0answers
116 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 ...
3
votes
1answer
116 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
1answer
191 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 ...
5
votes
2answers
358 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
124 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 ...
2
votes
1answer
38 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?
1
vote
0answers
118 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 ...
1
vote
1answer
193 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 ...
0
votes
0answers
94 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
81 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', ...
2
votes
2answers
91 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 ...
3
votes
1answer
331 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: ...
0
votes
1answer
237 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$$ (@) ...
1
vote
1answer
253 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 ...
5
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
0answers
175 views

Convert Latex with lots of math to web-friendly format

My math notes have a bunch of align environments (proofs) and I hope to post them on the Web. Currently I'm thinking about using pandoc to convert tex to markdown, then use jekyll to build my site. ...
2
votes
0answers
53 views

bibbliography and siunitx in pandoc

I'm using pandoc to convert my tex file in a .docx file. The formatting, equation and image works very well, but I have some issue: 1)references of images don't showed properly. It show only the name ...
4
votes
2answers
83 views

Strange output when writing \texttt{“avg”} in spanish

I'm using pandoc, which parses markdown into LaTeX. In this case I configured pandoc to use babel in spanish and wrote `"avg"` which is translated by pandoc as \texttt{"avg"}. When I do this I obtain ...
5
votes
1answer
106 views

\setuppagenumbering[location=] causes problem in Context

I am new to tex world. I am converting a markdown to pdf, first using the pandoc to create the text and then ConText to generate the pdf. I hope to release the template to wider pandoc audience if I ...
3
votes
1answer
94 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 ...
1
vote
0answers
205 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, ...
2
votes
0answers
277 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 ...
4
votes
1answer
1k 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
95 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 ...
3
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 ...
1
vote
0answers
92 views

How can $if$ and $else$ both be true? [closed]

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
272 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 ...
2
votes
0answers
256 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 ...
1
vote
1answer
70 views

floatrow is not rendering captions correctly [closed]

I'm having a couple issues in a latex document being converted to a pdf. I'll put each in separate posts. The first: I can't get my captions to appear over the table. I've Goolged this, and the ...
1
vote
1answer
125 views

Processing a tex file automatically

I'm currently writing in markdown and converting using Pandoc, but there are additional replacements that I want to do, as well as fixing some of what pandoc does that I don't like. Does anyone know ...
1
vote
0answers
379 views

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

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 ...
2
votes
1answer
242 views

Partial compile latex and bibtex for pandoc

I am working to convert a LaTeX document to word (because that's what the journal requires) and to avoid rewritting all of the equations and citations I want to use pandoc, but pandoc doesn't seem to ...
5
votes
1answer
188 views

Redefine verbatim environment

I have a text with source code, which I would like to display. I am using pandoc, so I have to use either verbatim or listings enviroment. Unfortunately, I can't use listings package (due to ...