Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
29 views

I am trying to generate custom-named headers in PDF files from Markdown. I am using LaTeX and the Eisvogel template. I want to edit the numbering of the Markdown headers, i.e., the single hash (#), ...
Kerry Cox's user avatar
  • 121
0 votes
0 answers
70 views

My little demo example is given as follows: --- output: pdf_document: latex_engine: xelatex keep_tex: no documentclass: extarticle classoption: "a4paper,8pt,oneside,twocolumn" ...
John Stone's user avatar
3 votes
1 answer
96 views

TLDR: exams2pandoc() does not produce the same latex source produced by exams2pdf() A full description of the problem is the following. I wrote an exercise in file ex1.qmd (screenshot) with the ...
Luca Scrucca's user avatar
3 votes
2 answers
109 views

I'm still quite new to Haskell and don't have a great grasp of monads intuitively. I'm trying to write the function below: applyPandocFilters :: (MonadIO m, PandocMonad m) => Pandoc -> m Pandoc ...
paid50-face-pretty's user avatar
0 votes
0 answers
77 views

I use Pandoc to export my Markdown to PDF. I sometimes include code blocks that are only 5 lines. They become unreadable if the PDF has a page break inside the code block. How can I instruct either ...
J. Mini's user avatar
  • 1,746
0 votes
0 answers
252 views

Performed a git clone of the Pandoc Dockerfiles on GitHub: https://github.com/pandoc/dockerfiles/tree/main When using the pandoc/extra:latest-ubuntu Docker image, I can run Docker and convert simple ...
Kerry Cox's user avatar
  • 121
1 vote
0 answers
50 views

Is there a way to set the default graphics format for files given to knitr's include_graphics() function? Its auto_pdf = TRUE is close to what I want (i.e. it chooses PDF files over files with ...
NicolasBourbaki's user avatar
1 vote
1 answer
222 views

Recently I have adopted a workflow of using Obsidian to take notes, but my employer requires me to use Word to create documents. Since I like using Obsidian and vim keybinds, I was looking into using ...
ljbkusters's user avatar
1 vote
0 answers
75 views

I've searched several posts here, but none of the solutions worked. Or I'm doing something wrong somewhere else lol. I'm creating a report in docx (originally, an html) with Pandoc (currently I'm ...
Dimas Pante's user avatar
  • 2,531
0 votes
0 answers
186 views

I would like to use Pandoc to convert docx documents to LaTeX, where I have some custom commands to fill from the docx to the preamble of my LaTeX template. I took a look at the default.latex template,...
drl's user avatar
  • 111
-1 votes
1 answer
116 views

I am using the following shell command to convert from EPUB to Markdown, pandoc "input.epub" -t gfm-raw_html -o output.md It's working well, except for the fact that EPUB links remain, ...
F. Zer's user avatar
  • 1,311
1 vote
1 answer
225 views

I am new to pandoc/Lua. I have a markdown file from our Gitlab repository I would like to locally convert using pandoc. The file contains ::include directives. I have started doing a Lua filter for ...
Josep's user avatar
  • 593
1 vote
0 answers
41 views

If I get a mathematical answer from Google Gemini, I can choose copy, then paste it into Emacs. At this point it's presumably markdown, so I save it as somemath.md. When I look at it, it has all the ...
147pm's user avatar
  • 2,289
0 votes
1 answer
37 views

I am using pandoc to convert markdown files containing TeX bits to html. Because the text is in Italian, I want to use comma as a decimal separator. However, pandoc keeps adding a space after the ...
Massimo2013's user avatar
0 votes
1 answer
80 views

I've set up a Pandoc custom-reference.docx template, but I'm unsure if I have it in the wrong directory or I need to add something to my pandoc command. I've used the command pandoc -o custom-...
oceanclub's user avatar
  • 923
0 votes
1 answer
77 views

I'd like to append HTML attributes to paragraphs in the same way I can do it for headings, links, images, etc., like so: # My nice heading {.some-class} ![an image](image.jpg){.some-class} [a link](...
Joshua Muheim's user avatar
1 vote
1 answer
49 views

I'm converting docx to Markdown using Pandoc. Some links are converted to Markdown autolinks. I would like switch off the autolinks generation in Pandoc, but did not find a way to do that. Background: ...
BetaRide's user avatar
  • 16.9k
0 votes
0 answers
326 views

I've been trying to use Microsoft Word as a template with Pandoc, but I'm stuck and not sure if what I want to do is even possible. My goal is to have a Word document with a cover page where I can ...
Mark Pinsley's user avatar
0 votes
0 answers
43 views

I'm trying to make an EPUB book with two "parallel" sets of endnotes. The content itself is an old book, and the two sets of endnotes are supposed to be commentaries/annotations from two ...
yyy's user avatar
  • 75
1 vote
1 answer
115 views

I would like to run a command of the form 'pandoc foo.md -o foo.tex -M title='Some Notes on $x^{y^z}\pi$' --template=mytemplate.pandoc where mytemplate.pandoc uses $title$ to print a title, put the ...
Kensmosis's user avatar
  • 115
0 votes
0 answers
40 views

I'm using Pandoc to convert LaTeX to Markdown. The conversion is great, except Pandoc adds "[" and "]" all over (example below). How can I stop that? 1. \[ \] **a heading ...
SRobertJames's user avatar
  • 9,367
0 votes
1 answer
176 views

I need to convert a Latex document containing Tikz pictures to HTML. The following is an example document example.tex: \documentclass[a4paper]{report} \usepackage{tikz} \usetikzlibrary{automata, ...
infcs.ltd's user avatar
0 votes
1 answer
116 views

I am using Rmarkdown and Pandoc with a custom template to make a report where I have a table showing the users who have approved the content of a report. In my template, I've put this signature block ...
Benjamin's user avatar
  • 17.3k
0 votes
0 answers
59 views

I want pandoc to set border="1" in the <table> tag of the HTML pandoc produces. I am forced to use the workaround $ pandoc ... | perl -pwle 's/<table/$& border="1"/' ...
Dan Jacobson's user avatar
0 votes
1 answer
194 views

I have this markdown that I'd like to \include{} in a larger latex document. $ cat example.md # heading - Item 1 - Item 2 ```bash Code block ``` If I run that through pandoc 2.9.2.1 (Debian 11) I ...
Stewart's user avatar
  • 5,210

1
2 3 4 5
54