Pandoc

This is not the latest version of Pandoc available.

2.4 | Updated: 11/5/2018

Downloads:

171,044

Downloads of v 2.4:

5,005

Maintainer(s):

Software Author(s):

  • John MacFarlane

Pandoc 2.4

This is not the latest version of Pandoc available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Pandoc, run the following command from the command line or from PowerShell:

>

To upgrade Pandoc, run the following command from the command line or from PowerShell:

>

To uninstall Pandoc, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade pandoc -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pandoc -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure pandoc installed
  win_chocolatey:
    name: pandoc
    state: present
    version: 2.4
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'pandoc' do
  action    :install
  version  '2.4'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: pandoc,
    Version: 2.4,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller pandoc
{
   Name     = 'pandoc'
   Ensure   = 'Present'
   Version  = '2.4'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pandoc':
  provider => 'chocolatey',
  ensure   => '2.4',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install pandoc version="2.4" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 11/5/2018.

Description

If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX and many others.

Features

  • HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides.
  • Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML
  • Ebooks: EPUB version 2 or 3, FictionBook2
  • Documentation formats: DocBook, TEI Simple, GNU TexInfo, Groff man pages, Haddock markup
  • Page layout formats: InDesign ICML
  • Outline formats: OPML
  • TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides
  • PDF via LaTeX
  • Lightweight markup formats: Markdown (including CommonMark), reStructuredText, AsciiDoc, MediaWiki markup, DokuWiki markup, Emacs Org-Mode, Textile
  • Custom formats: custom writers can be written in lua.

Notes

  • The package by default installs pandoc for current user. To install for all users use choco install pandoc --ia=ALLUSERS=1.

legal\License.txt
Pandoc
Copyright (C) 2006-2016 John MacFarlane <jgm at berkeley dot edu>

This code is released under the [GPL], version 2 or later:

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

The GNU General Public License is available in the file COPYING.md in
the source distribution.  On Debian systems, the complete text of the
GPL can be found in `/usr/share/common-licenses/GPL`.

[GPL]: http://www.gnu.org/copyleft/gpl.html

Pandoc's complete source code is available from the [Pandoc home page].

[Pandoc home page]: http://pandoc.org

Pandoc includes some code from other authors.  The copyright and license
statements for these sources are included below.  All are GPL-compatible
licenses.

----------------------------------------------------------------------
src/Text/Pandoc/Writers/Texinfo.hs
Copyright (C) 2008-2015 John MacFarlane and Peter Wang

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
src/Text/Pandoc/Writers/OpenDocument.hs
Copyright (C) 2008-2015 Andrea Rossato and John MacFarlane

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
src/Text/Pandoc/Writers/Org.hs
Copyright (C) 2010-2015 Puneeth Chaganti and John MacFarlane

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
src/Text/Pandoc/Readers/Textile.hs
Copyright (C) 2010-2015 Paul Rivier and John MacFarlane

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
src/Text/Pandoc/Readers/Org.hs
tests/Tests/Readers/Org.hs
Copyright (C) 2014-2015 Albert Krewinkel

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
data/LaTeXMathML.js
Adapted by Jeff Knisely and Douglas Woodall from
ASCIIMathML.js v. 1.4.7
Copyright (C) 2005 Peter Jipsen

Released under the GNU General Public License version 2 or later.

----------------------------------------------------------------------
data/MathMLinHTML.js
Copyright (C) 2004 Peter Jipsen http://www.chapman.edu/~jipsen

Released under the GNU General Public License version 2 or later.

------------------------------------------------------------------------
The dzslides template contains javascript and CSS from Paul Rouget's
dzslides template.
http://github.com/paulrouget/dzslides

Released under the Do What the Fuck You Want To Public License.

------------------------------------------------------------------------
Pandoc embeds a lua interpreter (via hslua).

Copyright © 1994–2015 Lua.org, PUC-Rio.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to

   x32: https://github.com/jgm/pandoc/releases/download/2.4/pandoc-2.4-windows-i386.msi
   x64: https://github.com/jgm/pandoc/releases/download/2.4/pandoc-2.4-windows-x86_64.msi
   to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: 7E698FA657DAC0796D5EAC789C16E81BD9783D0A2CF8FA7CA1F5C82130002B2D
   checksum64: 32F844E65262641BD07951284A35078BB07495C6F7311E1662E00A51D7E754B4

File License.txt is saved from:
    https://raw.githubusercontent.com/jgm/pandoc/master/COPYRIGHT
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName    = 'pandoc'
  fileType       = 'msi'
  file           = gi "$toolsDir\*i386.msi"
  file64         = gi "$toolsDir\*_64.msi"
  silentArgs     = '/quiet'
  validExitCodes = @(0, 1223)
  softwareName   = 'Pandoc *'
}
Install-ChocolateyInstallPackage @packageArgs
rm ($toolsDir + '\*.' + $packageArgs.fileType)

$packageName = $packageArgs.packageName
$installLocation = Get-AppInstallLocation $packageArgs.softwareName
if (!$installLocation)  { Write-Warning "Can't find $packageName install location"; return }

Write-Host "$packageName installed to '$installLocation'"
Install-BinFile $packageName $installLocation\pandoc.exe
tools\chocolateyUninstall.ps1
Uninstall-BinFile pandoc
tools\pandoc-2.4-windows-i386.msi
md5: 1B714CC465E712767C4ED6BD4F91E224 | sha1: D901463F103AFDCF8D51953666791BB3A68D11B8 | sha256: 7E698FA657DAC0796D5EAC789C16E81BD9783D0A2CF8FA7CA1F5C82130002B2D | sha512: 21F12D8283809BA6CBA1B831D0D6B7F8592C024E60EBB5ACF0C841B9573E6DA1F1E307F104D775D43783253CC4BEFDBB2A966D4881ED9FA071CAF741F832F76B
tools\pandoc-2.4-windows-x86_64.msi
md5: EFA2E0A908BAFAAC024392D8BE444374 | sha1: DC7377E3BE4C371DB87C32463DCFCEC312FA3936 | sha256: 32F844E65262641BD07951284A35078BB07495C6F7311E1662E00A51D7E754B4 | sha512: EC50C682A628247CA13E5F23B01BEE2742D797DBEF7062D939B03CE8407EC6616577083353906C63E38DC1903D7211399C65782AA50E88F24800C4FBB2FEC05D

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Pandoc 2.7.2 12982 Thursday, April 11, 2019 Approved
Pandoc 2.7.1 5692 Friday, March 15, 2019 Approved
Pandoc 2.7 2494 Monday, March 4, 2019 Approved
Pandoc 2.6 4253 Saturday, February 9, 2019 Approved
Pandoc 2.5 10701 Wednesday, November 28, 2018 Approved
Pandoc 2.4 5005 Monday, November 5, 2018 Approved
Pandoc 2.3.1 22344 Sunday, September 30, 2018 Approved
Pandoc 2.3 2369 Tuesday, September 18, 2018 Approved
Pandoc 2.2.3.2 4470 Friday, August 17, 2018 Approved
Discussion for the Pandoc Package

Ground Rules:

  • This discussion is only about Pandoc and the Pandoc package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Pandoc, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus