From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18410 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: ANN: pandoc 2.0 Date: Sun, 29 Oct 2017 17:16:51 -0700 Message-ID: <20171030001651.GA74066@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1509322620 14705 195.159.176.226 (30 Oct 2017 00:17:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 00:17:00 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB5663HHQKGQEPSXTWLI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 30 01:16:56 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f56.google.com ([209.85.218.56]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8xl3-0002kF-CU for gtp-pandoc-discuss@m.gmane.org; Mon, 30 Oct 2017 01:16:49 +0100 Original-Received: by mail-oi0-f56.google.com with SMTP id h6sf13765261oia.17 for ; Sun, 29 Oct 2017 17:16:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1509322616; cv=pass; d=google.com; s=arc-20160816; b=mOL8teyPWRW5WkFW11vVjROIZsLMk1gAUbIwNnSVnHxTxwCxbMYC755Xkzde5TP2Qv Grk8QLBE8ZCOrKWwq+Lv74sa/Cb/E+rY/WpBu7VcoH79IUxUvzkobO1HeQNNTOWP1WoA HdlqUWYbApwre7K94Z/z5yfN/7kX7Ryed3eCdV1aLbnGWpGMtCDYenXBEvflYLymnWN/ CM4Z0b3ec8CwerYhu787i5qrevdFHoc0b9o1v0o+1x/Oo0NZ21gl56hvhySE4YqBDiA2 S4qYMjmLdgyDSznsU4TBtkqkiV/xht6ZHQEVEn1sHCjY9rgVT1lr+CtiMGnJlGyCYYGU N6qA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent :content-disposition:mime-version:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=qwqeXnXT7ds+86fKt1jpnPsHMVQ4jpWHvvaRyN/Dl08=; b=AjMWx3AvmQrS7YoGbLPmkTS7d+/PTWRFse2dsITFuNsaVbvej1k7xsPURQCFj4RuiR hqYU6vom9dUUkEEX2JCJd8Y+MyvbhDqNyQUfS1VcKIzBiRadKk3vtCnbkM+2HPjPPOOw nfAsHsSDXTgEO9DDx748XkoZ/lyOPo8snSTV7hSyW7/xhbkppkBosWz6xjGyeuhjgqe4 tUyY8QxTtiRpmASSJFIglR2SapC/mVG0uX1ESVytfD6d/5nGowQyso/JYrv/0kehy3zQ 2uijZQzI97cdhAcjaRWCPz0paYx1oIqcQK9lAWEkAEhM8s50kMWjIb6S8N9pTJgqJjYY lgvg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=kU04d9hA; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:mime-version :content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=qwqeXnXT7ds+86fKt1jpnPsHMVQ4jpWHvvaRyN/Dl08=; b=VVByebF9+GObgLroVeMtPYS35/Ge5pVQ1kxIcAEWH7+xFl0qvQPVPqMZyxNCmIQSkt ywIGFEaSeESo9BOKTOPtL/f8lM3Yf1AWqu0n7yNiMHW41vp4Pp4TCKQ3O+N97dYRkQ0U zcPe+Cpl9/Pqlr+zDZgEa9T8cUXUiTFeeRIy4USVPT0I5uA2rvzDsO7izkDzTC2y52is an8wdP+kDcZAz90ZPxOKJmkDU0DgDI/waNZApWCfgMAtkyWkwdDJfAcQn/F0OoDKs4fX VzDbYdWZ9iLfe6bFZiAd8mC/seCbjMzyJEZJmVJ6RJWe2A+uhpAzEhjqWQPJ6EP78Cps izQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :mime-version:content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qwqeXnXT7ds+86fKt1jpnPsHMVQ4jpWHvvaRyN/Dl08=; b=tmyQaXuVZ6p0H+nmXtZ3l1f8GqbYUz08XOIH7qAcWcxOVlaRCs3tpymILzs3+P9AEc sxgthM9TlMw/YaBwdO9OVcKFE/yRJxCvq3hK+IMMrflcowBSdOmqgOWJXIrDngdB6t4g aDrpdFUnhI7f/27mX68CLzG2fNrQTPzNlKsGsY1T+qbajEdQvKOGe2BZkm5pml7tqGC3 X/Xb2GrvbzwuwagWHnxpzgNno0vAVBfZF5t0nxRHTP/1X5I1FDmGGOmBwepiJlVBKZLJ E/Ludox+3iP48qdz/V7b2D/nku42nkFA//U+9WtC0OwqpFpj9pWT/DyOSmnhsktMkWSD ivEw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaUJhYcC+ouj0/RYP9Ru4N/ViLAmbciNRZsFb1nRxnBlhrp/ksyi ruslnyz1yoHDVibydbhauVU= X-Google-Smtp-Source: ABhQp+SMMZDc0wr1vBC6edILA63nALI9dWowWuOG9uswX3aKG9ddLaIssoEevqcnr6tVsJiuMmDpBQ== X-Received: by 10.157.20.173 with SMTP id d42mr638360ote.3.1509322616597; Sun, 29 Oct 2017 17:16:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.91.74 with SMTP id e10ls3988332otj.16.gmail; Sun, 29 Oct 2017 17:16:55 -0700 (PDT) X-Received: by 10.202.196.202 with SMTP id u193mr7847913oif.78.1509322615803; Sun, 29 Oct 2017 17:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509322615; cv=none; d=google.com; s=arc-20160816; b=Dtjc9D1jYnbTcx50bWltfp9CSuFMQxT0Vrox7xageh5ZPEnJMnph6QhLnMOGFhluQM ghb3QKfIUQmdADai5JyemjK7lIr72QufD/KgbMK4IbL/M7BgwateiYlmC31MAyi7gzKT FXyyy409X9NtUeh9SHWKuODq6VsK+MhQZMYuz4ToIj2iOoxHRfU2ZDWM7G8QTiokJTXf tFlxvPFAvqMqKPGdjQEp4OvT0bbl+Ne3ih1jCd4aFs7dJQlMbAvZ+7NNJmK98Ul8/kyW LxEaLajbrMriXogPyAap9mjrE7tESi+vAJIutSQhRmgerQ24y/gEyFl8KgaAn/+Mt4aV g2BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=sAW63FwfSoWv/OsQXlajJj6h2SC7mhbJMHHVxZ6ewQs=; b=O+XOmiDkzx6E45DCdfXctl4St0O9SZzuagKU9mfbEeASr7n3JIXCrTldrIRNaMbSAL QSdXLWnVkO8PwhsQPIzZVxmqdS28XOub1joXomhJuZ6NO9GYboCeiVYyA6eF0KRi2mEj S7AQL+lTl1Yj74kRFOyVLAxD6l9yHtDH4dW5oRkVWwZLT/LXMpUvurMSiVNFH2u15kp0 3okXVFMH5J6W5J4sf/47ubvAx8BFT5Hu2i2YtwDEx7BpkV3m+eGWbQ3MwiAPTd/hi8RT Lf0wryXA7D2pYDi+NL+/AaCRrkyRzXL8Ri7mnZha3rimZjdPh1VsiaA/3ph4NFBsSDIx de0w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=kU04d9hA; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com. [2607:f8b0:400e:c00::22f]) by gmr-mx.google.com with ESMTPS id b194si811066oii.0.2017.10.29.17.16.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 17:16:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) client-ip=2607:f8b0:400e:c00::22f; Original-Received: by mail-pf0-x22f.google.com with SMTP id b6so9499737pfh.7 for ; Sun, 29 Oct 2017 17:16:55 -0700 (PDT) X-Received: by 10.84.131.163 with SMTP id d32mr5718206pld.73.1509322615112; Sun, 29 Oct 2017 17:16:55 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z2sm942270pgo.54.2017.10.29.17.16.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2017 17:16:54 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3C4B5A1EC; Sun, 29 Oct 2017 20:16:43 -0400 (EDT) Content-Disposition: inline X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=kU04d9hA; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18410 Archived-At: I'm delighted to announce the release of pandoc 2.0. Binary packages and a changelog can be found at . The source code and API documentation is on Hackage: . 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!