git.iko.soy/typeable/pandoc
on master help sign in
Bump to 2.2.3, update changelog and man page.
commitd8a614d7bb04efe898dbd0d9bbf74fe5d79db902 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 5 Aug 2018, 12:40 (8 years ago) parent581a351
4 files changed+110−17
MANUAL.txt+1−1 changelog+86 man/pandoc.1+22−15 pandoc.cabal+1−1
MANUAL.txt+1−1
@@ -1,6 +1,6 @@
11% Pandoc User's Guide
22% John MacFarlane
3−% July 19, 2018
3+% August 5, 2018
44
55Synopsis
66========
changelog+86
@@ -1,3 +1,89 @@
1+pandoc (2.2.3)
2+
3+ * RST reader: improve parsing of inline interpreted text roles (#4811).
4+
5+ + Use a Span with class "title-reference" for the default
6+ title-reference role.
7+ + Use `B.text` to split up contents into `Space`s, `SoftBreak`s,
8+ and `Str`s for `title-reference`.
9+ + Use Code with class "interpreted-text" instead of Span and Str for
10+ unknown roles. (The RST writer has also been modified to round-trip
11+ this properly.)
12+ + Disallow blank lines in interpreted text.
13+ + Backslash-escape now works in interpreted text.
14+ + Backticks followed by alphanumerics no longer end interpreted text.
15+ + Remove support for nested inlines (Francesco Occhipinti).
16+ RST does not allow nested emphasis, links, or other inline
17+ constructs. This fixes several bugs (#4581, #4561, #4792).
18+
19+ * Org reader: fix parsers relying on `parseFromString` (#4784, Albert
20+ Krewinkel). Emphasis was not parsed when it followed directly after
21+ some block types (e.g., lists).
22+
23+ * Markdown reader: Allow unquoted numbers and booleans as YAML mapping
24+ keys. Previously in 2.2.2 you could not do
25+ ```
26+ ---
27+ 0: bar
28+ ...
29+ ```
30+ but only
31+ ```
32+ ---
33+ '0': bar
34+ ...
35+ ```
36+ With this change, both forms work.
37+
38+ * DocBook reader: metadata handling improvements.
39+ Now we properly parse title and subtitle elements that are direct
40+ children of book and article (as well as children of bookinfo,
41+ articleinfo, or info). We also now use the `subtitle` metadata
42+ field for subtitles, rather than tacking the subtitle on to the
43+ title.
44+
45+ * RST writer:
46+
47+ + Allow images to be directly nested within links (#4810, Francesco
48+ Occhipinti).
49+ + Use `titleblock` instead of `title` variable for title block (#4803,
50+ Francesco Occhipinti). `titleblock` contains a properly formatted
51+ title and subtitle (using top-level headers). `title` and
52+ `subtitle` variables are still available and just contain the
53+ title and subtitle text. Note that this change will require an
54+ update to custom rst templates.
55+ + Render Code with class "interpreted-text" as interpreted text role.
56+
57+ * MediaWiki writer: Avoid extra blank line in tables with empty cells
58+ (#4794). Note that the old output is semantically identical, but the
59+ new output looks better.
60+
61+ * Lua Utils module: add function `blocks_to_inlines` (#4799, Albert
62+ Krewinkel). Exposes a function converting which flattenes a list of
63+ blocks into a list of inlines. An example use case would be the
64+ conversion of Note elements into other inlines.
65+
66+ * RST template: use `titleblock` instead of `title`. Users of
67+ custom RST templates will want to update this.
68+
69+ * LaTeX template: Moved some beamer code in default.latex template.
70+ This change allows beamer themes to change the template and font (as
71+ Metropolis does) (#4450).
72+
73+ * Better error message on `-t pdf -o out.pdf` (#1155, Mauro Bieg).
74+
75+ * Added test case for #4669 to repository.
76+
77+ * INSTALL.md: Fix broken link for cabal-install (#4806, ChanHoHo).
78+
79+ * MANUAL.txt:
80+
81+ + Add beamer info for slide backgrounds (#4802, John Muccigrosso).
82+ + Clarify when `csquotes` is used in LaTeX writer (#4514).
83+ + Add `commonmark` to list of output formats where `raw_tex` has an
84+ effect (see #4527).
85+
86+
187pandoc (2.2.2.1)
288
389 * Fix regression finding templates in user data directory (#4777).
man/pandoc.1+22−15
@@ -1,5 +1,5 @@
11.\"t
2−.TH PANDOC 1 "July 19, 2018" "pandoc 2.2.2.1"
2+.TH PANDOC 1 "August 5, 2018" "pandoc 2.2.3"
33.SH NAME
44pandoc - general markup converter
55.SH SYNOPSIS
@@ -187,8 +187,9 @@ requires \f[C]fontspec\f[].
187187If the \f[C]mathspec\f[] variable is set, \f[C]xelatex\f[] will use
188188\f[C]mathspec\f[] instead of \f[C]unicode\-math\f[].
189189The \f[C]upquote\f[] and \f[C]microtype\f[] packages are used if
190−available, and \f[C]csquotes\f[] will be used for typography if added to
191−the template or included in any header file.
190+available, and \f[C]csquotes\f[] will be used for typography if
191+\f[C]\\usepackage{csquotes}\f[] is present in the template or included
192+via \f[C]/H/\-\-include\-in\-header\f[].
192193The \f[C]natbib\f[], \f[C]biblatex\f[], \f[C]bibtex\f[], and
193194\f[C]biber\f[] packages can optionally be used for citation rendering.
194195.SS Reading from the Web
@@ -2364,7 +2365,7 @@ addition to \f[C]markdown\f[]):
23642365.RE
23652366.TP
23662367.B output formats
2367−\f[C]textile\f[]
2368+\f[C]textile\f[], \f[C]commonmark\f[]
23682369.RS
23692370.RE
23702371.SS Extension: \f[C]native_divs\f[]
@@ -5562,32 +5563,38 @@ User\[aq]s Guide may also be used: \f[C]allowdisplaybreaks\f[],
55625563\f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[],
55635564\f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[],
55645565\f[C]standout\f[], \f[C]noframenumbering\f[].
5565−.SS Background in reveal.js
5566+.SS Background in reveal.js and beamer
5567+.PP
5568+Background images can be added to self\-contained reveal.js slideshows
5569+and to beamer slideshows.
55665570.PP
5567−Background images can be added to self\-contained reveal.js slideshows.
5571+For the same image on every slide, use the configuration option
5572+\f[C]background\-image\f[] either in the YAML metadata block or as a
5573+command\-line variable.
5574+(There are no other options in beamer and the rest of this section
5575+concerns reveal.js slideshows.)
55685576.PP
5569−For the same image on every slide, use the reveal.js configuration
5570−option \f[C]parallaxBackgroundImage\f[] either in the YAML metadata
5571−block or as a command\-line variable.
5577+For reveal.js, you can instead use the reveal.js\-native option
5578+\f[C]parallaxBackgroundImage\f[].
55725579You can also set \f[C]parallaxBackgroundHorizontal\f[] and
55735580\f[C]parallaxBackgroundVertical\f[] the same way and must also set
55745581\f[C]parallaxBackgroundSize\f[] to have your values take effect.
55755582.PP
5576−To set an image for a particular slide, add
5583+To set an image for a particular reveal.js slide, add
55775584\f[C]{data\-background\-image="/path/to/image"}\f[] to the first
55785585slide\-level header on the slide (which may even be empty).
55795586.PP
55805587In reveal.js\[aq]s overview mode, the parallaxBackgroundImage will show
55815588up only on the first slide.
55825589.PP
5583−Other background settings also work on individual slides, including
5584−\f[C]data\-background\-size\f[], \f[C]data\-background\-repeat\f[],
5585−\f[C]data\-background\-color\f[], \f[C]data\-transition\f[], and
5586−\f[C]data\-transition\-speed\f[].
5590+Other reveal.js background settings also work on individual slides,
5591+including \f[C]data\-background\-size\f[],
5592+\f[C]data\-background\-repeat\f[], \f[C]data\-background\-color\f[],
5593+\f[C]data\-transition\f[], and \f[C]data\-transition\-speed\f[].
55875594.PP
55885595See the reveal.js documentation for more details.
55895596.PP
5590−For example:
5597+For example in reveal.js:
55915598.IP
55925599.nf
55935600\f[C]
pandoc.cabal+1−1
@@ -1,5 +1,5 @@
11name: pandoc
2−version: 2.2.2.1
2+version: 2.2.3
33cabal-version: 2.0
44build-type: Custom
55license: GPL-2