From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29388 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: fiddlosopher Newsgroups: gmane.text.pandoc Subject: ANN: pandoc 2.15 Date: Sat, 23 Oct 2021 21:25:46 -0700 (PDT) Message-ID: <318d793c-7fcd-491f-adf4-3ff0038eb140n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1616_663286700.1635049546751" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39206"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBS6A2OFQMGQEOVBLBMY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 24 06:25:53 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1meV4w-0009x7-89 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 24 Oct 2021 06:25:50 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id b22-20020a056830311600b00552b48856bdsf4841472ots.6 for ; Sat, 23 Oct 2021 21:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ve6xL5vBNjz5UEGkE5501a5BsiGB3934xvGEkXv1InI=; b=arhUwaEA/8UqaNJMTXE3yP/p696m4lBjn1LOR8d9i5cBOq/dsJZz0VHCMVGiTu2VuQ OOaw7CM5bGSQhrIs7gw8jKIjnVKw2zMSJS4GAgcCv4rlq5HSINZJ2uaizaBUUs5USMOZ Zikqm7xKisMbm5qPUJUjh0foofBtJBXkgImzzG/4aHCC7deAbWGgnj8XCwrKvx9aI/pl A+fsKXEqks6fOcZo45PsfNPl/UQD2oO9CR6CVbsiU+XDu6xX9gQ7JhYbJi0q22MS7eyL kxRMb8DzDuLJxlM6PiWm7Q0bTRBUSEyWNqDdPvphaEH8dbYTmlLM8T406fdjxsTEJtsc co+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=ve6xL5vBNjz5UEGkE5501a5BsiGB3934xvGEkXv1InI=; b=Xl2D2hhrrBql9YdHcpx2G2KHoZPB56K7xDZRix6R3MGtVJdr7Ph4IdQiVAW5FapMlN +mKnauGhL4EW4dnBni+MzXMRD1Te4ilrCZQxazwFiF/8cwcThVVtvhnPkcnfMSNdgLvZ dwtZylDkS4XDbJm8VhPscPQdglmcPmO2ze19zsDv917FlIV6Oe5dpGnxwOfGRtBr8XXX 9V4S3Qruk98VEPegv3zDFa+5a4xVa+mhfJ6f7XMui2LPdZ4cf2Cm7BDiUNXNz6xVz+sw b9/aRv/PF4P7QLn9uzyGlN3Wgi5YN4WD48XSW+6ZAvcXMRuxB4YDNDSjZfxm8k3feJ15 Kh4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ve6xL5vBNjz5UEGkE5501a5BsiGB3934xvGEkXv1InI=; b=QTz0i14fZQMA61sePyWtD5sGMftEotBkEliYSawGQTWrBzxmSgqOI/jQu96o09NLo1 bVQFiDxzma6u2QYqQxe+E/ITG9UD6MJcOSMWAEmAPCt1C3xnRRJel0VrX/cZzTGv4Scj xJltWUqY2aQUWoBLSlx9zYJ8p0sv9ySyTW0aZDzxE5gXDl1OzNnTKRIBKiralkh5sptx vDH3ZeyIskwmQL50q1ylznRg/8+n/96ZKWqcBQQVZPfMcc89aXL/LvdW/khHg68dDwAU 8FluEcx9Fp+5f13XTIkgn1GxqGiwgfysN82nM2NsUN8TvmBEQQXpBPWkit50wIY1lOGB syjA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530kt+9eMZjfk927nVzf6Ph9tvBlpjS0w9/gGin3aXL3gGbbTRFN gdh4IMIWnKf4vUcqH/eAF8k= X-Google-Smtp-Source: ABdhPJzJ46xBCa0eNffPUHjfeeA4eHYIRaAeDL+WoNIGlvFvSkb3oG+Ocd/wx9nqYIDfviKjWnIbcg== X-Received: by 2002:a9d:7495:: with SMTP id t21mr7618247otk.101.1635049548734; Sat, 23 Oct 2021 21:25:48 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3198:: with SMTP id p24ls3800573ots.1.gmail; Sat, 23 Oct 2021 21:25:47 -0700 (PDT) X-Received: by 2002:a9d:2033:: with SMTP id n48mr7109241ota.221.1635049547257; Sat, 23 Oct 2021 21:25:47 -0700 (PDT) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:29388 Archived-At: ------=_Part_1616_663286700.1635049546751 Content-Type: multipart/alternative; boundary="----=_Part_1617_19958905.1635049546751" ------=_Part_1617_19958905.1635049546751 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm pleased to announce the release of pandoc 2.15, available in the usual places: Binary packages & changelog: https://github.com/jgm/pandoc/releases/tag/2.15 Source & API documentation: http://hackage.haskell.org/package/pandoc-2.15 For a full description of the changes, see the changelog. But here are a few of the more prominent changes: * A new option --sandbox will ensure that pandoc's readers and writers do no IO besides reading from the files specified on the command line and writing the output. This restriction is enforced by the type system. Anyone who uses pandoc to process untrusted data should use this option (keeping in mind especially that some formats, such as RST, Org, and LaTeX, have directives for including files). Note: filters, PDF production, and custom writers are unaffected. If you use these features= , you are responsible for considering the security risks. Those who maintain libraries (such as pypandoc) that run pandoc with a system call may want to consider adding --sandbox to the parameters used by default. * Pandoc will now fall back to latin1 encoding for inputs that can=E2=80=99= t be=20 read as UTF-8. This is what it did previously for content fetched from the web an= d not marked as to content type. It makes sense to do the same for local files.= =20 In this case a NotUTF8Encoded warning will be issued, indicating that pandoc= =20 is interpreting the input as latin1. * SVG images can now be used with docx output. * Support for Powerpoint output is much improved (thanks to the work of Emily Bourke). See the changelog for full details. * The LaTeX writer now uses babel exclusively for multilingual support. (We used to use polyglossia with xelatex.) If you use a custom template, you will probably need to update it to take account of these changes. * The --reference-location option now works with HTML output (thanks to Francesco Mazzoli). * Native output is now formatted using pretty-show, which gives nicer results for tests and debugging (which is the main purpose of native output). * gfm now supports footnotes. * Better performance and error messages in Lua filters, due to Albert Krewinkel. * Code changes have been introduced (by Aner Lucero) which will streamline the addition of a real Figure block element in a future release. API changes: * Text.Pandoc.Logging: add NotUTF8Encoded constructor to LogMessage. * Text.Pandoc.Class: Add readStdinStrict method to PandocMonad. * Text.Pandoc.Class: Generalize type of extractMedia. It was uselessly restricted to PandocIO, instead of any instance of PandocMonad and=20 MonadIO. * Text.Pandoc.Shared: export splitSentences. * Text.Pandoc.Class.PandocIO: derive MonadCatch, MonadThrow, MonadMask. * Add module Text.Pandoc.Class.Sandbox, exporting sandbox via Text.Pandoc.Class. * Text.Pandoc.Filter: Generalize type of applyFilters from PandocIO to any instance of MonadIO and PandocMonad. * Text.Pandoc.PDF: Generalize type of makePDF: instead of PandocIO, it can be used in any instance of PandocMonad, MonadIO, and MonadMask. * Lua subsystem and custom writers: generalize types from PandocIO to any instance of PandocMonad and MonadIO [API change]. The type of runLua is now `(PandocMonad m, MonadIO m) =3D> LuaE PandocError a -> m (Either PandocEr= ror a)`. Thanks to everyone who contributed, including new contributors Christophe Dervieux, Ezwal, Francesco Mazzoli, Milan Bracke, Quinn, Samuel Tardieu, Simon Schuster, and hseg; and stalwarts Albert Krewinkel, Aner Lucero, Emily Bourke, Jeroen de Haas, Salim B, William Lupton, and nuew. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/318d793c-7fcd-491f-adf4-3ff0038eb140n%40googlegroups.com. ------=_Part_1617_19958905.1635049546751 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I'm pleased to announce the release of pandoc 2.15,
available in the usual places:

Binary packa= ges & changelog:
  https://github.com/jgm/pandoc/release= s/tag/2.15

Source & API documentation:
  http://hackage.haskell.org/package/pandoc-2.15

For a full description of the changes, see the changelog. But
<= div>here are a few of the more prominent changes:

= * A new option --sandbox will ensure that pandoc's readers and writers do
  no IO besides reading from the files specified on the comma= nd line and
  writing the output.  This restriction is = enforced by the type system.
  Anyone who uses pandoc to pro= cess untrusted data should use this
  option (keeping in min= d especially that some formats, such as RST,
  Org, and LaTe= X, have directives for including files).  Note: filters, PDF
  production, and custom writers are unaffected.  If you use the= se features,
  you are responsible for considering the secur= ity risks. Those who
  maintain libraries (such as pypandoc)= that run pandoc with a system
  call may want to consider a= dding --sandbox to the parameters used by
  default.

* Pandoc will now fall back to latin1 encoding for inputs= that can=E2=80=99t be read as
  UTF-8. This is what it did = previously for content fetched from the web and
not
&nb= sp; marked as to content type. It makes sense to do the same for local file= s. In
  this case a NotUTF8Encoded warning will be issued, i= ndicating that pandoc is
  interpreting the input as latin1.=

* SVG images can now be used with docx output.

* Support for Powerpoint output is much improved (th= anks to the work of
  Emily Bourke).  See the changelog= for full details.

* The LaTeX writer now uses bab= el exclusively for multilingual support.
  (We used to use p= olyglossia with xelatex.)  If you use a custom template,
&nb= sp; you will probably need to update it to take account of these changes.

* The --reference-location option now works with HT= ML output (thanks
  to Francesco Mazzoli).

* Native output is now formatted using pretty-show, which gives nic= er
  results for tests and debugging (which is the main purp= ose of
  native output).

* gfm now = supports footnotes.

* Better performance and error= messages in Lua filters, due to Albert
Krewinkel.

=
* Code changes have been introduced (by Aner Lucero) which will = streamline
  the addition of a real Figure block element in = a future release.

API changes:

* Text.Pandoc.Logging: add NotUTF8Encoded constructor to LogMessage.<= /div>

* Text.Pandoc.Class: Add readStdinStrict method to= PandocMonad.

* Text.Pandoc.Class: Generalize type= of extractMedia. It was uselessly
  restricted to PandocIO,= instead of any instance of PandocMonad and MonadIO.

* Text.Pandoc.Shared: export splitSentences.

* = Text.Pandoc.Class.PandocIO: derive MonadCatch, MonadThrow, MonadMask.
=

* Add module Text.Pandoc.Class.Sandbox, exporting sandb= ox via
Text.Pandoc.Class.

* Text.Pandoc.= Filter: Generalize type of applyFilters from PandocIO to
  a= ny instance of MonadIO and PandocMonad.

* Text.Pan= doc.PDF: Generalize type of makePDF: instead of PandocIO, it
&nbs= p; can be used in any instance of PandocMonad, MonadIO, and MonadMask.

* Lua subsystem and custom writers: generalize types f= rom PandocIO to
  any instance of PandocMonad and MonadIO [A= PI change]. The type of runLua
  is now
  `(P= andocMonad m, MonadIO m) =3D> LuaE PandocError a -> m (Either PandocE= rror
a)`.

Thanks to everyone who contrib= uted, including new contributors Christophe
Dervieux, Ezwal, Fran= cesco Mazzoli, Milan Bracke, Quinn, Samuel Tardieu,
Simon Schuste= r, and hseg; and stalwarts Albert Krewinkel, Aner Lucero,
Emily B= ourke, Jeroen de Haas, Salim B, William Lupton, and nuew.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/318d793c-7fcd-491f-adf4-3ff0038eb140n%40googlegroups.= com.
------=_Part_1617_19958905.1635049546751-- ------=_Part_1616_663286700.1635049546751--