Pandocia
Currently in alpha stage development
Convert files between different document formats. See pandoc.org for more information.
NOTE: This package uses simple-pandoc and requires pandoc to be install on your system.
Installing pandoc on your system
Below is information taken from the Pandoc Installation guide.
See the full guide for further instructions.
Windows
-
There is a package installer at pandoc's download page. This will install pandoc, replacing older versions, and update your path to include the directory where pandoc's binaries are installed.
-
If you prefer not to use the msi installer, we also provide a zip file that contains pandoc's binaries and documentation. Simply unzip this file and move the binaries to a directory of your choice.
-
Alternatively, you can install pandoc using chocolatey:
choco install pandoc
. -
For PDF output, you'll also need to install LaTeX. MiKTeX is recommended.
macOS
-
There is a package installer at pandoc's download page. If you later want to uninstall the package, you can do so by downloading this script and running it with
perl uninstall-pandoc.pl
. -
A zip file containing the binaries and man pages, for those who prefer not to use the installer is also provided here. Simply unzip the file and move the binaries and man pages to whatever directory you like.
-
Alternative, you can install pandoc using homebrew:
brew install pandoc
. Note: If you are using macOS < 10.10, this method installs pandoc from source, so it will take a long time and a lot of disk space for the ghc compiler and dependent Haskell libraries. -
For PDF output, you'll also need LaTeX. Because a full [MacTeX] installation takes more than a gigabyte of disk space, it is recommended to install BasicTeX (64M) or TinyTeX and using the
tlmgr
tool to install additional packages as needed. If you get errors warning of fonts not found, trytlmgr install collection-fontsrecommended
.
Linux
-
First, try your package manager. Pandoc is in the Debian, Ubuntu, Slackware, Arch, Fedora, NiXOS, openSUSE, and gentoo repositories. Note, however, that versions in the repositories are often old. Distro specific instructions are below.
-
Pandoc also provides a binary package for amd64 architecture on the download page. This provides both
pandoc
andpandoc-citeproc
. The executables are statically linked and have no dynamic dependencies or dependencies on external data files. Note: because of the static linking, the pandoc library from this package cannot use lua filters that require external lua modules written in C. -
For PDF output, you'll need LaTeX. It is recommended to install TeX Live via your package manager.
Ubuntu
$ sudo apt install pandoc
For PDF output, you'll need LaTeX. TeX Live is recommended.
$ sudo apt install texlive
Fedora
$ sudo dnf install pandoc
For PDF output, you'll need LaTeX. TeX Live is recommended.
$ sudo dnf install texlive-scheme-medium
Arch
$ sudo pacman -S pandoc
For PDF output, you'll need LaTeX. TeX Live is recommended.
$ sudo pacman -S texlive-most
See TeX Live on the Arch wiki for more information on the different TeX Live groups available.