Skip to main content

Questions tagged [pandoc]

Questions about Pandoc, a free and open-source software document converter.

0 votes
1 answer
42 views

pandoc/Markdown: how to remove trailing commas from list template?

Suppose I have YAML list (or other supported format) that I want to print as a comma-separated list in a markdown format. data.yml: --- items: - item1 - item2 - item3 --- template....
Brian McFarland's user avatar
0 votes
1 answer
716 views

Pandoc ignoring --resource-path flag for relative image locations

I'm using Pandoc to convert a .DOCX help document to .MD, using something along the lines of pandoc --extract-media="c:\help\document\output" -f docx -t markdown_mmd "c:\help\document\...
spikey_richie's user avatar
0 votes
1 answer
218 views

Render markdown with math wrapped in escaped parenthesis / brackets to PDF?

Background / use case: https://genai.stackexchange.com/questions/386/how-does-chatgpt-render-math-in-markdown-output The \( ... \) syntax in markdown corresponds to LaTex math inline mode, and the \[ ....
Teddy C's user avatar
  • 357
1 vote
1 answer
2k views

Pandoc export to Markdown doesn't include images

I have a Word document that contains a TOC, various headings level 1, 2 & 3, some tables and some images. When I export to md using pandoc -f docx -t markdown the resultant .MD when viewed in ...
spikey_richie's user avatar
-1 votes
1 answer
267 views

How can I open Pandoc in a particular directory in order to run a command line?

I just install Pandoc on Windows10. I have several .docx files from a folder ( D:\DE SCANAT\Docx ) and I want to convert all them (batch) into .txt I must use this line command for this: for i in *....
Hellena Crainicu's user avatar
2 votes
1 answer
4k views

Can I use pandoc to convert from markdown to DOCX or ODT and apply a template?

I'm trying to use Pandoc to convert a markdown file into a Word (docx) or LibreOffice (odt) file, what is a simple thing to do... But I want this converted ODT document to use a specific "OTT&...
Eduardo Fernandes's user avatar
0 votes
1 answer
536 views

I'm trying to convert a normal Markdown document to a PDF using pandoc. I'm getting LaTeX errors

Here is the entire markdown: --- title: Calculus hw author: Jewel date: April 21, 2023 --- > Question 1 $$ f(x) = \begin{cases} Asin(x)+Bcos(x) & \text{if } x < 0 \\ x^2+1 & \text{if } ...
Jewel Paresh Limbochiya's user avatar
1 vote
0 answers
561 views

Using pandoc to convert latex into plain text: "unexpected () \begin{document}" error

I want to use pandoc to convert latex into plain text. I try to convert this latex file: https://arxiv.org/e-print/1603.03827 I installed pandoc 2.9.2.1 on Ubuntu 22.04 as follows: sudo apt-get ...
Franck Dernoncourt's user avatar
0 votes
1 answer
541 views

BASH - combine .md files from subdirectories into a master .md

We have a growing list of subdirectories and we would like to summarize the content in each with a .txt or .md file. We would then like to consolidate those readmes into a single master readme. We ...
nicksinthemiex's user avatar
3 votes
1 answer
3k views

Pandoc can't convert to pdf, `xcolor.sty' not found

When I try to convert a file to pdf format with pandoc I receive this message: Error producing PDF. ! LaTeX Error: File `xcolor.sty' not found. Type X to quit or <RETURN> to proceed, or enter ...
Jonathan Strange's user avatar
3 votes
2 answers
1k views

What are the pandoc command line options to color and underline hyperlinks in PDF output?

Basically the title question -- I want the links in my pdf document to be blue and underlined (instead of hidden).
Dave's user avatar
  • 929
0 votes
0 answers
103 views

Pandoc , how to attach files from markdown to docx

I write my notes in markdown with some links to local files ## Heading1 sometext [local file](path to loacl file) Is there a way to attach this file "local file" while converting from ...
Ramy Nazmy's user avatar
1 vote
1 answer
98 views

Is there any option to control the width of outputted paragraphs in pandoc?

I'm struggling to find any search results for how to control the output width of paragraphs in pandoc, when I put the following text in... Lorem ipsum dolor sit amet, consectetur adipiscing elit....
Atlas Sullivan's user avatar
1 vote
2 answers
850 views

Disable auto numbering in pandoc markdown

I have Markdown content that looks like this (A) some text (A) some more text (A) and so on I'm using pandoc to render this to PDF (pandoc -o test.pdf test.md). This produces content that turns ...
Dave's user avatar
  • 929
1 vote
1 answer
723 views

pandoc comments and notes for lecturer/ reader

When converting e.g. a Markdown file to a pdf file with pandoc for a lecture then everything except comments like <!--- comment --> will be present in the output pdf file. But is there an more ...
toddeTV's user avatar
  • 125

15 30 50 per page
1
2 3 4 5 6