Questions tagged [pandoc]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

Unknown option "documentclass"

I'm using a fresh install of both pandoc and texlive. I have a wrapper script that looks like this... pandoc --pdf-engine=pdflatex \ --template=default.latex \ --documentclass=tufte-...
2 votes
2 answers
107 views

Why \frenchsetup is no more defined when using \babelprovide

I try to compile this very small LaTeX code which used to work but is no more: \documentclass{article} \usepackage{babel} \babelprovide[main,import]{french} \frenchsetup{ItemLabels=\textendash,og=«,fg=...
0 votes
2 answers
56 views

Pandoc PDF method for two-column layout in bibliography list section

I am seeking a method to format a document in two columns, including both the body and the bibliography reference list at the end. My current workflow uses markdown columns within the body correctly, ...
0 votes
1 answer
88 views

Pandoc CJK & Greek MWE's Greek alphabet spacing too wide

Background I'm preparing a series of simple document templates on my personal site. To allow readers who have never used pandoc to see the visual output, I added some  <object class="...
1 vote
1 answer
43 views

Undefined control sequence using citeproc to convert MD to PDF with a template. Works fine without template

I am writing a document in markdown with inline citations [@ref]. References are stored in a separate biblatex file managed with betterbibtex and zotero. I am then using pandoc to render this to PDF ...
0 votes
1 answer
31 views

Can pandoc convert footnotes from latex to inline-footnotes in markdown?

I googled but couldn't find and option or extension to convert a tex file to md with inline footnotes. For example, Topic\footnote{Important topic} is converted to Topic[^1] [^1]: Important topic Is ...
0 votes
1 answer
80 views

How can I use the installed "Adobe Garamond Pro" font?

I am using pandoc to convert .txt to .pdf. I was trying to use the font Adobe Garamond Pro which I installed on my Mac, but I couldn't generate a .pdf file with the font (it keeps displaying the ...
0 votes
0 answers
69 views

Is normal Garamond a part of installed font for Latex?

I was trying to use Garamond for my pdf document by using pandoc, but it seems that there is no fontfamily for a normal Garamond although it is in the catalogue(https://tug.org/FontCatalogue/garamond/)...
2 votes
1 answer
73 views

Typefaces Look Off/Different After an Upgrade?

I used pandoc to convert my markdown files into PDFs. The command I use to do this is as follows pandoc myfile.md -s -o myfile.pdf and then I convert that PDF to a half size layout via pdflatex ...
1 vote
1 answer
14 views

How to refer to current overlay number in hyperlink overlay specification?

I use pandoc and custom lua filters to simplify the design of my beamer presentations. Here is an example of the pandoc Markdown I currently write: # Frame title ::: incremental ## Block title - [...
0 votes
1 answer
59 views

Easy way for a bibliography in Word?

I have already tried Mendeley and it is difficult to add a .bib file for every research article and load it. It feels like separate research to me. Either how Mendeley works is clearly bad or I am ...
20 votes
2 answers
16k views

LaTeX + Biblatex bibliography to other formats via Pandoc

I am trying to convert a simple LaTeX file that uses biblatex-chicago for citation formatting to, say, .docx via Pandoc. Unfortunately, I don't seem to be able to find the right invocation of Pandoc ...
1 vote
1 answer
2k views

Latex error: sty file not found after pandoc upgrade

I'm using pandoc to render a markdown document to a pdf. Everything was working fine when I had pandoc 1.x (I think it was 1.16), which I had installed using apt-get. But then I upgraded to version 2....
13 votes
1 answer
2k 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 ...
0 votes
0 answers
41 views

Error when iterating an RMarkdown using kableExtra::column_spec()

This is my best shot at a minimum example, but it's still a little long and convoluted. I've created an RMarkdown that generates a PDF of the cars dataset using Pandoc and LaTeX. I want the width of ...
1 vote
1 answer
770 views

LyX: Missing menu entry for export to docx

I have LyX 2.3 installed, and my understanding is that LyX > 2.2 should have an option to export to *.docx out-of-the-box (e.g. "File > Export > MS Word Office Open XML"). But for me, that menu item ...
0 votes
1 answer
70 views

Inserting a PDF Comment with pandoc

What's the easiest way to insert a PDF comment attached to a block of markdown? I discovered pdfcomment but don't know how to use it with pandoc (or if that's even possible).
-1 votes
1 answer
66 views

Vertical image spacing in Pandoc generated PDF [closed]

I work on generating a large PDF file from a markdown source with Pandoc. The document contains lots of non-floating images without caption. In these cases, the generated LaTeX code is simply \...
0 votes
1 answer
47 views

Alon.cls incompatibility with hyperref – workarounds?

I'm writing a book with CRC publishing who gave me their proprietary Alon.cls class file[^1]; unfortunately, its documentation warns of incompatibility with hyperref without giving more details, and ...
1 vote
1 answer
78 views

How do I map markdown headings onto LaTeX headings?

When I run my markdown file through Pandoc, this line... # First Book: The Person becomes... \section{First Book: The Person}\label{first-book-the-person}} What I want is... \part{First Book: The ...
1 vote
1 answer
58 views

How to find a style that displays an unusual text field? [closed]

I have moved this question over to SO, because it involves Pandoc, citeproc, and CSL, but not biblatex. Please answer there if you can. I have a biblatex file produced automatically by R that ...
1 vote
2 answers
1k views

Creating bilingual (german, devanagari (hindi, sanskrit)) pdf using markdown, pandoc and xelatex

I have been looking for a good setup to create bilingual documents for a while, and have recently stumbled onto Markdown. I am running Linux. In Remarkable and Atom, I get Devanagari and German ...
0 votes
1 answer
120 views

Reference citation in latex block in pandoc

In my markdown document I have a complex latex table with a caption, in which I would like to add a reference. The table can be seen below... \begin{table}[ht] \captionof{table}{Some complex table \...
0 votes
1 answer
259 views

Pandoc kaobook sidenote issue

I'm using Obsidian to write markdown text in order to export to PDF using pandoc PDFLateX. I'm using using tufte-book class and it's working perfect. The problem is that I'm trying to use kaobook ...
0 votes
0 answers
66 views

Pandoc issue with html download

I have a problem with pandoc. I have a script that converts markdown files into pdfs with pandoc and LaTeX and uses a .tex file with the --include-in-header option to format the input. This works like ...
0 votes
0 answers
22 views

Export alignment information during docx to html conversion - pandoc

I'm using pandoc in my website to allow my content creators to use Word, which would simplify developmnent immensely. The only issue I have is that Pandoc seems to output very little information about ...
8 votes
4 answers
9k views

Pandoc: does not include input files

I have a LaTeX root file that refers to many other single files. Those files are included/referenced by \input{somefolder/somefile} But somehow Pandoc is generating the output just from the main ...
3 votes
2 answers
514 views

pandoc LaTeX Error: Unicode character ∀ (U+2200)not set up for use with LaTeX

I have created a minimal reproducible example. I start with: test.md ∀x ∈ ℕ ( P(x) ) and I am running the following command: pandoc test.md -o test.pdf I get the following error: Error producing ...
58 votes
3 answers
55k 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
1 answer
65 views

I got this error message although every font is installed: "Error producing PDF ! LaTeX Error: File `[fontname].sty' not found"

I am using pandoc to convert txt files to pdf. Whenever I specify a font in my metadata, I am getting the following error message, although I've checked that every font is installed: % Error producing ...
10 votes
1 answer
3k views

Pandoc LaTeX to .docx, change font size

I am using Pandoc to convert a LaTeX document to .docx, but i have not been able to figure out how to change the font size. An MWE looks like this \documentclass[10pt]{article} \begin{document} Hello ...
0 votes
0 answers
157 views

Markdown, Pandoc,LaTeX and admonitions

I'm writing manuals for our programs using Markdown and serving with MKDocs, but I would also like to offer the manuals as a downloadable PDFs. Pandoc and the Eisvogel template go a long way, but as ...
0 votes
1 answer
99 views

Pandoc CMD call tex template and pass variables

I'm trying to pass variables to a tex template to generate a PDF with those values via pandoc. This is my template: \documentclass[15pt]{article} \usepackage{sectsty} % Margins \topmargin=-0.45in \...
0 votes
0 answers
45 views

Quoting my references/source doesn't work in latex with pandoc

I use pandoc to compile my text in markdown and latex. I need to quote my source in a latex loop but it doesn't display correctly in the result. I use a .bib file to give the information about my ...
1 vote
1 answer
196 views

Missing chapter numbering in pandoc

Setup This question regards the following workflow: markdown file (input) -> pandoc -> PDF (output) Pandoc version: $ pandoc --version pandoc 2.9.2.1 Compiled with pandoc-types 1.20, texmath 0....
1 vote
2 answers
231 views

Markdown + pandoc + beamer, how to set the aspect ratio?

I'm using the command pandoc -t beamer in.md -o out.pdf to generate slides from a markdown file. It seems the default aspect ratio is 4:3. How do I set it to 16:9?
0 votes
1 answer
128 views

Abstract title with eisvogel template

I am creating a PDF document with Pandoc using the eisvogel template. It does not print the Abstract title. I added it to the meta-data, but I believe it is not used with LaTeX. This is the minimum ...
2 votes
0 answers
222 views

Help with Lua filter for markdown to LaTeX with Pandoc

In markdown (written in Obsidian.md) I use a plugin/theme so that *==text==* is rendered as red instead of italic and highlighted. I use this lua-filter to convert regular ==highlighting== to LaTeX \...
3 votes
0 answers
843 views

Convert Latex with lots of math to web-friendly format [closed]

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. ...
1 vote
1 answer
367 views

pandoc-template markdown to pdf with latex no working

I’m trying to create a minimal working pandoc template that would just take the latex.cls from the YAML metadata block in the source.md file. So here is my template: $if(documentclass)$ \documentclass{...
1 vote
1 answer
38 views

Rewriting non float code listings Pandoc compatibility

In a previous question I asked whether it would be possible to create a listing in LaTeX using fancyvrb and fvextra satisfying the following requirements: Allowing for page breaking (non-float) Line ...
0 votes
0 answers
44 views

Troubleshooting Pandoc's LaTeX output: longtable alignment and line break issues

I am using Pandoc to convert a markdown document to tex. The document includes a table, for which the source code is: | Video | Pose Estimation | Notation | Gloss | English Translation ...
2 votes
2 answers
209 views

pandoc-crossref subfigure references are off by one when using ruled style

I am using pandoc (version 2.19.2) to write a document. I want to use the ruled float style, similar to the style which is automatically applied for pandoc-crossref code blocks (which are converted to ...
0 votes
1 answer
374 views

Pandoc - Citations don't link to the reference [closed]

I am using Markdown to write the text and Pandoc to convert that text to a PDF. My problem is that the citations are correctly being generated in the PDF (eg. [@somekey] is converted to [1]) but they ...
0 votes
0 answers
293 views

Convert Latex Document to Word Document with Pandoc

I have a latex file saved as mylatex.tex in a folder named latextoword saved on my Desktop on Windows operating system. I want to convert the latex document mylatex.tex (see below) to a word document ...
1 vote
1 answer
40 views

Redefining itemize environment for deeper nesting causes compilation to freeze

I'm trying to add some nesting levels to the standard itemize environment using enumitem. The idea is to add this to the -H argument so as to allow pandoc to handle deeper itemized list nesting. Here'...
9 votes
2 answers
4k 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
1 answer
125 views

Using enumitem & setlist, itemsep doesn't work with pandoc

I'm using the enumitem package with a setlist header-include to customize definition lists, and it's working great, except that no matter what value I give to itemsep the vertical space between items ...
2 votes
1 answer
422 views

How to convert a publication written in Latex to markdown?

I'm trying to convert a Latex file to a markdown format with pandoc 3.1 but the resulting markdown file doesn't generate the title nor the references properly. I'm kind of at my wits end here as ...
1 vote
0 answers
59 views

Numbered equation converting from Latex with Pandoc

I noticed that pandoc does not properly number the equations when converting latex sources into (e.g.) HTML or docx. For example: \documentclass{article} \begin{document} \begin{equation} ...

1
2 3 4 5
13