Bump to 2.2.3, update changelog and man page.
This commit is contained in:
parent
581a3514ca
commit
d8a614d7bb
4 changed files with 110 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
||||||
% Pandoc User's Guide
|
% Pandoc User's Guide
|
||||||
% John MacFarlane
|
% John MacFarlane
|
||||||
% July 19, 2018
|
% August 5, 2018
|
||||||
|
|
||||||
Synopsis
|
Synopsis
|
||||||
========
|
========
|
||||||
|
|
86
changelog
86
changelog
|
@ -1,3 +1,89 @@
|
||||||
|
pandoc (2.2.3)
|
||||||
|
|
||||||
|
* RST reader: improve parsing of inline interpreted text roles (#4811).
|
||||||
|
|
||||||
|
+ Use a Span with class "title-reference" for the default
|
||||||
|
title-reference role.
|
||||||
|
+ Use `B.text` to split up contents into `Space`s, `SoftBreak`s,
|
||||||
|
and `Str`s for `title-reference`.
|
||||||
|
+ Use Code with class "interpreted-text" instead of Span and Str for
|
||||||
|
unknown roles. (The RST writer has also been modified to round-trip
|
||||||
|
this properly.)
|
||||||
|
+ Disallow blank lines in interpreted text.
|
||||||
|
+ Backslash-escape now works in interpreted text.
|
||||||
|
+ Backticks followed by alphanumerics no longer end interpreted text.
|
||||||
|
+ Remove support for nested inlines (Francesco Occhipinti).
|
||||||
|
RST does not allow nested emphasis, links, or other inline
|
||||||
|
constructs. This fixes several bugs (#4581, #4561, #4792).
|
||||||
|
|
||||||
|
* Org reader: fix parsers relying on `parseFromString` (#4784, Albert
|
||||||
|
Krewinkel). Emphasis was not parsed when it followed directly after
|
||||||
|
some block types (e.g., lists).
|
||||||
|
|
||||||
|
* Markdown reader: Allow unquoted numbers and booleans as YAML mapping
|
||||||
|
keys. Previously in 2.2.2 you could not do
|
||||||
|
```
|
||||||
|
---
|
||||||
|
0: bar
|
||||||
|
...
|
||||||
|
```
|
||||||
|
but only
|
||||||
|
```
|
||||||
|
---
|
||||||
|
'0': bar
|
||||||
|
...
|
||||||
|
```
|
||||||
|
With this change, both forms work.
|
||||||
|
|
||||||
|
* DocBook reader: metadata handling improvements.
|
||||||
|
Now we properly parse title and subtitle elements that are direct
|
||||||
|
children of book and article (as well as children of bookinfo,
|
||||||
|
articleinfo, or info). We also now use the `subtitle` metadata
|
||||||
|
field for subtitles, rather than tacking the subtitle on to the
|
||||||
|
title.
|
||||||
|
|
||||||
|
* RST writer:
|
||||||
|
|
||||||
|
+ Allow images to be directly nested within links (#4810, Francesco
|
||||||
|
Occhipinti).
|
||||||
|
+ Use `titleblock` instead of `title` variable for title block (#4803,
|
||||||
|
Francesco Occhipinti). `titleblock` contains a properly formatted
|
||||||
|
title and subtitle (using top-level headers). `title` and
|
||||||
|
`subtitle` variables are still available and just contain the
|
||||||
|
title and subtitle text. Note that this change will require an
|
||||||
|
update to custom rst templates.
|
||||||
|
+ Render Code with class "interpreted-text" as interpreted text role.
|
||||||
|
|
||||||
|
* MediaWiki writer: Avoid extra blank line in tables with empty cells
|
||||||
|
(#4794). Note that the old output is semantically identical, but the
|
||||||
|
new output looks better.
|
||||||
|
|
||||||
|
* Lua Utils module: add function `blocks_to_inlines` (#4799, Albert
|
||||||
|
Krewinkel). Exposes a function converting which flattenes a list of
|
||||||
|
blocks into a list of inlines. An example use case would be the
|
||||||
|
conversion of Note elements into other inlines.
|
||||||
|
|
||||||
|
* RST template: use `titleblock` instead of `title`. Users of
|
||||||
|
custom RST templates will want to update this.
|
||||||
|
|
||||||
|
* LaTeX template: Moved some beamer code in default.latex template.
|
||||||
|
This change allows beamer themes to change the template and font (as
|
||||||
|
Metropolis does) (#4450).
|
||||||
|
|
||||||
|
* Better error message on `-t pdf -o out.pdf` (#1155, Mauro Bieg).
|
||||||
|
|
||||||
|
* Added test case for #4669 to repository.
|
||||||
|
|
||||||
|
* INSTALL.md: Fix broken link for cabal-install (#4806, ChanHoHo).
|
||||||
|
|
||||||
|
* MANUAL.txt:
|
||||||
|
|
||||||
|
+ Add beamer info for slide backgrounds (#4802, John Muccigrosso).
|
||||||
|
+ Clarify when `csquotes` is used in LaTeX writer (#4514).
|
||||||
|
+ Add `commonmark` to list of output formats where `raw_tex` has an
|
||||||
|
effect (see #4527).
|
||||||
|
|
||||||
|
|
||||||
pandoc (2.2.2.1)
|
pandoc (2.2.2.1)
|
||||||
|
|
||||||
* Fix regression finding templates in user data directory (#4777).
|
* Fix regression finding templates in user data directory (#4777).
|
||||||
|
|
37
man/pandoc.1
37
man/pandoc.1
|
@ -1,5 +1,5 @@
|
||||||
.\"t
|
.\"t
|
||||||
.TH PANDOC 1 "July 19, 2018" "pandoc 2.2.2.1"
|
.TH PANDOC 1 "August 5, 2018" "pandoc 2.2.3"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
pandoc - general markup converter
|
pandoc - general markup converter
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -187,8 +187,9 @@ requires \f[C]fontspec\f[].
|
||||||
If the \f[C]mathspec\f[] variable is set, \f[C]xelatex\f[] will use
|
If the \f[C]mathspec\f[] variable is set, \f[C]xelatex\f[] will use
|
||||||
\f[C]mathspec\f[] instead of \f[C]unicode\-math\f[].
|
\f[C]mathspec\f[] instead of \f[C]unicode\-math\f[].
|
||||||
The \f[C]upquote\f[] and \f[C]microtype\f[] packages are used if
|
The \f[C]upquote\f[] and \f[C]microtype\f[] packages are used if
|
||||||
available, and \f[C]csquotes\f[] will be used for typography if added to
|
available, and \f[C]csquotes\f[] will be used for typography if
|
||||||
the template or included in any header file.
|
\f[C]\\usepackage{csquotes}\f[] is present in the template or included
|
||||||
|
via \f[C]/H/\-\-include\-in\-header\f[].
|
||||||
The \f[C]natbib\f[], \f[C]biblatex\f[], \f[C]bibtex\f[], and
|
The \f[C]natbib\f[], \f[C]biblatex\f[], \f[C]bibtex\f[], and
|
||||||
\f[C]biber\f[] packages can optionally be used for citation rendering.
|
\f[C]biber\f[] packages can optionally be used for citation rendering.
|
||||||
.SS Reading from the Web
|
.SS Reading from the Web
|
||||||
|
@ -2364,7 +2365,7 @@ addition to \f[C]markdown\f[]):
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B output formats
|
.B output formats
|
||||||
\f[C]textile\f[]
|
\f[C]textile\f[], \f[C]commonmark\f[]
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.SS Extension: \f[C]native_divs\f[]
|
.SS Extension: \f[C]native_divs\f[]
|
||||||
|
@ -5562,32 +5563,38 @@ User\[aq]s Guide may also be used: \f[C]allowdisplaybreaks\f[],
|
||||||
\f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[],
|
\f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[],
|
||||||
\f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[],
|
\f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[],
|
||||||
\f[C]standout\f[], \f[C]noframenumbering\f[].
|
\f[C]standout\f[], \f[C]noframenumbering\f[].
|
||||||
.SS Background in reveal.js
|
.SS Background in reveal.js and beamer
|
||||||
.PP
|
.PP
|
||||||
Background images can be added to self\-contained reveal.js slideshows.
|
Background images can be added to self\-contained reveal.js slideshows
|
||||||
|
and to beamer slideshows.
|
||||||
.PP
|
.PP
|
||||||
For the same image on every slide, use the reveal.js configuration
|
For the same image on every slide, use the configuration option
|
||||||
option \f[C]parallaxBackgroundImage\f[] either in the YAML metadata
|
\f[C]background\-image\f[] either in the YAML metadata block or as a
|
||||||
block or as a command\-line variable.
|
command\-line variable.
|
||||||
|
(There are no other options in beamer and the rest of this section
|
||||||
|
concerns reveal.js slideshows.)
|
||||||
|
.PP
|
||||||
|
For reveal.js, you can instead use the reveal.js\-native option
|
||||||
|
\f[C]parallaxBackgroundImage\f[].
|
||||||
You can also set \f[C]parallaxBackgroundHorizontal\f[] and
|
You can also set \f[C]parallaxBackgroundHorizontal\f[] and
|
||||||
\f[C]parallaxBackgroundVertical\f[] the same way and must also set
|
\f[C]parallaxBackgroundVertical\f[] the same way and must also set
|
||||||
\f[C]parallaxBackgroundSize\f[] to have your values take effect.
|
\f[C]parallaxBackgroundSize\f[] to have your values take effect.
|
||||||
.PP
|
.PP
|
||||||
To set an image for a particular slide, add
|
To set an image for a particular reveal.js slide, add
|
||||||
\f[C]{data\-background\-image="/path/to/image"}\f[] to the first
|
\f[C]{data\-background\-image="/path/to/image"}\f[] to the first
|
||||||
slide\-level header on the slide (which may even be empty).
|
slide\-level header on the slide (which may even be empty).
|
||||||
.PP
|
.PP
|
||||||
In reveal.js\[aq]s overview mode, the parallaxBackgroundImage will show
|
In reveal.js\[aq]s overview mode, the parallaxBackgroundImage will show
|
||||||
up only on the first slide.
|
up only on the first slide.
|
||||||
.PP
|
.PP
|
||||||
Other background settings also work on individual slides, including
|
Other reveal.js background settings also work on individual slides,
|
||||||
\f[C]data\-background\-size\f[], \f[C]data\-background\-repeat\f[],
|
including \f[C]data\-background\-size\f[],
|
||||||
\f[C]data\-background\-color\f[], \f[C]data\-transition\f[], and
|
\f[C]data\-background\-repeat\f[], \f[C]data\-background\-color\f[],
|
||||||
\f[C]data\-transition\-speed\f[].
|
\f[C]data\-transition\f[], and \f[C]data\-transition\-speed\f[].
|
||||||
.PP
|
.PP
|
||||||
See the reveal.js documentation for more details.
|
See the reveal.js documentation for more details.
|
||||||
.PP
|
.PP
|
||||||
For example:
|
For example in reveal.js:
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: pandoc
|
name: pandoc
|
||||||
version: 2.2.2.1
|
version: 2.2.3
|
||||||
cabal-version: 2.0
|
cabal-version: 2.0
|
||||||
build-type: Custom
|
build-type: Custom
|
||||||
license: GPL-2
|
license: GPL-2
|
||||||
|
|
Loading…
Reference in a new issue