git.iko.soy/typeable/pandoc
on master help sign in
Update changelog, AUTHORS.
commit13021313e87a3074a113c1b81bcd8e5d28a279fb authorJohn MacFarlane <jgm@berkeley.edu> dateSat 20 Mar 2021, 18:40 (6 years ago) parentc389211
2 files changed+56−36
AUTHORS.md+3 changelog.md+53−36
AUTHORS.md+3
@@ -35,6 +35,7 @@
3535- Benoit Schweblin
3636- Bjorn Buckwalter
3737- Blake Eryx
38+- Bodigrim
3839- Bradley Kuhn
3940- Brent Yorgey
4041- Brian Leung
@@ -77,6 +78,7 @@
7778- Emerson Harkin
7879- Emily Eisenberg
7980- Eric Kow
81+- Erik Rask
8082- Eric Seidel
8183- Eric Schrijver
8284- Ethan Riley
@@ -86,6 +88,7 @@
8688- Florian Beeres
8789- Florian Eitel
8890- Florian Klink
91+- Florian Kohrt
8992- Francesco Occhipinti
9093- François Gannaz
9194- Frederik Elwert
changelog.md+53−36
@@ -2,10 +2,17 @@
22
33## pandoc 2.13 (2021-03-21)
44
5− * Fix fallback to default partials when custom templates are
6− used. If the directory containing a template does not
7− contain the partial, it should be sought in the default
8− templates, but this was not working properly (#7164).
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+
12+ * Fix fallback to default partials when custom templates are used.
13+ If the directory containing a template does not contain the partial,
14+ it should be sought in the default templates, but this was not
15+ working properly (#7164).
916
1017 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
1118 Previously the nocite metadata field was ignored with these formats.
@@ -18,21 +25,29 @@
1825
1926 * Text.Pandoc.Shared:
2027
21− + Remove `backslashEscapes`, `escapeStringUsing` [API
22− change]. Replace these inefficient association list
23− lookups with more efficient escaping functions in the
24− writers that used them (for a 10-25% performance boost
28+ + Remove `backslashEscapes`, `escapeStringUsing` [API change]. Replace
29+ these inefficient association list lookups with more efficient escaping
30+ functions in the writers that used them (for a 10-25% performance boost
2531 in org, haddock, rtf, texinfo writers).
26− + Remove `ToString`, `ToText` typeclasses [API change].
27− These were needed for the transition from String to Text,
28− but they are no longer used and may clash with other
29− things.
32+ + Remove `ToString`, `ToText` typeclasses [API change]. These were needed
33+ for the transition from String to Text, but they are no longer used and
34+ may clash with other things.
3035 + Simplify `compactDL`.
3136
32− * Text.Pandoc.Parsing: Change type of `readWithM` so that it
33− is no longer polymorphic. The `ToText` class has been
34− removed, and now that we've completed the transition to Text
35− we no longer need this to operate on Strings.
37+ * Text.Pandoc.Parsing:
38+
39+ + Change type of `readWithM` so that it is no longer polymorphic
40+ [API change]. The `ToText` class has been removed, and now that we've
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].
3651
3752 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
3853
@@ -50,6 +65,11 @@
5065 * RST reader: fix logic for ending comments (#7134). Previously comments
5166 sometimes got extended too far.
5267
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+
5373 * Docx writer:
5474
5575 + Make `nsid` in `abstractNum` deterministic. Previously we assigned
@@ -82,17 +102,16 @@
82102 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
83103 [API change]
84104
85− * Use `-j4` for linux release build. This speeds up the build
86− dramatically on arm.
105+ * Use `-j4` for linux release build. This speeds up the build dramatically
106+ on arm.
87107
88− * cabal.project: remove ghcoptions. Move flags to top level, so
89− they can be set differently on the command line.
108+ * cabal.project: remove ghcoptions. Move flags to top level, so they can
109+ be set differently on the command line.
90110
91111 * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
92− (The latest skylighting fixes a bad bug with Haskell syntax
93− highlighting.) Narrow version bounds for texmath,
94− skylighting, and citeproc, since the test output depend on
95− them.
112+ (The latest skylighting fixes a bad bug with Haskell syntax highlighting.)
113+ Narrow version bounds for texmath, skylighting, and citeproc, since
114+ the test output depend on them.
96115
97116 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
98117 needed to compile pandoc.
@@ -107,22 +126,20 @@
107126
108127 * Test improvements:
109128
110− + Use `getExecutablePath` from base, avoiding the dependency
111− on `executable-path`.
112− + Factor out `setupEnvironment` in Helpers, to avoid code
113− duplication.
114− + Fix finding of data files by setting teh `pandoc_datadir`
115− environment variable when we shell out to pandoc. This
116− avoids the need to use `--data-dir` for the tests, which
117− caused problems finding `pandoc.lua` when compiling
118− without the `embed_data_files` flag (#7163).
129+ + Use `getExecutablePath` from base, avoiding the dependency on
130+ `executable-path`.
131+ + Factor out `setupEnvironment` in Helpers, to avoid code duplication.
132+ + Fix finding of data files by setting teh `pandoc_datadir` environment
133+ variable when we shell out to pandoc. This avoids the need to use
134+ `--data-dir` for the tests, which caused problems finding `pandoc.lua`
135+ when compiling without the `embed_data_files` flag (#7163).
119136
120137 * Benchmark improvements:
121138
122139 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
123− This is necessary to get accurate benchmark results; otherwise
124− we are largely measuring garbage collecting, some not related
125− to the current benchmark.
140+ This is necessary to get accurate benchmark results; otherwise we
141+ are largely measuring garbage collecting, some not related to the
142+ current benchmark.
126143 + Allow specifying BASELINE file in 'make bench' for comparison
127144 (otherwise the latest benchmark is chosen by default).
128145 + Force `readFile` in benchmarks early (Bodigrim).