convert between markup and document formats
Project homepage: https://pandoc.org
Description
Pandoc is a command-line tool that can convert between numerous
markup and word processing formats, including, but not limited
to, various flavors of Markdown, HTML, LaTeX and Word docx. (See
https://pandoc.org/MANUAL.html#option--from for a list of formats).
It can also produce PDF output.
Pandoc's enhanced version of Markdown includes syntax for tables,
definition lists, metadata blocks, footnotes, citations, math, and much
more.
Because pandoc's intermediate representation of a document is less
expressive than many of the formats it converts between, one should
not expect perfect conversions between every format and every other.
Pandoc attempts to preserve the structural elements of a document, but
not formatting details such as margin size. And some document elements,
such as complex tables, may not fit into pandoc's simple document model.
While conversions from pandoc's Markdown to all formats aspire to be
perfect, conversions from formats more expressive than pandoc's Markdown
can be expected to be lossy.
Package information
- Ports path
- textproc/pandoc
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- converters, textproc
- Available flavors
- None listed
- Only for architectures
- arm64, amd64
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Build
- devel/cabal-install STEM->=3.12.0.0
- lang/ghc STEM->=9.8.3
OpenBSD README
+------------------------------------------------------------------------------- | Running pandoc on OpenBSD +------------------------------------------------------------------------------- PDF output for pandoc on OpenBSD ================================ Pandoc's PDF output mode relies on external programs to render a PDF from a markup format. By default, PDF output uses LaTeX and pandoc's default LaTeX template requires a number of common packages. On OpenBSD, installing texlive_texmf-minimal is sufficient for pandoc to generate PDFs via LaTeX. The table below lists the PDF engines directly supported by pandoc for each output format and, when available, the OpenBSD package providing the required executable. For complete details on the --pdf-engine option see the pandoc manual. Output format PDF Engine OpenBSD package -------------- ----------- ---------------- latex latexmk latexmk latex lualatex texlive_base latex pdflatex texlive_base latex tectonic n/a (not in ports) latex xelatex texlive_texmf-minimal context context texlive_texmf-context html pagedjs-cli n/a (NPM package) html prince n/a (commercial/proprietary) html weasyprint weasyprint html wkhtmltopdf wkhtmltopdf ms groff groff ms pdfroff groff typst typst typst
Used by (5 dependency relationships)
Includes library, runtime, build and test dependencies.