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 how to handle pandoc's LaTeX output are on-topic.
707 questions
2
votes
1
answer
130
views
create an info and a warning block from markdown to be exported using pandoc
I'm new to latex, I've tried looking around for an answer but I haven't found anything that worked for me.
I'm trying to modify a template to be used with pandoc, in order to render a markdown ...
3
votes
2
answers
505
views
How can I convert LaTeX to some text format preserving the section numbering?
A simple LaTeX document like
\begin{document}
\section{One}
Text.
\section{Two}
More text.
\end{document}
will be compiled into a PDF with numbered sections, like
1 One
Text.
2 Two
More text.
Is ...
3
votes
1
answer
120
views
How do I generate an epub from a .tex requiring XeLaTeX to compile?
I have a document that must be compiled with XeLaTeX due to usage of the fontspec package, and I'd like to use make4ht to convert the .tex file directly to an epub (exact epub standard doesn't matter)....
0
votes
1
answer
98
views
How can I convert a LaTeX document to HTML with APA-style references included using Pandoc?
I'm using LaTeX to write school assignments and discussion posts, and I rely on Zotero for managing references. My workflow is LaTeX + Zotero in VS Code, which is more accessible with a screen reader ...
1
vote
0
answers
55
views
Pandoc and iCloud
I recently started experimenting with LaTeX for my academic papers. However, my professors would like me to submit assignments in a Word Document. I have two questions:
Pandoc: I have my files saved ...
0
votes
0
answers
36
views
Longtable first row duplication when using pandoc template
I found a bunch of nice pandoc themes here. Everything works fine except for adding captions to tables.
When I create a table, everything compiles fine but when I add a caption to it, the first row ...
1
vote
1
answer
93
views
LaTeX novel class and pandoc
I am trying to use pandoc to convert a document written in novel class to microsoft word. I notice that when I run pandoc in the usual way (pandoc -i myfile.tex -o myfile.docx) the output drops all of ...
1
vote
0
answers
112
views
Using Pandoc for HTML to PDF Conversion throws error: Forbidden control sequence found while scanning use of \LT@nofcols
EDITED to include tex output in a code block below
I have a specific task to convert quite a number of our historic village newsletters from HTML to PDFs, so far it has worked well but a new page ...
2
votes
1
answer
92
views
Simultaneously cross-referencing numbered amsthm theorems and numbered equations using pandoc for LaTex to HTML conversion
I am trying to use pandoc to convert a latex file into an html file with math rendered via mathjax or mathml. I would like to simultaneously provide cross-references to both numbered amsthm theorems ...
0
votes
1
answer
71
views
References not working in pandoc latex to rtf
So I'm following the example here pandoc latex to rtf - No link colors
pandoc main.tex -f latex -s -o test.rtf --bibliography main.bib
main.tex
\documentclass{article}
\usepackage{graphicx} % Required ...
0
votes
0
answers
691
views
DOCX to PDF Conversion Error: Forbidden control sequence found while scanning use of \LT@nofcols
I'm trying to convert a DOCX file to a PDF using Pandoc on a Windows machine with MiKTeX installed. I ran the following command to do so:
pandoc demo.docx -o demo.pdf
But I encountered this error:
...
1
vote
1
answer
123
views
Biblio-style in Pandoc-LaTeX
The pandoc manual (https://pandoc.org/MANUAL.html) explains that the YAML variables when using BibLaTeX for citation rendering are:
biblatexoptions
biblio-style
biblio-title
bibliography
...
0
votes
0
answers
330
views
Zettlr with own Latex template to export to PDF
I use Zettlr and Pandoc as a portable installation.
Zettlr export XeLaTex PDF worked fine with my markdown.
I would like to make some Latex adoption for the PDF.
Now I updated the the export file in ...
2
votes
2
answers
172
views
A new command for hanging indentation works in LaTeX but not in Pandoc for some reason
LaTeX
This is my minimum working environment for LaTeX:
\documentclass{article}
\newcommand{\hangingindent}{\medskip\par\noindent\hangindent=2em\hangafter=1}
\title{Detraxit consequat mnesarchum}
\...
4
votes
1
answer
282
views
Template produces "1" at the end of a tabbing environment - I can't find out why
I am currently trying to make a very simple recipe template. My workflow is: Markdown -> Pandoc (LaTex — Lualatex Engine) -> PDF.
Everything works, but I can't figure out why there are 1 at the ...