git.iko.soy/typeable/pandoc
on master help sign in
Bump version to 2.11.1 and update changelog.
commitf502c8d944890f89b5b5c921dfd020429ad8d273 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 2 Nov 2020, 22:20 (6 years ago) parent6cbe5ef
2 files changed+91−1
changelog.md+90 pandoc.cabal+1−1
changelog.md+90
@@ -1,5 +1,95 @@
11# Revision history for pandoc
22
3+## pandoc 2.11.1 (2020-11-03)
4+
5+ * DocBook Reader: fix duplicate bibliography bug (#6773, Nils Carlson).
6+
7+ * HTML reader:
8+
9+ + Parse contents of iframes (#6770).
10+ + Parse inline svg as image unless `raw_html` is set in the reader (in
11+ which case the svg is passed through as raw HTML) (#6770).
12+
13+ * LaTeX reader: fix bug parsing macro arguments (#6796).
14+ If `\cL` is defined as `\mathcal{L}`, and `\til` as `\tilde{#1}`,
15+ then `\til\cL` should expand to `\tilde{\mathcal{L}}`, but pandoc
16+ was expanding it to `\tilde\mathcal{L}`. This is fixed by
17+ parsing the arguments in "verbatim mode" when the macro expands
18+ arguments at the point of use.
19+
20+ * LaTeX writer: Improved calculation of table column widths.
21+ We now have LaTeX do the calculation, using `\tabcolsep`.
22+ So we should now have accurate relative column widths no
23+ matter what the text width. The default template has been modified to load
24+ the calc package if tables are used.
25+
26+ * HTML writer: Fix duplicate "class" attribute for table
27+ rows (Andy Morris).
28+
29+ * Text.Pandoc.Filter: allow shorter YAML representation of Citeproc
30+ (Albert Krewinkel). The map-based YAML representation of filters expects
31+ `type` and `path` fields. The path field had to be present for all filter
32+ types, but is not used for citeproc filters. The field can now be omitted
33+ when type is "citeproc", as described in the MANUAL.
34+
35+ * Text.Pandoc.Error: Add `PandocBibliographyError` constructor
36+ for `PandocError` [API change]. This ensures that bibliography parsing
37+ errors generate messages that include the bibliography file name --
38+ otherwise it can be quite mysterious where it is coming from.
39+
40+ * Citeproc: properly handle `csl` field with `data:` URI (#6783).
41+ This is used with the JATS writer, so this fixes a regression
42+ in pandoc 2.11 with JATS output and citeproc.
43+
44+ * Allow `citation-abbreviations` in defaults file.
45+
46+ * JATS templates: ensure `jats_publishing` output is valid
47+ (Albert Krewinkel).
48+
49+ * HTML template: default CSS tweaks (Mauro Bieg and John
50+ MacFarlane).
51+
52+ - Fix margin before codeblock
53+ - Add `monobackgroundcolor` variable, making the background color
54+ and padding of code optional.
55+ - Ensure that backgrounds from highlighting styles take precedence over
56+ monobackgroundcolor
57+ - Remove list markers from TOC
58+ - Add margin-bottom where needed
59+ - Remove italics from blockquote styling
60+ - Change borders and spacing in tables to be more consistent with other
61+ output formats
62+ - Style h5, h6
63+ - Set font-size for print media to 12pt.
64+ - Reduce interline space.
65+ - Reduce interparagraph space.
66+ - Reduce line width.
67+ - Remove the special `line-height: 1` for table cells.
68+ - Remove the special line-height for pre.
69+ - Ensure that there is a bit more space before a heading
70+ than after.
71+ - Slightly reduced space after title header.
72+ - Add CSS example to MANUAL
73+
74+ * Use latest commonmark, commonmark-extensions.
75+ This fixes a bug with nested blocks in footnotes with the
76+ `footnote` extension to `commonmark`. See jgm/commonmark-hs#63.
77+
78+ * Citeproc: use comma for in-text citations inside footnotes.
79+ When an author-in-text citation like `@foo` occurs in a footnote,
80+ we now render it with: `AUTHOR NAME + COMMA + SPACE + REST`.
81+ Previously we rendered: `AUTHOR NAME + SPACE + "(" + REST + ")"`.
82+ This gives better results. Note that normal citations are still
83+ rendered in parentheses.
84+
85+ * Use latest citeproc:
86+
87+ + citeproc no longer capitalizes notes, so we do it
88+ in pandoc when appropriate.
89+ + Closes #6783.
90+
91+ * Fix code example in lua-filters.md (#6795).
92+
393## pandoc 2.11.0.4 (2020-10-21)
494
595 * Commonmark writer: fix regression with fenced divs (#6768).
pandoc.cabal+1−1
@@ -1,6 +1,6 @@
11cabal-version: 2.2
22name: pandoc
3−version: 2.11.0.4
3+version: 2.11.1
44build-type: Simple
55license: GPL-2.0-or-later
66license-file: COPYING.md