public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* ANN: pandoc 2.17.1
@ 2022-01-30 20:57 John MacFarlane
       [not found] ` <m2zgndj61d.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2022-01-30 20:57 UTC (permalink / raw)
  To: pandoc-announce-/JYPxA39Uh5TLH3MbocFFw,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

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

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

This release brings a number of bug fixes and small improvements.
Of special note:

* pagedjs-cli may now be used as a --pdf-engine
* Text.Pandoc.Class now exports readMetadataFile [API change]
* Text.Pnadoc.Error now exports the PandocColudNotFindMetadataFileError
  constructor for PandocError [API change]

Thanks to all who contributed, including Albert Krewinkel (who
made extensive improvements to the Lua subsystem), Michael Hoffmann,
Nikolai Korobeinikov, ricnorr, Even Brenden, Mauro Bieg, Benson Muite,
and Carsten Allefeld.


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

* Re: ANN: pandoc 2.17.1
       [not found] ` <m2zgndj61d.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
@ 2022-01-31 15:25   ` Joseph Reagle
       [not found]     ` <bf4007b6-45b6-aa07-d7da-7fc4b424ac2d-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Reagle @ 2022-01-31 15:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

This arrived in homebrew this morning and now pandoc is having a hard time finding my `base.yaml`.

No good:

```
╰─➤  echo foo | pandoc --defaults=base.yaml
pandoc: base.yaml: openBinaryFile: does not exist (No such file or directory)
```

Nor is this good:

```
╰─➤  echo foo | pandoc --data-dir=/Users/reagle/.pandoc/defaults/ --defaults=base.yaml
pandoc: base.yaml: openBinaryFile: does not exist (No such file or directory)
```

Below is fine:

```
╰─➤  echo foo | pandoc --defaults=/Users/reagle/.pandoc/defaults/base.yaml
[WARNING] This document format requires a nonempty <title> element.
   Defaulting to '-' as the title.
   To specify a title, use 'title' in metadata or --metadata title="...".
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
...
```

Version/datadir:

```
╰─➤  pandoc --version                                                                         1 ↵
pandoc 2.17.1
Compiled with pandoc-types 1.22.1, texmath 0.12.4, skylighting 0.12.2,
citeproc 0.6.0.1, ipynb 0.2
User data directory: /Users/reagle/.pandoc
Copyright (C) 2006-2022 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
```

-- 
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/bf4007b6-45b6-aa07-d7da-7fc4b424ac2d%40reagle.org.


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

* Re: ANN: pandoc 2.17.1
       [not found]     ` <bf4007b6-45b6-aa07-d7da-7fc4b424ac2d-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2022-01-31 17:34       ` John MacFarlane
  0 siblings, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2022-01-31 17:34 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


This regression is my fault; I will push a fix soon.


Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> This arrived in homebrew this morning and now pandoc is having a hard time finding my `base.yaml`.
>
> No good:
>
> ```
> ╰─➤  echo foo | pandoc --defaults=base.yaml
> pandoc: base.yaml: openBinaryFile: does not exist (No such file or directory)
> ```
>
> Nor is this good:
>
> ```
> ╰─➤  echo foo | pandoc --data-dir=/Users/reagle/.pandoc/defaults/ --defaults=base.yaml
> pandoc: base.yaml: openBinaryFile: does not exist (No such file or directory)
> ```
>
> Below is fine:
>
> ```
> ╰─➤  echo foo | pandoc --defaults=/Users/reagle/.pandoc/defaults/base.yaml
> [WARNING] This document format requires a nonempty <title> element.
>    Defaulting to '-' as the title.
>    To specify a title, use 'title' in metadata or --metadata title="...".
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
> ...
> ```
>
> Version/datadir:
>
> ```
> ╰─➤  pandoc --version                                                                         1 ↵
> pandoc 2.17.1
> Compiled with pandoc-types 1.22.1, texmath 0.12.4, skylighting 0.12.2,
> citeproc 0.6.0.1, ipynb 0.2
> User data directory: /Users/reagle/.pandoc
> Copyright (C) 2006-2022 John MacFarlane. Web:  https://pandoc.org
> This is free software; see the source for copying conditions. There is no
> warranty, not even for merchantability or fitness for a particular purpose.
> ```
>
> -- 
> 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/bf4007b6-45b6-aa07-d7da-7fc4b424ac2d%40reagle.org.

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


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

end of thread, other threads:[~2022-01-31 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-30 20:57 ANN: pandoc 2.17.1 John MacFarlane
     [not found] ` <m2zgndj61d.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-01-31 15:25   ` Joseph Reagle
     [not found]     ` <bf4007b6-45b6-aa07-d7da-7fc4b424ac2d-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-01-31 17:34       ` John MacFarlane

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