Page 1 of 1

Pandoc (CLI document processor)

Posted: Fri Apr 20, 2018 6:01 am
by Midas
A few posts are required to disentangle the mess that the MMD2PDF topic has grown into over time. This is the one devoted to pandoc (https://pandoc.org/).
author of https://pandoc.org/ wrote:If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert documents in (several dialects of) Markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Vimwiki markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word docx, LibreOffice ODT, EPUB, or Haddock markup...
There's a expressly named pandoc-portable repository at https://github.com/pandoc-extras/pandoc-portable -- last updated in 2017-11-21, so apparently outdated. Being a CLI tool, the official pandoc release, once extracted, will expectably behave in a portable way. Note that in order to output to PDF, pandoc needs LaTeX (natively portable MikTeX is recommended).

Download the latest pandoc release (currently v2.1.3) from https://github.com/jgm/pandoc/releases/.

Re: pandoc

Posted: Fri May 04, 2018 11:10 pm
by smaragdus
@Midas
Being a CLI tool, the official pandoc release, once extracted, will expectably behave in a portable way.
One does not need to extract the installer- since version 2.0.2 pandoc is offered as archive as well:
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.
Source

Re: Pandoc (CLI document processor)

Posted: Sat Oct 27, 2018 2:29 am
by Midas
Although Linux based, below is the address of an online Pandoc primer that can be used by any Windows user.

Pandoc allows you to convert a bunch of files from one markup language into another one. Typical examples include converting a Markdown file into a presentation, LaTeX, PDF, or even ePub. This article will explain how to produce documentation in multiple formats from a single markup language (in this case Markdown) using Pandoc.

Re: Pandoc (CLI document processor)

Posted: Sun Oct 28, 2018 1:05 pm
by webfork
Midas wrote: Sat Oct 27, 2018 2:29 am Although Linux based, below is the address of an online Pandoc primer that can be used by any Windows user.
Good post, thanks for that.

My current system is like 10% LibreOffice 85% Word, and 5% Markdown, but I expect that to change in the months and years ahead. A program that can quickly and automatically switch between formats is going to definitely open some doors.

Re: Pandoc (CLI document processor)

Posted: Sat Aug 31, 2019 4:14 am
by Midas

Re: Pandoc (CLI document processor)

Posted: Wed Dec 30, 2020 11:10 am
by lintalist

Re: Pandoc (CLI document processor)

Posted: Thu Jan 19, 2023 5:09 am
by Midas
Pandoc v3.0 released (a rather extensive changelog is at https://pandoc.org/releases.html).

Re: Pandoc (CLI document processor)

Posted: Thu Jan 19, 2023 1:35 pm
by lintalist
I just signed to post the update - you beat me to it :)

Re: Pandoc (CLI document processor)

Posted: Fri Jan 20, 2023 4:34 am
by Midas
:lol: You can't win them all. :)