public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* ANN: pandoc 2.14
@ 2021-05-29  6:00 John MacFarlane
       [not found] ` <m2bl8uoz9u.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2021-05-29  6:00 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
	pandoc-announce-/JYPxA39Uh5TLH3MbocFFw


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

Binary packages & changelog:
  https://github.com/jgm/pandoc/releases/tag/2.14

Source & API documentation:
  http://hackage.haskell.org/package/pandoc-2.14 [*]

[*] As I write this, Friday evening May 28, Hackage is down for
    service, so I haven't been able to upload the package
    yet. But when I do, it will be available at the link above.


Some highlights of the user-facing changes:

* Pandoc's text-format parsers are now aware of the file from which
  each part of the source comes.  That means better error messages,
  more accurate source positions, and the possibility of resolving
  relative paths (for includes and images) relative to the file
  containing them, rather than the working directory. (See below on
  the rebase_relative_paths extension.

* New extension rebase_relative_paths, which can optionally be
  enabled for markdown and commonmark readers (including gfm).  When
  enabled, this extension rewrites relative image and link paths by
  prepending the (relative) directory of the containing file. This
  behavior is useful when your input sources are split into multiple
  files, across several directories, with files referring to images
  stored in the same directory.  This closes a longstanding issue
  (#3752).

* Curly-brace syntax for Markdown citation keys, allowing the use
  of citation keys that are not otherwise recognizable by pandoc
  due to their use of special characters.  Using URLs as citation
  keys now becomes feasible (#6026).

* Paths of include files in RST and Org are now properly resolved
  relative to the containing file (#5501, #6632).

* The docx reader and writer now supports many new table features,
  thanks to Emily Bourke (#6316) and Albert Krewinkel (#6315):
  column spans, row spans, multiple header rows, table description
  (parsed as a simple caption), captions, column widths.

* The LaTeX reader now has much improved support for siunitx commands,
  and for \xspace and \newif.

* The HTML reader now parses <h1> elements as normal headers, even
  if they have the class `title`.  (Previously these were dropped,
  on the assumption that they were recapitulating the metadata
  title.)  Use --shift-heading-level-by=-1 to turn the <h1> into the
  document title, or a filter to restore the previous behavior.

* In beamer output, blocks with the classes 'example' and 'alert'
  are now rendered as special exampleblock and alertblock
  environments.


This is a major version bump because of some API changes:

* New exported module, Text.Pandoc.Sources. This defines a
  type, Sources, that represents a number of chunks of
  text labeled with source positions, and a typeclass, ToSources,
  whose instances can be converted to Sources.  The module also
  exports modified versions of parsec Char parsers which take
  a Sources as the stream type and automatically update source
  positions as it moves through the labeled chunks.

* All of the readers that formerly took a Text parameter are now
  polymorphic and can accept any instance of the (new) ToSources
  typeclass.  Text is an instance, so most current uses of the
  readers should work without modification.

* Text.Pandoc.Parsing:
  + All parsers defined on Text as a stream are now defined on Sources.
  + The module also exports all of the modified Char parsers defined in
    Text.Pandoc.Sources.
  + The old insertIncludedFileF has been removed, and insertIncludedFile
    has been given a more general type, allowing it to be used where
    insertIncludedFileF was.
  + The citeKey parser has been given a new parameter, which controls
    whether the @{..} syntax is allowed.

* Text.Pandoc.Error: Modified the constructor PandocParsecError to take
  a Sources rather than a Text as first argument, so parse error locations
  can be accurately reported.

* Text.Pandoc.Extensions: Add constructor Ext_rebase_relative_paths to
  Extensions.

* Text.Pandoc.XML.Light: add Eq, Ord instances for Content, Element,
  Attr, CDataKind.

* Text.Pandoc.MediaBag:

  + Change MediaBag to use a Text key instead of [FilePath].
  + Export MediaItem type.
  + Change MediaBag type to a map from Text to MediaItem.
  + lookupMedia now returns a MediaItem.

* Text.Pandoc.Class: Remove fetchMediaResource.

* Text.Pandoc.Logging:  Add LoadedResource constructor to LogMessage.

* Text.Pandoc.Asciify: export toAsciiText.

* Text.Pandoc.Highlighting: Change type of languagesByExtension,
  adding a parameter for a SyntaxMap.

* Remove Text.Pandoc.BCP47 module. Use types and functions from
  UnicodeCollation.Lang instead.


In addition, there are many bug fixes and small changes. For
details, see the changelog.

Thanks to everyone who contributed, especially Albert Krewinkel and
new contributors Anti-Distinctlyminty, Charanjit Singh, Emily
Bourke, Julien Dutant, Roman Beránek, Tatiana Porras, badumont,
mbrackeantidot, nuew, obcat, and tecosaur.

-- 
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 email 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/m2bl8uoz9u.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found] ` <m2bl8uoz9u.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-05-29 16:05   ` John MacFarlane
       [not found]     ` <m28s3xplt8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2021-05-29 16:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
	pandoc-announce-/JYPxA39Uh5TLH3MbocFFw


> Source & API documentation:
>   http://hackage.haskell.org/package/pandoc-2.14 [*]
>
> [*] As I write this, Friday evening May 28, Hackage is down for
>     service, so I haven't been able to upload the package
>     yet. But when I do, it will be available at the link above.

I'm not sure whether Hackage is actually down.  They were
planning to take it down last night, but according to the
status page it is operational.

When I attempt to upload, I get a 413 Request Entity Too Large
error.

Reported here:
https://github.com/haskell/hackage-server/issues/935

Does anyone know anything that might help?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found]     ` <m28s3xplt8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-05-29 19:47       ` John MacFarlane
       [not found]         ` <m28s3xxqxp.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2021-05-29 19:47 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
	pandoc-announce-/JYPxA39Uh5TLH3MbocFFw


Problem solved.  I had to put the tarball on a diet.

John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:

>> Source & API documentation:
>>   http://hackage.haskell.org/package/pandoc-2.14 [*]
>>
>> [*] As I write this, Friday evening May 28, Hackage is down for
>>     service, so I haven't been able to upload the package
>>     yet. But when I do, it will be available at the link above.
>
> I'm not sure whether Hackage is actually down.  They were
> planning to take it down last night, but according to the
> status page it is operational.
>
> When I attempt to upload, I get a 413 Request Entity Too Large
> error.
>
> Reported here:
> https://github.com/haskell/hackage-server/issues/935
>
> Does anyone know anything that might help?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found]         ` <m28s3xxqxp.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-05-29 21:45           ` Michael Becker
       [not found]             ` <50dd0e2e-7f63-46c8-bd30-13a3ff3d29a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Becker @ 2021-05-29 21:45 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1419 bytes --]

I tried updating view Home Brew, brew upgrade pandoc and brew says the 
latest version.  Do you know when 2.14 will be available for brew?

On Saturday, May 29, 2021 at 12:48:00 PM UTC-7 John MacFarlane wrote:

>
> Problem solved. I had to put the tarball on a diet.
>
> John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
>
> >> Source & API documentation:
> >> http://hackage.haskell.org/package/pandoc-2.14 [*]
> >>
> >> [*] As I write this, Friday evening May 28, Hackage is down for
> >> service, so I haven't been able to upload the package
> >> yet. But when I do, it will be available at the link above.
> >
> > I'm not sure whether Hackage is actually down. They were
> > planning to take it down last night, but according to the
> > status page it is operational.
> >
> > When I attempt to upload, I get a 413 Request Entity Too Large
> > error.
> >
> > Reported here:
> > https://github.com/haskell/hackage-server/issues/935
> >
> > Does anyone know anything that might help?
>

-- 
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 email 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/50dd0e2e-7f63-46c8-bd30-13a3ff3d29a2n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2700 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found]             ` <50dd0e2e-7f63-46c8-bd30-13a3ff3d29a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-05-30  0:39               ` John MacFarlane
  2021-05-31 18:57               ` Joseph Reagle
  1 sibling, 0 replies; 7+ messages in thread
From: John MacFarlane @ 2021-05-30  0:39 UTC (permalink / raw)
  To: Michael Becker, pandoc-discuss


No idea.  That's not something we have anything to do with.

Michael Becker <michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org> writes:

> I tried updating view Home Brew, brew upgrade pandoc and brew says the 
> latest version.  Do you know when 2.14 will be available for brew?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found]             ` <50dd0e2e-7f63-46c8-bd30-13a3ff3d29a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2021-05-30  0:39               ` John MacFarlane
@ 2021-05-31 18:57               ` Joseph Reagle
       [not found]                 ` <b9ae7d5c-4f98-9eaa-645e-a1c419a585cf-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Joseph Reagle @ 2021-05-31 18:57 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

It's one of the most response brews I use. I'm downloading it now.

On 21-05-29 17:45, Michael Becker wrote:
> I tried updating view Home Brew, brew upgrade pandoc and brew says the latest version.  Do you know when 2.14 will be available for brew?

-- 
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 email 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/b9ae7d5c-4f98-9eaa-645e-a1c419a585cf%40reagle.org.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: pandoc 2.14
       [not found]                 ` <b9ae7d5c-4f98-9eaa-645e-a1c419a585cf-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2021-05-31 19:21                   ` Michael Becker
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Becker @ 2021-05-31 19:21 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 798 bytes --]

Cool, thanks. Looks like it is available on Home Brew now, nice!

On Monday, May 31, 2021 at 11:57:09 AM UTC-7 Joseph wrote:

> It's one of the most response brews I use. I'm downloading it now.
>
> On 21-05-29 17:45, Michael Becker wrote:
> > I tried updating view Home Brew, brew upgrade pandoc and brew says the 
> latest version.  Do you know when 2.14 will be available for brew?
>

-- 
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 email 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/b38d96c9-85e4-49f4-9f6a-b8d2025a3ca9n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1321 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-31 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29  6:00 ANN: pandoc 2.14 John MacFarlane
     [not found] ` <m2bl8uoz9u.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-05-29 16:05   ` John MacFarlane
     [not found]     ` <m28s3xplt8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-05-29 19:47       ` John MacFarlane
     [not found]         ` <m28s3xxqxp.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-05-29 21:45           ` Michael Becker
     [not found]             ` <50dd0e2e-7f63-46c8-bd30-13a3ff3d29a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-05-30  0:39               ` John MacFarlane
2021-05-31 18:57               ` Joseph Reagle
     [not found]                 ` <b9ae7d5c-4f98-9eaa-645e-a1c419a585cf-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2021-05-31 19:21                   ` Michael Becker

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