Pandoc
general markup converter
Command lineUtilitiesText and data tools
Not tested on a device yet. What that means
Pandoc in Breadstick
Breadstick note
Pandoc converts documents in Breadstick's Terminal. PDF output goes through a LaTeX engine, which is a separate set of Debian packages; Word, OpenDocument, HTML and EPUB output need nothing more. With Device files granted, a document saved in ~/Documents is in Android's Documents folder too.
Breadstick runs Debian's own pandoc package for ARM64, the build a Debian 13 computer with an ARM processor installs, so Pandoc should behave as it does on a Linux PC. It is a command line program rather than an app with a window of its own: you run it by typing its command in Breadstick's Terminal, or in any terminal window on the Linux desktop, and it needs no Desktop or Floating session running.
Commands in the package
pandoc
Type it in Breadstick's Terminal to start the program.
Text and data tools work on files and pipes in the Terminal as on any Linux system, including files in your Android folders once Device files is granted. More in the docs: The Terminal.
About Pandoc
From Debian's package description
Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. The formats it can handle include
- light markup formats (many variants of Markdown, reStructuredText, AsciiDoc, Org-mode, Muse, Textile, txt2tags)
- HTML formats (HTML 4 and 5)
- Ebook formats (EPUB v2 and v3, FB2)
- Documentation formats (GNU TexInfo, Haddock)
- Roff formats (man, ms)
- TeX formats (LaTeX, ConTeXt)
- Typst
- XML formats (DocBook 4 and 5, JATS, TEI Simple, OpenDocument)
- Outline formats (OPML)
- Bibliography formats (BibTeX, BibLaTeX, CSL JSON, CSL YAML, RIS)
- Word processor formats (Docx, RTF, ODT)
- Interactive notebook formats (Jupyter notebook ipynb)
- Page layout formats (InDesign ICML)
- Wiki markup formats (MediaWiki, DokuWiki, TikiWiki, TWiki, Vimwiki, XWiki, ZimWiki, Jira wiki, Creole)
- Slide show formats (LaTeX Beamer, PowerPoint, Slidy, reveal.js, Slideous, S5, DZSlides)
- Data formats (CSV and TSV tables)
- PDF (via external programs such as pdflatex or wkhtmltopdf)
Pandoc can convert mathematical content in documents between TeX, MathML, Word equations, roff eqn, typst, and plain text. It includes a powerful system for automatic citations and bibliographies, and it can be customized extensively using templates, filters, and custom readers and writers written in Lua.
This package contains the pandoc tool.
Some uses of Pandoc require additional packages:
- SVG content in PDF output requires librsvg2-bin.
- YAML metadata in TeX-related output requires texlive-latex-extra.
- *.hs filters not set executable requires ghc.
- *.js filters not set executable requires nodejs.
- *.php filters not set executable requires php.
- *.pl filters not set executable requires perl.
- *.py filters not set executable requires python.
- *.rb filters not set executable requires ruby.
- *.r filters not set executable requires r-base-core.
- LaTeX output, and PDF output via PDFLaTeX, require texlive-latex-recommended.
- XeLaTeX output, and PDF output via XeLaTeX, require texlive-xetex.
- LuaTeX output, and PDF output via LuaTeX, require texlive-luatex.
- ConTeXt output, and PDF output via ConTeXt, require context.
- PDF output via wkhtmltopdf requires wkhtmltopdf.
- Roff man and roff ms output, and PDF output via roff ms, require groff.
- MathJax-rendered equations require libjs-mathjax.
- KaTeX-rendered equations require node-katex.
- option --csl may use styles in citation-style-language-styles.
From Debian's description of the pandoc package, under that package's license.
Related apps
- html2textadvanced HTML to text converterCommand line
- odt2txtsimple converter from OpenDocument Text to plain textCommand line
- jqlightweight and flexible command-line JSON processorCommand line
- catdoctext extractor for MS-Office filesCommand line
- patchutilsUtilities to work with patchesCommand line
- wdiffCompares two files word by wordCommand line
Sources and licenses
- Name: the name people know it by, chosen for this catalog; Debian's package is pandoc.
- Summary: Debian's short description of the pandoc package, under that package's license.
- Description: Debian's description of the pandoc package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.