Skip to main content
0 votes
0 answers
42 views

x "! Package longtable Error: longtable not in 1-column mode." from twocolumn article (extarticle) and longtable for (raw) markdown tables

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
2 votes
0 answers
48 views

How to remove extra bracket in markdown footnote intext citation?

I use rmarkdown and pandoc to convert .md or .Rmd files to .docx files. The issue is in the footnote citation. I got extra bracket for intext citations. It would be great to know how to remove it with ...
Jaannne Qiieen's user avatar
3 votes
1 answer
86 views

R/Exams latex output problem using exams2pandoc()

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
0 votes
1 answer
58 views

Is there a way to generate HTML and PDFs with selectable text in pandoc?

I am writing some documentation in Pandoc Markdown, and I would like a diagram to have selectable text in both the HTML and PDF output. I made the diagram in draw.io, so I can export it as a PDF or ...
chrism99's user avatar
3 votes
2 answers
98 views

How to use Haskell `do` notation with multiple monad constraints

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

Combine Latin and Arabic/Hebrew script in pandoc to latex

I have a bunch of texts in pandoc which are generally written in English, but also contain Arabic and Hebrew text. The Hebrew text is just running text; as for Arabic, sometimes an Arabic character is ...
bulbul's user avatar
  • 80
0 votes
0 answers
56 views

Pandoc Markdown prevent page break in code blocks exported to PDF

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

How to use a colon (:) in the title of a Pandoc document

In text.md file, the following is the title: --- title: Heading1: Heading2 --- Due to the colon (:), executing the following command yields an error message: pandoc text.md -f markdown --filter=...
Herpes Free Engineer's user avatar
0 votes
0 answers
167 views

Pandoc and LaTeX in a Docker container with customized Dockerfiles

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
  • 101
0 votes
0 answers
97 views

How do convert typst doc with pandoc which imports from @preview?

Pandoc is able to convert from Typst to markdown. When doing so, it is able to understand relative imports like #import "myfile.typ": a. How can I import from the Typst universe, e.g. #...
falsePockets's user avatar
  • 4,411
1 vote
0 answers
47 views

knitr: Set default format for external image files (like with auto_pdf option)

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
0 votes
0 answers
118 views

How to export LaTeX math from MathJax to editable Word (OMML) using Pandoc?

I'm working on a Laravel application where users create math questions using LaTeX syntax, typically written between dollar signs like this: Inline math: $E = mc^2$ Display math: $$\int_0^\infty e^{-x^...
Otmane Hammadi's user avatar
1 vote
1 answer
168 views

Using --reference-doc with the pandoc Obsidian plugin to export word documents

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

Pandoc - user variables in included/inputted .tex or .sty files

I've setup an apparently quite unique setup in my Pandoc. I'm using a latex template to convert markdown documentation into a styled PDF. My intent is not to directly create my own template. I want to ...
Christoph Pelzer's user avatar
1 vote
0 answers
64 views

How to insert page breaks when creating docx with pandoc and php?

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

15 30 50 per page
1
2 3 4 5
180