public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* ANN: pandoc 2.2.2
@ 2018-07-16  5:05 John MacFarlane
       [not found] ` <m2r2k37ou9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John MacFarlane @ 2018-07-16  5:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
	pandoc-announce-/JYPxA39Uh5TLH3MbocFFw


I'm pleased to announce the release of pandoc 2.2.2:

Changelog and binary packages:
  https://github.com/jgm/pandoc/releases/tag/2.2.2
API docs and source code:
  https://hackage.haskell.org/package/pandoc

This is mostly a bug-fix release (see changelog for
details).  Take note in particular of the following changes:

- We now use a different library to parse YAML
  metadata fields. This library implements YAML 1.2,
  where the valid boolean "true" values are "true",
  "True", "TRUE". Previously, "on", "yes," and "y"
  would count as "true" values, but they no longer do.

- --template can now take a URL as argument.  In this
  case the contents of the template will be fetched
  over the network.

Thanks to all who contributed, including Mauro Bieg,
Anders Waldenborg, Raymond Ehlers, Alexander Krotov,
Albert Krewinkel, Adrian Sieber, Gandalf Saxe,
wiefling, kaizshang91, lux-lth, and Felix Yan.


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

* Re: ANN: pandoc 2.2.2
       [not found] ` <m2r2k37ou9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2018-07-16 13:02   ` Joseph Reagle
       [not found]     ` <d36d48c5-4e44-b208-e3f0-6976f682fce4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  2018-07-16 15:12   ` ChrisD
  1 sibling, 1 reply; 8+ messages in thread
From: Joseph Reagle @ 2018-07-16 13:02 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 7/16/18 1:05 AM, John MacFarlane wrote:
> - We now use a different library to parse YAML
>   metadata fields. This library implements YAML 1.2,

The parser is choking on YAML that used to work. Running it through a 1.2 validator I get this error:

```
found unknown escape character "'"
  in "<unicode string>", line 83, column 67:
     ... n class='nocase'>a.k.a</span>. \'hacking\'"
```

Apparently \ is not the way to escape single quotes... Do they need escaping or is there some other way?


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

* Re: ANN: pandoc 2.2.2
       [not found] ` <m2r2k37ou9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  2018-07-16 13:02   ` Joseph Reagle
@ 2018-07-16 15:12   ` ChrisD
       [not found]     ` <59fc2680-7e00-7fea-a60e-41ac311a5a94-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: ChrisD @ 2018-07-16 15:12 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

When I run pandoc-2.2.2-windows-x86_64.msi, it says it is installing version 2.2.1, and then takes me to the page to uninstall.




-------- Original Message --------
Subject: ANN: pandoc 2.2.2
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Date: 7/15/2018 10:05 PM

> 
> I'm pleased to announce the release of pandoc 2.2.2:


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

* Re: ANN: pandoc 2.2.2
       [not found]     ` <d36d48c5-4e44-b208-e3f0-6976f682fce4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2018-07-16 15:46       ` John MacFarlane
       [not found]         ` <m2o9f76v4e.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John MacFarlane @ 2018-07-16 15:46 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


It depends on the context.  Can you give the whole
field?  ALso, check the spec: http://yaml.org/spec/1.2/spec.html

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

> On 7/16/18 1:05 AM, John MacFarlane wrote:
>> - We now use a different library to parse YAML
>>   metadata fields. This library implements YAML 1.2,
>
> The parser is choking on YAML that used to work. Running it through a 1.2 validator I get this error:
>
> ```
> found unknown escape character "'"
>   in "<unicode string>", line 83, column 67:
>      ... n class='nocase'>a.k.a</span>. \'hacking\'"
> ```
>
> Apparently \ is not the way to escape single quotes... Do they need escaping or is there some other way?
>
> -- 
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d36d48c5-4e44-b208-e3f0-6976f682fce4%40reagle.org.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: ANN: pandoc 2.2.2
       [not found]     ` <59fc2680-7e00-7fea-a60e-41ac311a5a94-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
@ 2018-07-16 16:02       ` John MacFarlane
       [not found]         ` <m2lgab6ue7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John MacFarlane @ 2018-07-16 16:02 UTC (permalink / raw)
  To: ChrisD, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


See https://github.com/jgm/pandoc/issues/4775
I have uploaded a new version of the package; please
try that...

ChrisD <cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> writes:

> When I run pandoc-2.2.2-windows-x86_64.msi, it says it is installing version 2.2.1, and then takes me to the page to uninstall.
>
>
>
>
> -------- Original Message --------
> Subject: ANN: pandoc 2.2.2
> From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Date: 7/15/2018 10:05 PM
>
>> 
>> I'm pleased to announce the release of pandoc 2.2.2:
>
> -- 
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/59fc2680-7e00-7fea-a60e-41ac311a5a94%40intielectronics.com.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: ANN: pandoc 2.2.2
       [not found]         ` <m2lgab6ue7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2018-07-16 18:11           ` ChrisD
  0 siblings, 0 replies; 8+ messages in thread
From: ChrisD @ 2018-07-16 18:11 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw, John MacFarlane

The new version installs correctly, thanks.

FWIW, the original 2.2.2 msi file (x86-64) was 24.7 MB in size, exactly the same as the 2.2.1 msi file. And comparing the two msi files (as binary files) showed them identical except for a short section at the end of the file.

The new 2.2.2-1 msi file is 5.5 MB in size and is completely different. Of course comparing the zip files would probably be more informative...

Thanks for the quick fix.

Chris


-------- Original Message --------
Subject: Re: ANN: pandoc 2.2.2
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: ChrisD <cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Date: 7/16/2018 9:02 AM

> 
> See https://github.com/jgm/pandoc/issues/4775
> I have uploaded a new version of the package; please
> try that...
> 
> ChrisD <cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> writes:
> 
>> When I run pandoc-2.2.2-windows-x86_64.msi, it says it is installing version 2.2.1, and then takes me to the page to uninstall.
>>
>>
>>
>>
>> -------- Original Message --------
>> Subject: ANN: pandoc 2.2.2
>> From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
>> To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> Date: 7/15/2018 10:05 PM
>>
>>>
>>> I'm pleased to announce the release of pandoc 2.2.2:
>>
>> -- 


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

* Re: ANN: pandoc 2.2.2
       [not found]         ` <m2o9f76v4e.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2018-07-16 18:29           ` Joseph Reagle
  2018-07-17 10:08           ` BP Jonsson
  1 sibling, 0 replies; 8+ messages in thread
From: Joseph Reagle @ 2018-07-16 18:29 UTC (permalink / raw)
  To: John MacFarlane, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 7/16/18 11:46 AM, John MacFarlane wrote:
> It depends on the context.  Can you give the whole
> field?  ALso, check the spec: http://yaml.org/spec/1.2/spec.html

pandoc's diagnostics aren't specific, but I think it's the single quotes because the following fails at:

 http://yaml-online-parser.appspot.com/?yaml=-+id%3A+Buchheit2009apk%0A++type%3A+post-weblog%0A++abstract%3A+%22Developer+of+Gmail+discusses+hacking+of+systems%22%0A++author%3A%0A++-+family%3A+%22Buchheit%22%0A++++given%3A+%22Paul%22%0A++custom2%3A+%22lh.mm%22%0A++issued%3A%0A++++year%3A+2009%0A++++month%3A+10%0A++++day%3A+13%0A++title%3A+%22Applied+philosophy%2C+%3Cspan+class%3D%27nocase%27%3Ea.k.a%3C%2Fspan%3E.+%5C%27hacking%5C%27%22%0A++URL%3A+%22http%3A%2F%2Fpaulbuchheit.blogspot.com%2F2009%2F10%2Fapplied-philosophy-aka-hacking.html%22%0A++accessed%3A%0A++++year%3A+2015%0A++++month%3A+07%0A++++day%3A+23%0A&type=json 
 

```
- id: Buchheit2009apk
  type: post-weblog
  abstract: "Developer of Gmail discusses hacking of systems"
  author:
  - family: "Buchheit"
    given: "Paul"
  custom2: "lh.mm"
  issued:
    year: 2009
    month: 10
    day: 13
  title: "Applied philosophy, <span class='nocase'>a.k.a</span>. \'hacking\'"
  URL: "http://paulbuchheit.blogspot.com/2009/10/applied-philosophy-aka-hacking.html"
  accessed:
    year: 2015
    month: 07
    day: 23
```

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/df9bbe4a-a1ad-3632-5503-4fc8b4f8df10%40reagle.org.
For more options, visit https://groups.google.com/d/optout.


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

* Re: ANN: pandoc 2.2.2
       [not found]         ` <m2o9f76v4e.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  2018-07-16 18:29           ` Joseph Reagle
@ 2018-07-17 10:08           ` BP Jonsson
  1 sibling, 0 replies; 8+ messages in thread
From: BP Jonsson @ 2018-07-17 10:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3187 bytes --]

Simply put: in YAML single quotes inside double quotes and double quotes
inside single quotes need not and cannot be escaped `"I don't"` and `'Say
"Yes!"'` respectively, double quotes inside double quotes are escaped with
a preceding backslash `"Say \"Yes!\""` while single quotes inside single
quotes are escaped by doubling: `'I don''t'`. Note also that backtick is a
reserved character in YAML so strings containing it must be quoted or put
in a block scalar although not all YAML parsers enforce that rule.

mån 16 juli 2018 kl. 17:47 skrev John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:

>
> It depends on the context.  Can you give the whole
> field?  ALso, check the spec: http://yaml.org/spec/1.2/spec.html
>
> Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:
>
> > On 7/16/18 1:05 AM, John MacFarlane wrote:
> >> - We now use a different library to parse YAML
> >>   metadata fields. This library implements YAML 1.2,
> >
> > The parser is choking on YAML that used to work. Running it through a
> 1.2 validator I get this error:
> >
> > ```
> > found unknown escape character "'"
> >   in "<unicode string>", line 83, column 67:
> >      ... n class='nocase'>a.k.a</span>. \'hacking\'"
> > ```
> >
> > Apparently \ is not the way to escape single quotes... Do they need
> escaping or is there some other way?
> >
> > --
> > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/d36d48c5-4e44-b208-e3f0-6976f682fce4%40reagle.org
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/m2o9f76v4e.fsf%40johnmacfarlane.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuSVqkR0JdHqY4N5Sh1sBXefJQhtB%3DLicy5spD-K-rjZBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5116 bytes --]

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

end of thread, other threads:[~2018-07-17 10:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  5:05 ANN: pandoc 2.2.2 John MacFarlane
     [not found] ` <m2r2k37ou9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-07-16 13:02   ` Joseph Reagle
     [not found]     ` <d36d48c5-4e44-b208-e3f0-6976f682fce4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2018-07-16 15:46       ` John MacFarlane
     [not found]         ` <m2o9f76v4e.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-07-16 18:29           ` Joseph Reagle
2018-07-17 10:08           ` BP Jonsson
2018-07-16 15:12   ` ChrisD
     [not found]     ` <59fc2680-7e00-7fea-a60e-41ac311a5a94-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
2018-07-16 16:02       ` John MacFarlane
     [not found]         ` <m2lgab6ue7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-07-16 18:11           ` ChrisD

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