CoreDesktop dropped the texlive group (22 packages, about 3 GB) in e958e20, so remove its page, and tell Pandoc users which packages give it a LaTeX engine for PDFs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
---
|
|
title: "Pandoc"
|
|
category: "Office, notes and writing"
|
|
tagline: "Converts documents between formats: Markdown, Word, HTML, PDF, EPUB and dozens more."
|
|
source: "pacman"
|
|
package: "pandoc-cli"
|
|
command: "pandoc"
|
|
website: "https://pandoc.org/"
|
|
code: "https://github.com/jgm/pandoc"
|
|
---
|
|
|
|
## What it is
|
|
|
|
Pandoc is a command-line tool that converts documents from one markup format to another. It reads and writes Markdown, HTML, Word (.docx), OpenDocument, LaTeX, EPUB, reStructuredText and many more. With a LaTeX engine installed it also produces PDFs.
|
|
|
|
```
|
|
pandoc notes.md -o notes.docx
|
|
```
|
|
|
|
## Why it's here
|
|
|
|
- **Write once, publish anywhere.** Draft in Markdown and hand people a Word file, a web page or a PDF.
|
|
- **PDFs too.** For `pandoc notes.md -o notes.pdf`, install a LaTeX engine first: `sudo pacman -S texlive-latexextra texlive-fontsrecommended`. CoreDesktop leaves TeX Live out, as it takes a few gigabytes.
|
|
|
|
## On CoreDesktop
|
|
|
|
CoreDesktop installs Pandoc from pacman; on Arch the `pandoc` command comes from the `pandoc-cli` package. Run `pandoc` in a terminal. `update` keeps it current with the rest of the pacman packages.
|