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.

118 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
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 ...
6
votes
0answers
220 views

Exporting tables made with dcolumn and multicolumns to docx using Pandox

I am trying to convert a tex-document into a docx-file to share it with some colleagues who do not use TeX and will not do so in the (near) future. At the moment, the best possibility seems to be ...
5
votes
0answers
1k views

How to make pandoc use a custom class

I want to use the ModernCV template with pandoc. I have a custom .cls file, various .sty files and one .tex file that makes use of the custom class. I can convert the .tex file with pdflatex without ...
5
votes
0answers
1k views

Pandoc breaks hyperlinks in LaTeX file conversion

I want to convert a (quite complex) LaTeX file to epub using pandoc with: pandoc -S file.tex -o file.epub I have not used markdown in the creation of the tex file, however. When I, now, check the ...
5
votes
0answers
411 views

bibliographies and siunitx in pandoc

I'm using pandoc to convert my TeX file in a .docx file. The formatting, equations and images work very well, but I have some issues: References to images don't show properly. They show only the name ...
4
votes
0answers
894 views

Pandoc (LaTeX → HTML) does not use specified .cls file

I'm attempting to use Pandoc to convert some math-heavy LaTeX into HTML. To make the TeX code easier to read and write, I've factored some macros into a .cls file in the same directory, and used it as ...
4
votes
0answers
2k views

Pandoc Markdown Table header background Color

I am using pandoc markdown to convert my documents to pdf. I have tables in the document that required formatting. I was able to create alternative colors for rows. However, I am unable to change the ...
4
votes
0answers
569 views

short version subsection titles for TOC using Pandoc markdown

I have a Thai document in markdown with rather long subsection titles and would like a shorter version for the Table of Contents. In Pandoc I am exporting to pdf, epub and html. Is my best solution ...
3
votes
0answers
269 views

Including an Rmd file in a Rnw file using pandoc

I was trying to follow this example that shows how to write a separate chapter in RMarkdown and then include it in your main RNW file using \include{}. However, I have not been able to get pandoc to ...
3
votes
0answers
612 views

Pandoc Latex: Overflow in Longtable

I use pandoc with some custom LaTeX template to generate a PDF Table. Hence, I cannot easily influence how Pandoc generates the table code, but instead I can change the configuration in the Latex ...
3
votes
0answers
968 views

styling verbatim with background color

I am using pandoc to convert Markdown documents containing code blocks to PDF, and the intermediate TeX surrounds the code with \begin{verbatim}...\end{verbatim}. How can I stylize and format these ...
3
votes
0answers
4k 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 %...
2
votes
0answers
36 views

Parsing to package-independent Tex

Is the ability to create package-independent TeX readily available? I would like, for example, to have a system with access to a package (e.g. mhchem) create TeX that could then render on a system ...
2
votes
0answers
130 views

Set table headings to bold with latex (eisvogel template)

I'm having trouble figuring out how to set the table headings to bold when using the eisvogel.tex template file. I suspect it's a longtable setting, but I've been unable to find out which parameter to ...
2
votes
0answers
107 views

pandoc latex to rtf - No link colors

I am trying to convert a document from latex to rtf using pandoc. The conversion works fine, except for the colors of the citations. The usual latex pipeline produces the expected result: But the ....
2
votes
0answers
141 views

tlgmr error: First directive needs to be 'name'…

I asked this question on stackoverflow first (see here), buy asking her too. I am getting the following error on various tlmgr related commands, such as: | => tlmgr list First directive needs to ...
2
votes
0answers
368 views

converting from beamer to pptx - pandoc and other options

We have many slide decks in beamer that need to be converted to PPTX --- ideally retaining the math and graphics. We have used pandoc successfully to convert LaTeX to word (and vice-versa), but ...
2
votes
0answers
745 views

“Please (re)run BibTeX on the file(s)” with Pandoc

I'm trying to use Pandoc to generate an MLA-styled paper from a Markdown document, with LaTeX as an intermediary. Everything is working perfectly so far (well, for PDF output, anyway)—except the ...
2
votes
0answers
940 views

Pandoc not handling in-text citation with certain csl file

Here's an example input markdown file: @brandt2009two, observing programmers building an online chat room in the lab, found that online resources are leveraged primarily to engage in *just-in-time ...
2
votes
0answers
595 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
1k 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 ...
1
vote
0answers
24 views

pandoc-crossref does not resolve proper equation referencing from LaTeX to Word

When i send a LaTeX document through Pandoc to create a MSWord file, the equation referencing is lost. I am using pandoc-crossref for referencing. Does anyone has an idea how resolve this issue? The ...
1
vote
1answer
190 views

How to rotate a Markdown table to landscape? Solutions I've tried print the markup instead of the rendered table

I'm using Markdown to create a PDF via xelatex and pandoc. Here's my command line: pandoc -s combined.markdown --from markdown+table_captions+auto_identifiers --filter mermaid-filter.cmd --pdf-engine=...
1
vote
0answers
289 views

miktex slow compile

I have written a build system in sublime text 3 to build markdown files and convert them to pdf. my system is: OS: Windows 10 MiKTeX version: MiKTeX 20.12 pdflatex version: MiKTeX-pdfTeX 4.1 To ...
1
vote
0answers
75 views

LaTeX to html pages with interactive features

My search has brought to several questions with a similar gist to mine, but I could not find a satisfying ansewr to my specific needs. In addition, these threads were quite old and maybe things have ...
1
vote
0answers
408 views

Can Pandoc be used with Overleaf? Are there any other programs that converts between all kinds of markup formats?

Can Pandoc be used with Overleaf? Are there any other programs that converts between all kinds of markup formats? I use Linux and Overleaf editor.
1
vote
0answers
120 views

Bulleted lists in tcolorbox within a Markdown document

Am using the following code in my Markdown preamble to use tcolorboxes within my markdown code: header-includes: - | ```{=latex} \usepackage{tcolorbox} \newtcolorbox{norm-box}{colback=gray!5!...
1
vote
0answers
502 views

Tables converted from markdown to pdf via pandoc puts an unnecessary pagebreak before them

I have a project that converts Markdown files into PDF, using pandoc and a LaTeX PDF template. I'm having a strange issue with the tables. For very few cases (something like 2 in 200 documents), the ...
1
vote
2answers
598 views

How to keep a table on the same page?

I have a report with many summary tables of regression output and converted them into tables using pander in the Rmarkdown document. Even though all tables are less than one page, they sometimes break ...
1
vote
0answers
124 views

pandoc-crossref missing top-level section number in reference to subsubsection

In the following Pandoc markdown document, pandoc-crossref incorrectly assigns the section number 1.1 instead of 2.1.1 to the reference to sec:first-background-subsubsection (level=3). The reference ...
1
vote
0answers
1k views

Using Pandoc to convert Markdown to Beamer Slides with PDF Bookmarks

I recently learned how to use Pandoc and TexLive LaTeX to convert Markdown to Beamer slides. The command I'm using is this: pandoc src/00_local_git.md -t beamer -o slides/00_local_git.pdf However, ...
1
vote
0answers
565 views

Strange pandoc behavior when referencing figures and converting LaTeX to Word

I am working on a scientific paper (my field is in biomedical engineering/imaging) and unfortunately everybody I work with insists on using Word for everything. I can't stand Word with its poor ...
1
vote
0answers
77 views

Is there any way to tell Pandoc to leave begin equation as is?

I am using Pandoc to convert from Latex to Html with Mathjax, i.e., pandoc --mathjax -s -f latex input.tex -t html -o output.html. The only issue is that \begin{equation} ... \end{equation} is ...
1
vote
0answers
139 views

Converting a Pandoc LaTeX template to a Documentclass

This may be an inappropriate question to ask in a dedicated TeX/LaTeX forum, but I'm not sure where else to post it. Are there any guidelines (or tools) for converting a Pandoc LaTeX template into a ...
1
vote
0answers
155 views

pandoc md to pdf ,the ordered list to enumerate cause error Something's wrong--perhaps a missing \item

Here is a markdown file 1. A 2. B 3. C use pandoc -i test.md -o test.pdf to convert to pdf. But got an Error: Something's wrong--perhaps a missing \item use pandoc -i test.md -o test.tex to convert ...
1
vote
0answers
207 views

Pandoc not converting inside custom environment

I use custom enviroments to produce Theorems, Lemma, Propositions, etc in a LaTex file like this: \newtheorem{thm}{Theorem} When I use Markdown+pandoc I write: \thm{A theorem.} And I get the ...
1
vote
0answers
44 views

List of Equations with tocloft not created with Pandoc

I want to create a list of Equations in my thesis and have used this to create my own version for use with pandoc: --- header-includes: | \usepackage{amsmath} \usepackage{tocloft} --- \...
1
vote
0answers
80 views

How can I use [@ref] in a figure context in latex?

I want to add the source of a figure in the caption with [@testQuelle] but it just shows the text "[@testQuelle]" under the picture. What am I doing wrong? When I try to cite my source outside the ...
1
vote
0answers
133 views

Bibtex & formatting CSL title

I found a way to use pandoc-citeproc to create a PDF from a markdown file with references in Bibtex and citation with footnote-like references using an edited ieee.csl file. I used miscand put the (...
1
vote
0answers
1k views

Markdown and bibtex to PDF with numbered references

I have a markdown file with resources in a bibtex file that I compile to a PDF. Is it possible to make the citelinks as numbers (footnote style) instead of e.g. (Jia et al. 2013)? I have seen ...
1
vote
0answers
762 views

Convert latex to Word via pandoc with numbered and unnumbered sections

I have a document (FromLaTeX.tex) something like this: \documentclass{article} \begin{document} \section*{Introduction} \section{First} \section{Second} \subsection{Numbered subsection} \subsection*{...
1
vote
1answer
580 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 ...
1
vote
0answers
185 views

Making TeX PDFs compatible with Word 2016 importing

I'm changing the focus of this question after experimenting a little further, I've left the original question in the quote at the bottom. As the original question points out, newer versions of Word (...
1
vote
0answers
55 views

Subdivided bibliography with pandoc

I use pandoc-citeproc for formatting my text (written in markdown), because I need to use a specific CSL style for the references of my thesis. Everything works well. I precise that I've set Pandoc to ...
1
vote
0answers
843 views

Converting .tex to .docx file with a certain document class using pandoc

Extreme TeX and **LaTeX* newcomer, I am trying to convert a .tex to a .docx (Word) document. I am using the pandoc command line utility and got so far as converting the document, i.e., by doing ...
1
vote
0answers
336 views

How to avoid strange page breaks in bibliography?

Problem In the PDF for my PhD I get a lot of very strange page breaks in the middle of the page in the bibliography section (see below) Setup I write my PhD in pandoc markdown. I then convert the ...
1
vote
0answers
1k views

keep colored text from .docx to .tex using pandoc

I use pandoc on a Mac to translate a .docx document to a .tex document. The problem is that some words in the .docx document are colored (not highlighted but colored letters) and pandoc doesn't ...
1
vote
1answer
575 views

Pandoc Output PDF with Code Block using listing other than verbatim

I using RStudio and Pandoc to output my document created in markdown to PDF. Pandoc always convert the code blocks in markdown using verbatim environment. Does anyone know how to switch the default ...
1
vote
0answers
343 views

`paper` document class: no date, no author(s) affiliation

Hello :) I am new to tex in general, and in fact I am using it through pandoc to generate pdf documents... I posted a question in StackOverflow (link here) but didn't get any help, my problem is the ...