Pandoc (CLI document processor)

Submit command line tools that you find here.
Post Reply
Message
Author
User avatar
Midas
Posts: 5524
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Pandoc (CLI document processor)

#1 Post by Midas » Fri Apr 20, 2018 6:01 am

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/.

User avatar
smaragdus
Posts: 2120
Joined: Sat Jun 22, 2013 3:24 am
Location: Aeaea

Re: pandoc

#2 Post by smaragdus » Fri May 04, 2018 11:10 pm

@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

User avatar
Midas
Posts: 5524
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pandoc (CLI document processor)

#3 Post by Midas » 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.

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.

User avatar
webfork
Posts: 9522
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Pandoc (CLI document processor)

#4 Post by webfork » Sun Oct 28, 2018 1:05 pm

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.

User avatar
Midas
Posts: 5524
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pandoc (CLI document processor)

#5 Post by Midas » Sat Aug 31, 2019 4:14 am


Post Reply