Skip to main content

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
1 vote
1 answer
3k views

How to use pandoc to convert markdown to readable/editable LaTex with Beamer?

I have asked this question on SO, but it didn't get any response, so I am tryin here as well, I hope it's not out of scope. If I use this minimal example of a Markdown slide ### Slide - A - bulleted ...
0 votes
1 answer
37 views

Customized highlighting of a markdown text document with Pandoc [duplicate]

Using Pandoc to render PDF from a Markdown text file, I use highlighting code blocks to format a different type of text, like this: this is normal text ~~~~~~ this is special text ~~~~~~ The snippet ...
2 votes
1 answer
83 views

How to change entry-spacing to something like 0.5 with CSL stylesheet ieee-with-url

I am using Pandoc with the --citeproc command line parameter to generate references using the ieee-with-url CSL stylesheet from here: https://www.zotero.org/styles?q=ieee-with-url: pandoc --from ...
1 vote
1 answer
805 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
159 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 vote
1 answer
1k views

Pandoc and MikTeX

I'm using Windows 10 and MikTeX 2.9. If I install Pandoc into the same system, are both clause? Need advise in this regard.
0 votes
1 answer
39 views

Covert Markdown to LaTeX using Pandoc but exclude some text from appearing in .tex file [closed]

I have added several notes in my Markdown document but when converting the mardown to .tex file using Pandoc, I do not want those notes to appear in .tex file: Here is the text with the notes: "...
0 votes
0 answers
31 views

Compile tables translated from DOCX by Pandoc

Starting with a simple .docx file containing a table: Converted to LaTeX with vanilla Pandoc: pandoc ./Table.docx -o Table.tex Produces the following output: \begin{longtable}[]{@{} >{\...
4 votes
1 answer
145 views

Unicode character └ (U+2514) not set up with LaTeX (when using) pandoc with markdown text file

I am trying to compile in a pdf the following markdown file (ex.md): Some text ```text folder1/ └── folder2/ ├── folder3/ │ ├── file1 │ └── file2 └── folder4/ ├── file3 ...
0 votes
1 answer
60 views

Pandoc from Markdown to PDF: Font size is affected by linestrech?

I was able to make the font size 13pt for the document class article when converting md document to PDF through pandoc by adding the following YAML metadata in front of the document: --- documentclass:...
11 votes
3 answers
363 views

Circled numbers ❶, ❷, etc. as bullets and in paragraphs

I'm trying to use circled numbers (❶, ❷, etc.) as bullets and generally in text. I'm using XeLaTeX from Pandoc, but I'm not afraid of some inline TeX expressions or editing the template that Pandoc ...
0 votes
1 answer
23 views

\fancyvrb with bolded text in Verbatim [duplicate]

Probably an easy answer, but I am stymied. I am trying to improve on Markdown and use the fancyvrb package to use both Verbatim text and some bolded commmands. I am trying to simplify the TeX commands ...
1 vote
1 answer
49 views

Converting LaTeX to HTML without losing formatting from titlesec & titling

I've tried several existing TeX->HTML solutions, including tex4ht, pandoc, and lwarp, but all suffer from a similar issue where they completely lose all formatting done by titlesec, geometry, ...
0 votes
1 answer
50 views

Creating Lua filters; tikz externalize trouble

This is a draft of the Lua filter that I plan to use with Pandoc. The goal of this filter is to locate images created synthetically with TikZ (no images imported with `\usegraphicÚ), create a ...
0 votes
1 answer
22 views

Parsing macros and tikzstyle in Quarto (imagify Lua filter)

I would like to use Quarto and Tikz to create both html and pdf outputs. For this, I am using the filter imagify which converts Tikz pictures for html outputs. However, I have problems to parse a ...
0 votes
0 answers
31 views

Export tikz images to odt file on Windows: trouble with pdf2svg

I would need to convert my .tex file into an editable format such as odt. After various vicissitudes, I managed to find the right way. The equations are exported almost correctly (the command (\sin is ...
0 votes
0 answers
56 views

What is the default font of the Eisvogel pandoc template?

I'm writing a university thesis using the Eisvogel template. I will have to add to the text some plots generated in R, and for this reason I want the font of the plots to be the same as the body of ...
0 votes
2 answers
81 views

From Markdown to PDF by pandoc: how to change the font-size to 13pt with using KOMA-script

I am using pandoc to convert markdown document to pdf. I know that if I use extrasizes package I can use the font size bigger than 12pt for article. But what if I want to use fontsize that is not ...
0 votes
1 answer
129 views

Tikz plot in Quarto

I would like to use Quarto and Tikz to create both html and pdf outputs. For this, I am using the filter imagify which converts Tikz pictures for html outputs. However, I do not get the same results ...
0 votes
1 answer
90 views

Force Markdown text to be very small

I wish to add some frontmatter to my Markdown file, which then uses Pandoc and the Eisvogel template to generate separate sections of a PDF document. The build script I use is as follows: #!/bin/sh ...
0 votes
0 answers
68 views

How to convert these equations from LaTeX to Word with pandoc?

I have a document that I wrote years ago in LaTeX, and now I need it in Word format. The text part works fine using pandoc, but this document contains a large number of math equations. I used some ...
1 vote
2 answers
634 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
0 answers
58 views

Pandoc latex to word does not work well with \citep and \citet

I'm using the following config, along with \citep and \citet to make my references. Here is the config in my sty file: \usepackage[backend=biber,style=apa,natbib=true,url=false,uniquelist=false,...
0 votes
0 answers
45 views

Pandoc, equations and OpenOffice writer

I found an elegant way to convert .tex files to .docx format. The text rendering is really good, but some things are missing: The equations are not displayed: I think it is a problem with OO Writer, ...
0 votes
0 answers
36 views

Pandoc: Access violation in generated code when reading 0xffffffffffffffff

Reading the various answers on this site, I tried a way to convert a .tex file containing images generated with tikz into an editable format with MS Word. I followed the various instructions exactly, ...
1 vote
0 answers
19 views

Reverse numerical list using Rmarkdown rendered to PDF with LaTex template

I would like to list my publications in reverse order on my CV, which I am generating using Rmarkdown and a LaTex template. In my searching I found the etaremune package but cannot figure out how to ...
0 votes
1 answer
80 views

\newcommand syntax with callouts

I suspect I am just missing something minor, but thought perhaps someone could assist. I am using a Markdown file with the Eisvogel template. I am using both awesomebox and fontawesome5 packages to ...
2 votes
1 answer
173 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 ...
3 votes
1 answer
580 views

xelatex to epub3 with pandoc and footnote links?

I am creating an ePub like this: pandoc test.tex --latex-engine=xelatex -o e.epub --bibliography=works-cited.bib -f latex -t epub3+footnotes However, instead of getting footnotes like this in ...
1 vote
1 answer
144 views

Is it possible to use endnotes with references in Rmarkdown?

I’m finalizing a draft article for submission to peer review as a pdf. I originally wrote the paper using Rmarkdown with footnotes that include citations but I now need to convert the footnotes to ...
2 votes
1 answer
3k views

Eisvogel Template for LaTeX

I really like this template for the documents created with pandoc but I only want the style of this template. I have searched on google for eisvogel latex template but haven't got any. It basically ...
1 vote
1 answer
111 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 ...
0 votes
2 answers
116 views

Migrating LaTeX code from Markdown to Eisvogel

I have a combo LaTeX/Markdown question hoping someone can answer. I am using Markdown for all my writing, but I am also heavily leaning into the Eisvogel template. I have been able to enable several ...
0 votes
0 answers
23 views

Document wide table heading rotation

We use Markdown and pandoc to main a large'ish corpus of documents. Pandoc uses LaTeX as an intermediate format when exporting Markdown documents as pdf. As such, there is no way to apply formatting ...
2 votes
2 answers
523 views

Tighter formatting for Pandoc Markdown tables for xelatex PDF output?

I have a pipeline, where I start from a .csv file (full MWE as Python script below): Item #/offset,Description/name,Random info,Default value 0,Sum Difficult Copper ,Recover; sculpture,0 1,Joy ...
1 vote
1 answer
98 views

LaTeX and Markdown code block with user-input bolded

Cross posting here to LaTeX as the Markdown forum may not be the best suited to this question: https://stackoverflow.com/questions/77440809/markdown-code-block-with-user-input-bolded We are using ...
2 votes
1 answer
105 views

How to show reference's page in internal links

I'm using ConTeXt as a PDF engine with Pandoc, to convert from Markdown to PDF. I use pandoc-crossref to process internal cross references, for example "as seen in section 2.1". Is there a ...
0 votes
2 answers
889 views

Convert LaTeX to Word with Pandoc, including citations and bibliography

I'm trying to convert a LaTeX document ("latex-to-word.tex") to Word using pandoc. Unfortunately, I cannot print neither the reference list nor parenthetical citations in the Word file. I'm ...
2 votes
1 answer
168 views

RStudio + LaTeX template: compilation error undefined control sequence -- how to debug this myself?

I am creating a LaTeX template based on the template provided by Springer Nature link .. and direct download link When rendering I get the following error: compilation failed- error Undefined control ...
0 votes
1 answer
71 views

Enable breakline in blockCode with pandoc

I'm kinda new with LaTeX so maybe what I'm asking is evident. I want to use pandoc for translate markdown files in pdf. After many tries, I've manage to break blockcode when the line is too long. But ...
1 vote
2 answers
447 views

Pandoc vs LaTeXML for LaTeX conversion

Why would we use LaTeXML for conversion instead of pandoc? I see ar5ix uses LaTeXML instead of pandoc, which seems to be more widely known. I assume this is because LaTeXML renders latex better. ...
0 votes
1 answer
100 views

Is it possible to include citations within a `\textcolor` block?

I'm currently writing a response to reviewers document and it's required that my responses to each question be in red while the rest of the text is in black. I planned on using the xcolor package for ...
1 vote
1 answer
115 views

How would you use multicol with the default pandoc latex template?

Pandoc's default latex output works well for my use-case, but I would like the body to be in two columns. I've tried editing the default template, generated with pandoc -D latex, by updating the ...
1 vote
1 answer
3k 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....
0 votes
0 answers
67 views

pandoc convert LaTeX to docx and display "File not found in resource path"

I am using Pandoc to convert LaTeX to docx, and the example I am using is https://tex.stackexchange.com/a/614855/307309. The pandoc information as: But I get error:File not found in resource path ...
4 votes
2 answers
717 views

Avoiding kpathsea: Running mktexpk

I'm running pandoc in a docker container based on the FROM pandoc/ubuntu-latex image, and it's working fine. However, each time it runs, I get the kpathsea: Running mktexpk ... step which seems to ...
13 votes
1 answer
2k views

Framemaker to LaTeX [closed]

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
29 views

Need help adding blank pages between title page and table of contents in PDF generated by Pandoc

I am generating a PDF document using Pandoc, and I have a title page followed by a table of contents (TOC). I want to insert one or multiple blank pages between the title page and the TOC. I've tried ...
0 votes
0 answers
62 views

pandoc --metadata-file yaml on xelatex and debian - how to debug?

Please guidance and help. How can I debug a pdf generation from a latex template (using xelatex)? I am having trouble bringing metadata from yaml files, is there a way to see log, aux, out files when ...
2 votes
1 answer
848 views

LaTex serif fonts not working on Pandoc

I have some documents in markdown that I'm trying to convert to PDF using the default latex-engine, pdflatex. This is on a CentOS 7.9. In the markdown minimal example file, I have a yaml header which ...

1
2 3 4 5
14