git.iko.soy/typeable/pandoc
on master help sign in
Update changelog, AUTHORS.
1302131John MacFarlane
AUTHORS.md+3
@@ -35,6 +35,7 @@
35- Benoit Schweblin
35- Benoit Schweblin
36- Bjorn Buckwalter
36- Bjorn Buckwalter
37- Blake Eryx
37- Blake Eryx
38+- Bodigrim
38- Bradley Kuhn
39- Bradley Kuhn
39- Brent Yorgey
40- Brent Yorgey
40- Brian Leung
41- Brian Leung
@@ -77,6 +78,7 @@
77- Emerson Harkin
78- Emerson Harkin
78- Emily Eisenberg
79- Emily Eisenberg
79- Eric Kow
80- Eric Kow
81+- Erik Rask
80- Eric Seidel
82- Eric Seidel
81- Eric Schrijver
83- Eric Schrijver
82- Ethan Riley
84- Ethan Riley
@@ -86,6 +88,7 @@
86- Florian Beeres
88- Florian Beeres
87- Florian Eitel
89- Florian Eitel
88- Florian Klink
90- Florian Klink
91+- Florian Kohrt
89- Francesco Occhipinti
92- Francesco Occhipinti
90- François Gannaz
93- François Gannaz
91- Frederik Elwert
94- Frederik Elwert
changelog.md+53−36
@@ -2,10 +2,17 @@
2
2
3## pandoc 2.13 (2021-03-21)
3## pandoc 2.13 (2021-03-21)
4
4
5+ * Support `yaml_metadata_block` extension for `commonmark`, `gfm` (#6537).
6+ This supported is a bit more limited than with pandoc's
7+ `markdown`. The YAML block must be the first thing in the input,
8+ and the leaf notes are parsed in isolation from the rest of
9+ the document. So, for example, you can't use reference
10+ links if the references are defined later in the document.
11+
5− * Fix fallback to default partials when custom templates are
12+ * Fix fallback to default partials when custom templates are used.
6− used. If the directory containing a template does not
13+ If the directory containing a template does not contain the partial,
7− contain the partial, it should be sought in the default
14+ it should be sought in the default templates, but this was not
8− templates, but this was not working properly (#7164).
15+ working properly (#7164).
9
16
10 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
17 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
11 Previously the nocite metadata field was ignored with these formats.
18 Previously the nocite metadata field was ignored with these formats.
@@ -18,21 +25,29 @@
18
25
19 * Text.Pandoc.Shared:
26 * Text.Pandoc.Shared:
20
27
21− + Remove `backslashEscapes`, `escapeStringUsing` [API
28+ + Remove `backslashEscapes`, `escapeStringUsing` [API change]. Replace
22− change]. Replace these inefficient association list
23− lookups with more efficient escaping functions in the
29+ these inefficient association list lookups with more efficient escaping
24− writers that used them (for a 10-25% performance boost
30+ functions in the writers that used them (for a 10-25% performance boost
25 in org, haddock, rtf, texinfo writers).
31 in org, haddock, rtf, texinfo writers).
26− + Remove `ToString`, `ToText` typeclasses [API change].
32+ + Remove `ToString`, `ToText` typeclasses [API change]. These were needed
27− These were needed for the transition from String to Text,
33+ for the transition from String to Text, but they are no longer used and
28− but they are no longer used and may clash with other
34+ may clash with other things.
29− things.
30 + Simplify `compactDL`.
35 + Simplify `compactDL`.
31
36
37+ * Text.Pandoc.Parsing:
38+
32− * Text.Pandoc.Parsing: Change type of `readWithM` so that it
39+ + Change type of `readWithM` so that it is no longer polymorphic
33− is no longer polymorphic. The `ToText` class has been
40+ [API change]. The `ToText` class has been removed, and now that we've
34− removed, and now that we've completed the transition to Text
35− we no longer need this to operate on Strings.
41+ completed the transition to Text we no longer need this to operate
42+ on Strings.
43+ + Remove `F` type synonym [API change]. Muse and Org were defining their
44+ own `F` anyway.
45+
46+ * Text.Pandoc.Readers.Metadata:
47+
48+ + Export `yamlMetaBlock` [API change].
49+ + Make `yamlBsToMeta`, `yamlBsToRefs` polymorphic on the parser state
50+ [API change].
36
51
37 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
52 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
38
53
@@ -50,6 +65,11 @@
50 * RST reader: fix logic for ending comments (#7134). Previously comments
65 * RST reader: fix logic for ending comments (#7134). Previously comments
51 sometimes got extended too far.
66 sometimes got extended too far.
52
67
68+ * DocBook writer: include Header attributes as XML attributes on
69+ section (Erik Rask). Attributes with key names that are not allowed
70+ as XML attributes are dropped, as are attributes with invalid values
71+ and `xml:id` (DocBook 5) and `id` (DocBook 4).
72+
53 * Docx writer:
73 * Docx writer:
54
74
55 + Make `nsid` in `abstractNum` deterministic. Previously we assigned
75 + Make `nsid` in `abstractNum` deterministic. Previously we assigned
@@ -82,17 +102,16 @@
82 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
102 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
83 [API change]
103 [API change]
84
104
85− * Use `-j4` for linux release build. This speeds up the build
105+ * Use `-j4` for linux release build. This speeds up the build dramatically
86− dramatically on arm.
106+ on arm.
87
107
88− * cabal.project: remove ghcoptions. Move flags to top level, so
108+ * cabal.project: remove ghcoptions. Move flags to top level, so they can
89− they can be set differently on the command line.
109+ be set differently on the command line.
90
110
91 * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
111 * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
92− (The latest skylighting fixes a bad bug with Haskell syntax
112+ (The latest skylighting fixes a bad bug with Haskell syntax highlighting.)
93− highlighting.) Narrow version bounds for texmath,
113+ Narrow version bounds for texmath, skylighting, and citeproc, since
94− skylighting, and citeproc, since the test output depend on
114+ the test output depend on them.
95− them.
96
115
97 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
116 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
98 needed to compile pandoc.
117 needed to compile pandoc.
@@ -107,22 +126,20 @@
107
126
108 * Test improvements:
127 * Test improvements:
109
128
110− + Use `getExecutablePath` from base, avoiding the dependency
129+ + Use `getExecutablePath` from base, avoiding the dependency on
111− on `executable-path`.
130+ `executable-path`.
112− + Factor out `setupEnvironment` in Helpers, to avoid code
131+ + Factor out `setupEnvironment` in Helpers, to avoid code duplication.
113− duplication.
114− + Fix finding of data files by setting teh `pandoc_datadir`
132+ + Fix finding of data files by setting teh `pandoc_datadir` environment
115− environment variable when we shell out to pandoc. This
133+ variable when we shell out to pandoc. This avoids the need to use
116− avoids the need to use `--data-dir` for the tests, which
117− caused problems finding `pandoc.lua` when compiling
134+ `--data-dir` for the tests, which caused problems finding `pandoc.lua`
118− without the `embed_data_files` flag (#7163).
135+ when compiling without the `embed_data_files` flag (#7163).
119
136
120 * Benchmark improvements:
137 * Benchmark improvements:
121
138
122 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
139 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
123− This is necessary to get accurate benchmark results; otherwise
140+ This is necessary to get accurate benchmark results; otherwise we
124− we are largely measuring garbage collecting, some not related
141+ are largely measuring garbage collecting, some not related to the
125− to the current benchmark.
142+ current benchmark.
126 + Allow specifying BASELINE file in 'make bench' for comparison
143 + Allow specifying BASELINE file in 'make bench' for comparison
127 (otherwise the latest benchmark is chosen by default).
144 (otherwise the latest benchmark is chosen by default).
128 + Force `readFile` in benchmarks early (Bodigrim).
145 + Force `readFile` in benchmarks early (Bodigrim).