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
2answers
53 views

Pandoc md to tex: code + enumerate interaction

How to make pandoc md to xelatex conversion understand that the code structure is within an enumeration list. The minimal code I've got in my markdown file. * Test your code * Don't use structures ...
0
votes
1answer
21 views

Can't make fancyhdr work with pandoc + yaml header

I am trying to convert my document from Markdown to PDF using Pandoc. At the beginning of my Markdown file, I have included an YAML header. Every parameters seems to be processed, except header-...
2
votes
0answers
15 views

Font size of references list in Pandoc

I am using RMarkdown to make a document with references from a .bib file as shown below. How can change the font size and line spacing of the references list printed at the end of the page --- author:...
83
votes
10answers
73k 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 ...
1
vote
1answer
33 views

How to underline links with pandoc?

Is there any way to underline links with pandoc? [Geogebra](http://google.com) I get this but I prefer __Geogebra__ (__ means underline)
1
vote
0answers
43 views

Full-width figures with Pandoc

I want to produce a figure which spans both columns in a two column layout document, exactly as discussed here: Displaying a wide figure in a two-column document I'm writing in Markdown and using ...
1
vote
1answer
37 views

nbconvert-generated labels fail with babel, work without it or with large margins

I'm using ipython nbconvert (which uses pandoc) to transform an IPython notebook and the document code contains the following lines \subsection{Vytvářeni polí čísel}\label{vytvuxe1ux159eni-poluxed-...
1
vote
1answer
436 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
61 views

Beginner's question Pandoc, LaTeX and CSL

I recently discovered pandoc and I am trying to get it to process my \cite commands in a .tex file using my CSL file, outputting a formatted PDF. As far as I understand this is something that pandoc ...
2
votes
0answers
86 views

Pandoc template variables within markdown file, not using yaml frontmatter

I know I can use yaml front matter within a markdown file in order to define variables to be used in pandoc templates to generate latex. However is it possible to define those variables in the body of ...
14
votes
3answers
3k 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 ...
19
votes
2answers
7k views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
2
votes
1answer
41 views

Pandoc refuses to parse math latex

I have a markdown file like: blah blah $|\left<R_j^{(x)},g_j^{(x)}\right>|$ blah I tried to use Pandoc to convert this file into a .docx file, but it cannot recognise the math expression ...
0
votes
0answers
16 views

How to get (coloured) fixme notes from LaTeX to docx by Pandoc?

I have converted my .tex file into a .docx file by pandoc. I use coloured inline notes, see the code. What I have not managed to do is: - to get the inline notes to appear in the docx file (the long ...
0
votes
0answers
50 views

BibTex urls garbled

I have a reference in a Bibtex file with a URL like this: https://developer.apple.com/library/ios/documentation/CoreImage/Reference/CIDetector_Ref/index.html Notice the underscore just before /...
1
vote
0answers
38 views

newcommand in beamer template for beamer environment

I write beamer presentations in Pandoc and want to change from Pandoc commands for creating frames (n-th level of headers like ### or something like ***) to using latex new commands for beginning and ...
7
votes
1answer
692 views

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

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 made ...
13
votes
3answers
2k 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 ...
0
votes
0answers
28 views

Rendering to Chinese overflows margin/papersize (pandoc)

I am using Pandoc to render from markdown to PDF. Since I have Chinese texts, I use xelatex with the WenQuanYi Micro Hei font. However, the PDF that gets produced overflows the margins on the ...
10
votes
2answers
4k 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 ...
7
votes
1answer
2k 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 ...
7
votes
2answers
517 views

“TeX capacity exceeded” error when converting markdown to PDF using XeLaTeX with russian language

I've installed pandoc and texlive-full packages on recent Ubuntu 14.04 LTS 64bit to convert markdown files with russian language to PDF. Everything works fine when I run the following command: ...
0
votes
1answer
36 views

Pandoc: Format Chapters/Sections

I'm currently using a basic template found on internet and I'm trying to format chapters and sections but nothing happens :(. I include this to my template tex file and update usepackage: \...
15
votes
3answers
4k 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 ...
0
votes
0answers
29 views

Verticle center alignment from the preamble

I am using pandoc, and it converts tables to a longtable without the ability to modify them. It converts: | table | header | |-------+--------| | 23 | 24 | | 13 | 14 | to ...
1
vote
1answer
45 views

Saving and restoring font settings

I'm using Pandoc to generate a PDF from a Markdown source file, and passing in a custom LaTeX template (effectively a tweaked version of the Pandoc default) to change the style of the final PDF. I ...
0
votes
0answers
25 views

What does “LaTeX Error: Environment rmdtip undefined.” mean?

I am trying to build a book using bookdown::render_book() command in RStudio. However, it stops working after the pandoc step almost at the end of the process: "K:/Program Files/RStudio/bin/pandoc/...
1
vote
0answers
67 views

How do I convert html to pdf via xelatex keep inline style

I want convert html to pdf by pandoc, and use xelatex engien. But <span style='font-size'>Text</span> inline style not convert to pdf. here is my currently in use latex-template: \...
2
votes
1answer
97 views

Pandoc conversion - LaTeX logo not displaying correctly

I used \LaTeX to get the LaTeX logo in my .tex file. However, converting it to pdf with: pandoc file.tex -o file.pdf produces a file that doesn't have the correctly formatted LaTeX logo. However, ...
2
votes
1answer
63 views

Pandoc / Markdown: References on last page

Currently I am writing a document. And I have written most in Markdown with some embedded LaTeX. However, now all references are now placed on the page where they are defined. Is it possible to ...
11
votes
1answer
4k 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
60 views

Converting .md to Springer's .lncs with Pandoc

I'm new to the world of LaTeX. I was trying to figure out how to convert my research written as a .md file with iA Writer to Springer's .lncs with the help of Pandoc. I've found some stuff through ...
2
votes
2answers
128 views

Can I use biblatex to produce processed tex file for use with pandoc?

I'm using biblatex (actually biblatex-chicago) with biber to process citations in an academic paper. Unfortunately I need to provide a Word file for a stage in the editorial process. I know that ...
0
votes
0answers
135 views

Pandoc LaTeX to epub with glossaries, pagenotes, indexs with links, and other features

I have a LaTeX document that has to be compiled several times to include all the toc, references, glossaries, pagenotes, general index, and author index with links to the locations in the book. I can ...
7
votes
3answers
6k views

Resize all images in Latex to a percentage width

I am auto-generating multiple tex files using pandoc (one tex file for each of my chapters). Pandoc generates this tex code for each image. \begin{figure}[htbp] \centering \includegraphics{images/...
2
votes
2answers
186 views

LaTeX and pandoc templates [closed]

i'm wondering where can i edit the default template of LaTeX in pandoc (ubuntu) I know this is not relevant on TeX forum, but any help would be welcome, because i'm kinda lost. Thanks!
7
votes
1answer
387 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 ...
1
vote
1answer
42 views

Replacing figure with figure* globally in Pandoc-created documents

I use Pandoc to create TeX files as chapter templates that are then fed back into Pandoc to create the final PDF. This sets some limitations, since some of the ways Pandoc writes TeX is hard-coded. ...
3
votes
1answer
464 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, ...
3
votes
1answer
154 views

Are there many cases where Pandoc fails on Word/.docx to TeX conversion of formulas/math?

How reliable is a LaTeX (XeTeX) publishing workflow which depends on Pandoc to handle submissions in .docx format from recent versions of Word? I can anticipate submissions with a fair amount of math, ...
3
votes
1answer
104 views

Margin references in tufte-handout with pandoc

I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a ...
0
votes
0answers
284 views

Inline Markdown LaTeX Tips

I would like to use an Markdown inline of Latex, but not as main language so that every Latex command still works, as in the following sample. #A heading in *Markdown One Paragraph, with \emph{some} ...
1
vote
1answer
102 views

Nested list failed to convert from markdown or html to pdf [closed]

I am trying to convert markdown to pdf using pandoc with the latex-engine set as xelatex because I am trying to use fonts installed on my system. I have tried switching the pdf-engine to pdflatex but ...
1
vote
1answer
127 views

Is there a LaTeX to HTML tool that supports the algorithm2e package?

I'm a LaTeX beginner and I'm writing computer science documents. I carefully choose my algorithmic package considering the features I needed and that led me to pick algorithm2e (vlined and noend ...
0
votes
0answers
105 views

Centered section headers in Pandoc using markdown

I am trying to use centered section headers in pandoc using the following syntax: | ### Work Experience However, the atx headers are not parsed by the pandoc when executing: ...
2
votes
1answer
48 views

Chaining citations in pandoc [closed]

I use pandoc to convert a mardown file into latex. for that I am using the [@author_journal_year] format to grab citations automatically. But as far as I see there doesn't seem to be a way to tell ...
1
vote
1answer
110 views

pandoc citations inside table

How can I force pandoc to process the citations that are used inside a table/tabular environment? A minimal example is: \begin{table}[t] \begin{tabular}{|l|l|} \hline [@referencekey] & ...
0
votes
0answers
24 views

Use custom font family in markdown with pandoc and Ubuntu/Linux Mint? [duplicate]

I have some custom fonts that I've installed on my system, and I'd like to utilize them when writing in Markdown. Currently I'm using pandoc and texlive extensions to convert Markdown to nice looking ...
0
votes
0answers
118 views

I am using pandoc to convert my docx documents to TeX, tables are not converted correctly, any hints?

I have discovered pandoc which I use to convert docx files to tex files. There is some manual work necessary afterwards, mainly adjusting the captions to have them in the chapter, section, subsection, ...
2
votes
0answers
95 views

Pandoc: LaTeX to HTML - no images shown

I use pandoc to convert my LaTeX file to a plain HTML file. Everything works fine so far. However, images and references are not parsed. I use pandoc guide.tex -o guide.html to generate the HTML ...