@@ -1,3 +1,166 @@
1+pandoc (2.7.2)
2+
3+ * Add XWiki writer (#1800, Derek Chen-Becker).
4+ Add `Text.Pandoc.Writers.XWiki`, exporting `writeXWiki` [API change].
5+
6+ * Dokuwiki Reader: parse single curly brace (#5416, Mauro Bieg).
7+
8+ * Vimwiki reader: improve handling of internal links (#5414).
9+ We no longer append `.html` to link targets, and we add a title
10+ `wikilink`. This mirrors behavior of other wiki readers. Generally
11+ the `.html` extension is not wanted. It may be important for output
12+ to HTML in certain circumstances, but it can always be added using a
13+ filter that matches on links with title `wikilink`.
14+
15+ If your workflow requires the current behavior, here is a lua filter
16+ that will add the `.html` extension:
17+
18+ ```lua
19+ function Link(el)
20+ if el.title == 'wikilink' then
21+ el.target = el.target .. ".html"
22+ end
23+ return el
24+ end
25+ ```
26+ * ipynb reader:
27+
28+ + Use format `ipynb` for raw cell where no format given.
29+ + Avoid introducing spurious `.0` on integers in metadata.
30+
31+ * Markdown reader: fenced div takes priority over setext header.
32+
33+ * HTML reader: read `data-foo` attribute into `foo` (#5392).
34+ The HTML writer adds the `data-` prefix for HTML5 for nonstandard
35+ attributes. But the attributes are represented in the AST without
36+ the `data-` prefix, so we should strip this when reading HTML.
37+
38+ * LaTeX reader: Improve autolink detection (#5340).
39+
40+ * PowerPoint writer (Jesse Rosenthal):
41+
42+ + Expand builtin reference doc to model all layouts.
43+ The previous built-in reference doc had only title and content
44+ layouts. Add in a section-header slide and a two-content slide, so
45+ users can more easily modify it to build their own templates.
46+ + Always open up in slide view. When editing a
47+ template/reference-doc, the user might be in Master view, but when
48+ producing a slide show, it is assumed that slide view will be
49+ desired.
50+ + Remove `handoutsMasterList` from template presentation.xml
51+ + Build sp trees correctly (#5402)
52+ + Correct application of reference doc for content.
53+ + Make default placeholder type for template lookup.
54+ + Apply speaker notes to metadata slide if applicable.
55+ + Test for speaker notes after breaking header.
56+ + Correctly handle notes after section-title header.
57+ Previously, if notes came after a section-title header (ie, a level-1
58+ header in a slide-level=2 presentation), they would go on the next
59+ slide. This keeps them on the slide with the header.
60+ + Internal improvements.
61+
62+ * ipynb writer:
63+
64+ + Use format `ipynb` for raw cell where no format given.
65+ According to nbformat docs, this is supposed to render in every
66+ format. We don't do that, but we at least preserve it as a raw
67+ block in markdown, so you can round-trip.
68+ + Consolidate adjacent raw blocks. Sometimes pandoc creates two
69+ HTML blocks, e.g. one for the open tag and one for a close tag.
70+ If these aren't consolidated, only one will show up in output cell.
71+ + Fixed carry-over of nbformat from metadata.
72+ + Preserve `nbformat_minor` if it's given. This helps with round-tripping.
73+
74+ * LaTeX writer:
75+
76+ + Avoid inadvertently creating ?` or !` ligatures (#5407).
77+ These are upside down ? and !, resp.
78+ + Fix footnotes in table caption and cells (#5367). This fixes a
79+ bug wherein footnotes appeared in the wrong order, and with
80+ duplicate numbers, when in table captions and cells.
81+ We now use regular `\footnote` commands, even in the table
82+ caption and the minipages containing cells. Apparently
83+ longtable knows how to handle this.
84+
85+ * HTML writer: Don't add data- prefix to RDFa attributes (#5403).
86+
87+ * JATS writer: Ensure that plain strings go inside `<pub-id>` tag (#5397).
88+
89+ * Markdown writer:
90+
91+ + Better rendering of numbers (#5398). If the number is integral,
92+ we render it as an integral not a float.
93+ + Proper rendering of empty map in YAML metadata (#5398). Should
94+ be `{}`, not empty string.
95+ + Properly escape attributes in Markdown writer (#5369).
96+ + Be sure implicit figures work in list contexts (#5368).
97+ Previously they would sometimes not work: e.g., when they
98+ occured in final paragraphs in lists that were originally
99+ parsed as Plain and converted later using PlainToPara.
100+
101+ * Docx writer: Use `w:br` without attributes for line breaks (#5377).
102+ We previously added the attribute `type="textWrapping"`, but
103+ this causes problems on Word Online.
104+
105+ * LaTeX template (Andrew Dunning):
106+
107+ + Ensure correct heading/table order (#5365). Improve workaround
108+ (#1658) for tables following headings. The new solution works whether
109+ or not the `indent` variable is enabled.
110+ + Remove `subparagraph` variable. The default is now to use run-in
111+ style for level 4 and 5 headings (`\paragraph` and `\subparagraph`).
112+ To get the previous default behavior (where these were formatted as
113+ blocks, like `\subsubsection`), set the `block-headings` variable.
114+ + Add pandoc to PDF metadata (#5388).
115+ + Group graphics-related code (#5389).
116+ + Move `\setstretch` after front matter (#5179). Ensures that
117+ `\maketitle`, `\tableofcontents`, and so forth are not affected by
118+ changes to line spacing.
119+
120+ * Update data/jats.csl to avoid commas between name-part elements
121+ (#5397).
122+
123+ * Add support for golang (`go`) with `--listings` (#5427).
124+
125+ * Text.Pandoc.Shared - improve `metaToJSON` behavior with numbers.
126+ We now do a better job marshalling numbers from MetaString
127+ or MetaInlines into JSON Number.
128+
129+ * Text.Pandoc.Writers.Shared: `metaValueToJSON`: use Number Values for
130+ integers. Pandoc's MetaValue doesn't have a distinguished number type,
131+ so numbers are put in MetaStrings. If the MetaString consists
132+ entirely of digits, we convert it to a Number. We should probably
133+ consider adding a MetaNumber constructor to MetaValue, for better
134+ round-tripping with JSON etc. This change aids round-tripping in
135+ ipynb metadata fields, like `toc_depth`.
136+
137+ * Text.Pandoc.Class: `fetchItem`: don't treat UNC paths as
138+ protocol-relative URLs (#5127). These are paths beginning `//?/UNC/...`.
139+
140+ * Text.Pandoc.ImageSize: Improve `pdfSize` so it handles
141+ a wider range of PDFs (#4322, with help from Richard Davis).
142+
143+ * Text.Pandoc.Pretty: avoid stack overflow by using strict sum (#5401).
144+
145+ * Fix harmless error in file-scope code (#5422).
146+
147+ * MANUAL.txt:
148+
149+ + Improve 'header' and 'heading' usage (#5423, Andrew
150+ Dunning). The term 'header' was being used where 'heading'
151+ is more appropriate.
152+ + Add paragraph on options affecting markdown in ipynb.
153+
154+ * stack.yaml - remove -Wmissing-home-modules
155+ This seems to cause problems with stack ghci. Remove RTS options.
156+
157+ * Add ghc-options to cabal.project.
158+
159+ * appveyor.yml - use ghc 8.6.4. Fixes segfault issues on Windows (#5037).
160+
161+ * linux build process: Remove clone of pandoc-citeproc (#5366).
162+ It wasn't being used; cabal.project specifies the version to use.
163+
1164pandoc (2.7.1)
2165
3166 * Add tectonic as an option for --pdf-engine (#5345, Cormac Relf).