public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: ANN: pandoc 2.0
Date: Sun, 29 Oct 2017 17:16:51 -0700	[thread overview]
Message-ID: <20171030001651.GA74066@Johns-MacBook-Pro.local> (raw)

I'm delighted to announce the release of pandoc 2.0.
Binary packages and a changelog can be found at
<https://github.com/jgm/pandoc/releases/tag/2.0>.  The source
code and API documentation is on Hackage:
<https://hackage.haskell.org/package/pandoc>.

This is a huge release:  describing all the changes takes over
11,000 words in the changelog.  All users should look at the
"new features" and "behavior changes" sections of the
changelog.  Those who use pandoc as a library should also look
at the "API changes" section.  And anyone who works with a
particular format should look at the "bug fixes" section
for relevant to that format.

Some highlights:

- New output formats:  ms (groff ms), jats (JATS XML), gfm (a
  version of GitHub-Flavored Markdown that uses the same
  parser as GitHub for maximum accuracy), muse (Emacs Muse).

- New input formats:  gfm, muse, tikiwiki (TikiWiki),
  vimwiki (Vimwiki), creole (Creole 1.0).

- A plain-text syntax for Divs (arbitrary block containers).

- A syntax for passing through raw content in any format.

- Much improved support for LaTeX input, especially
  in handling macros and included files.

- PDFs can now be produced via pdfroff, prince, and weasyprint,
  in addition to latex, xelatex, lualatex, context, and
  wkhtmltopdf.

- A new way of writing pandoc filters in lua, using the lua
  interpreter that is built into pandoc.  Lua filters are
  generally much faster than JSON filters (since we avoid
  the expense of converting to and from JSON), and they have
  the advantage that they do not require any software besides
  pandoc itself to be installed.

- Better error handling, warnings and informational messages.

- New command-line options:

  --eol (specifies line endings),
  --log (prints JSON representation of info and warning messages),
  --request-header (allows specifying a header to be used when
    pandoc fetches external resources),
  --lua-filter (for running lua filters, see below),
  --epub-subdirectory (for changing the directory used in epub
    containers),
  --resource-path (for setting the search path for images and
    other resources),
  --abbreviations (for specifying a custom abbreviations
    file so that the Markdown parser can be sensitive to
    abbreviations),
  --syntax-definition (allowing XML syntax highlighting definitions
    to be loaded dynamically).

- Changed command-line options:

  --reference-doc replaces --reference-docx and --reference-odt
  --smart removed (instead use +smart on reader and/or writer)
  --normalize removed (normalization is automatic)
  --latex-engine removed (instead use --pdf-engine)
  --parse-raw removed (instead use -f latex+raw_tex or -f html+raw_html)
  --epub-stylesheet removed (instead use --css)
  --mathml no longer takes an argument

The focus of this release was a major architectural change
that will be largely invisible to users of the pandoc program,
but that is responsible for many of the improvements users
will notice.  Previously, most of the pandoc readers and
writers were "pure" functions: they converted between strings
and a Pandoc data structure, without being able to perform IO
operations.  This purity has significant advantages in many
contexts, but it also makes it difficult to do things like
process included files.  We have changed the types of all the
readers and writers so that users can now select whether
they will have access to IO.

With each release, pandoc becomes more a team effort, with more
contributors committing high-quality code.  Special thanks are
due to Jesse Rosenthal, who designed and initiated the large
architectural change described above; Albert Krewinkel,
who added the lua filters and improved the Org reader, as well
as helping with the API reorganization; Alexander Krotov,
who contributed the Muse reader and writer and improved the
FB2 writer; Andrew Dunning, Vaclav Haisman, Xavier Olive, and
Thomas Hodgson, who improved the LaTeX, ConTeXt, and beamer
templates; Kolen Cheung, who improved documentation and
infrastructure (pandoc-nightly); Marc Schreiber, who improved
the LaTeX reader; Mauro Bieg, who improved the LaTeX reader and
image size code, and added PDF generation via weasyprint and
prince; Sascha Wilde, who added the Creole reader; Yuchen Pei,
who added the Vimwiki reader; hftf, who brought consistency to
the readers' handling of underlining; and rlpowell, who added the
TikiWiki reader.  Many others contributed code, bug reports, or
suggestions.  Without this large and cooperative community, pandoc
would be a far less capable tool.

Happy converting!


             reply	other threads:[~2017-10-30  0:16 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-30  0:16 John MacFarlane [this message]
     [not found] ` <CAFC_yuSfG7edXu1xWaO3_kzE_gt-CZbJdgtFADf_JyBYbECxOQ@mail.gmail.com>
     [not found]   ` <CAFC_yuQWhDrV1gvMC7ZfK6s4LUiPpc4LSNznPBatwpGG+NP5LQ@mail.gmail.com>
     [not found]     ` <CAFC_yuQWhDrV1gvMC7ZfK6s4LUiPpc4LSNznPBatwpGG+NP5LQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-30 10:23       ` BP Jonsson
     [not found]         ` <CAFC_yuSR6Z5qCgpfgV91CmhHRtbjQwpK5R0ji4qoFGRRkoD1Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-30 16:51           ` John MACFARLANE
2017-10-30 17:20           ` John MACFARLANE
     [not found] ` <20171030001651.GA74066-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-10-30  0:40   ` Kolen Cheung
     [not found]     ` <e31c9609-a808-4814-b20f-b4cf29016a7d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-30  1:27       ` Kolen Cheung
     [not found]         ` <55769679-aea7-4db6-a393-76022e45891e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-30  1:53           ` John MacFarlane
     [not found]             ` <20171030015351.GA81813-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-10-30  2:09               ` Kolen Cheung
2017-10-30  2:10   ` iandol
2017-10-30 19:42   ` Pablo Rodríguez
     [not found]     ` <fe571f1d-0d8a-de0f-2233-7b2328696333-S0/GAf8tV78@public.gmane.org>
2017-10-30 20:06       ` Kolen Cheung
2017-10-30 21:08       ` John MACFARLANE
2017-10-31 13:02   ` Philip Hodder
2017-11-01 20:12   ` Slide columns (Was: ANN: pandoc 2.0) Joseph Reagle
     [not found]     ` <2e57350e-2c6d-c2df-648d-342ee8db5a17-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2017-11-01 21:37       ` +tex_math_dollars, reveal and mathjax " Joseph Reagle
     [not found]         ` <0c564a8a-6006-59f5-2369-6da47483f070-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2017-11-02  1:03           ` John MACFARLANE
2017-11-02 11:40             ` Joseph Reagle
2017-11-02  1:05           ` John MACFARLANE
2017-11-01 22:03       ` --section-divs " Joseph Reagle
     [not found]         ` <4b0b5af6-08b9-1a6e-6a7c-b5ea4300e345-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2017-11-02  0:51           ` John MACFARLANE
2017-11-02 17:32           ` Pablo Rodríguez
     [not found]             ` <a61dd93b-2c25-907d-d824-5ee7811163d8-S0/GAf8tV78@public.gmane.org>
2017-11-02 20:33               ` Joseph Reagle
2017-11-02  1:09       ` Slide columns " John MACFARLANE
2017-11-02 11:46         ` Joseph Reagle
     [not found]           ` <42635e48-5352-8446-a717-9f6059a4ad1a-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2017-11-02 14:00             ` John Muccigrosso
2017-11-02 17:00             ` Joost Kremers
     [not found]               ` <8760asliou.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2017-11-02 17:56                 ` Joseph Reagle
2017-11-02 14:15   ` ANN: pandoc 2.0 Conrad Cunningham
     [not found]     ` <c207be8c-8d7b-46c7-b2b9-17bb4533479d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-02 15:02       ` Philip Hodder
     [not found]         ` <691ef6f9-3f26-40cb-a86c-3745792ce12c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-02 15:06           ` Conrad Cunningham
2017-11-02 17:42       ` John MacFarlane
     [not found]         ` <20171102174219.GD33759-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-02 19:26           ` Conrad Cunningham
2018-01-09 17:06   ` John Muccigrosso
     [not found]     ` <026aceb1-fd4f-44a4-8539-91cd89584d58-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-09 17:52       ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171030001651.GA74066@Johns-MacBook-Pro.local \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).