git.iko.soy/typeable/pandoc
on master help sign in
Update changelog.
40dad9fJohn MacFarlane
changelog+265
@@ -1,3 +1,268 @@
1+pandoc (2.1.2)
2+
3+ * Markdown reader:
4+
5+ + Fix parsing bug with nested fenced divs (#4281). Previously we allowed
6+ "nonindent spaces" before the opening and closing `:::`, but this
7+ interfered with list parsing, so now we require the fences to be flush with
8+ the margin of the containing block.
9+
10+ * Org reader (Albert Krewinkel):
11+
12+ + Move citation tests to separate module.
13+ + Allow changing emphasis syntax (#4378). The characters allowed before
14+ and after emphasis can be configured via `#+pandoc-emphasis-pre` and
15+ `#+pandoc-emphasis-post`, respectively. This allows to change which
16+ strings are recognized as emphasized text on a per-document or even
17+ per-paragraph basis. Example:
18+
19+ #+pandoc-emphasis-pre: "-\t ('\"{"
20+ #+pandoc-emphasis-post: "-\t\n .,:!?;'\")}["
21+
22+ * LaTeX reader:
23+
24+ + Fixed comments inside citations (#4374).
25+ + Fix regression in package options including underscore (#4424).
26+ + Make `--trace` work.
27+ + Fixed parsing of `tabular*` environment (#4279).
28+
29+ * RST reader:
30+
31+ + Fix regression in parsing of headers with trailing space (#4280).
32+
33+ * Muse reader (Alexander Krotov):
34+
35+ + Enable `<literal>` tags even if amuse extension is enabled.
36+ Amusewiki disables <literal> tags for security reasons.
37+ If user wants similar behavior in pandoc, RawBlocks and RawInlines
38+ can be removed or replaced with filters.
39+ + Remove space prefix from `<literal>` tag contents.
40+ + Do not consume whitespace while looking for closing end tag.
41+ + Convert alphabetical list markers to decimal in round-trip test.
42+ Alphabetical lists are an addition of Text::Amuse.
43+ They are not present in Emacs Muse and can be ambiguous
44+ when list starts with "i.", "c." etc.
45+ + Allow `<quote>` and other tags to be indented.
46+ + Allow single colon in definition list term.
47+ + Fix parsing of verse in lists.
48+ + Improved parsing efficiency. Avoid `parseFromString`.
49+ Lists are parsed in linear instead of exponential time now.
50+ + Replace ParserState with MuseState.
51+ + Prioritize lists with roman numerals over alphabetical lists.
52+ This is to make sure "i." starts a roman numbered list,
53+ instead of a list with letter "i" (followed by "j", "k", ...").
54+ + Fix directive parsing.
55+ + Parse definition lists with multiple descriptions.
56+ + Parse next list item before parsing more item contents.
57+ + Fixed a bug: headers did not terminate lists.
58+ + Move indentation parsing from `definitionListItem` to `definitionList`.
59+ + Paragraph indentation does not indicate nested quote.
60+ Muse allows indentation to indicate quotation or alignment,
61+ but only on the top level, not within a <quote> or list.
62+ + Require that block tags are on separate lines.
63+ Text::Amuse already explicitly requires it anyway.
64+ + Fix matching of closing inline tags.
65+ + Various internal changes.
66+ + Fix parsing of nested definition lists.
67+ + Require only one space for nested definition list indentation.
68+ + Do not remove trailing whitespace from `<code>`.
69+ + Fix parsing of trailing whitespace. Newline after whitespace now
70+ results in softbreak instead of space.
71+
72+ * Docx reader (Jesse Rosenthal, except where noted):
73+
74+ + Handle nested sdt tags (#4415).
75+ + Don't look up dependant run styles if `+styles` is enabled.
76+ + Move pandoc inline styling inside custom-style span.
77+ + Read custom styles (#1843). This will read all paragraph and
78+ character classes as divs and spans, respectively. Dependent styles
79+ will still be resolved, but will be wrapped with appropriate style
80+ tags. It is controlled by the `+styles` extension (`-f docx+styles`).
81+ This can be used in conjunction with the `custom-style` feature in the
82+ docx writer for a pandoc-docx editing workflow. Users can convert from
83+ an input docx, reading the custom-styles, and then use that same input
84+ docx file as a reference-doc for producing an output docx file. Styles
85+ will be maintained across the conversion, even if pandoc doesn't
86+ understand them.
87+ + Small change to Fields hyperlink parser. Previously, unquoted string
88+ required a space at the end of the line (and consumed it). Now we
89+ either take a space (and don't consume it), or end of input.
90+ + Pick table width from the longest row or header (Francesco Occhipinti,
91+ #4360).
92+
93+ * Muse writer (Alexander Krotov):
94+
95+ + Change verse markup: `> ` instead of `<verse>` tag.
96+ + Remove empty strings during inline normalization.
97+ + Don't indent nested definition lists.
98+ + Use unicode quotes for quoted text.
99+ + Write image width specified in percent in Text::Amuse mode.
100+ + Don't wrap displayMath into `<verse>`.
101+ + Escape nonbreaking space (`~~`).
102+ + Join code with different attributes during normalization.
103+ + Indent lists inside Div.
104+ + Support definitions with multiple descriptions.
105+
106+ * Powerpoint writer (Jesse Rosenthal):
107+
108+ + Use table styles This will use the default table style in the
109+ reference-doc file. As a result they will be easier when using
110+ in a template, and match the color scheme.
111+ + Remove empty slides. Because of the way that slides were split, these
112+ could be accidentally produced by comments after images. When animations
113+ are added, there will be a way to add an empty slide with either
114+ incremental lists or pauses.
115+ + Implement syntax highlighting. Note that background colors can't
116+ be implemented in PowerPoint, so highlighting styles that require
117+ these will be incomplete.
118+ + New test framework for pptx. We now compare the output of the
119+ Powerpoint writer with files that we know to (a) not be corrupt,
120+ and (b) to show the desired output behavior (details below).
121+ + Add `notesMaster` to `presentation.xml` if necessary.
122+ + Ignore links and (end)notes in speaker notes.
123+ + Output speaker notes.
124+ + Read speaker note templates conditionally. If there are speaker
125+ notes in the presentation, we read in the notesMasters templates
126+ from the reference pptx file.
127+ + Fix deletion track changes (#4303, Jesse Rosenthal).
128+
129+ * Markdown writer: properly escape @ to avoid capture as citation
130+ (#4366).
131+
132+ * LaTeX writer:
133+
134+ + Put hypertarget inside figure environment (#4388).
135+ This works around a problem with the endfloat package and
136+ makes pandoc's output compatible with it.
137+ + Fix image height with percentage (#4389). This previously caused
138+ the image to be resized to a percentage of textwidth, rather than
139+ textheight.
140+
141+ * ConTeXt writer (Henri Menke):
142+
143+ + New section syntax and support `--section-divs` (#2609).
144+ `\section[my-header]{My Header}` ->
145+ `\section[title={My Header},reference={my-header}]`.
146+ The ConTeXt writer now supports the `--section-divs` option to
147+ write sections in the fenced style, with `\startsection` and
148+ `\stopsection`.
149+ + xtables: correct wrong usage of caption (Henri Menke).
150+
151+ * Docx writer:
152+
153+ + Fix image resizing with multiple images (#3930, Andrew Pritchard).
154+ + Use new golden framework (Jesse Rosenthal).
155+ + Make more deterministic to facilitate testing (Jesse Rosenthal).
156+ - `getUniqueId` now calls to the state to get an incremented digit,
157+ instead of calling to P.uniqueHash.
158+ - we always start the PRNG in mkNumbering/mkAbstractNum with the same
159+ seed (1848), so our randoms should be the same each time.
160+ + Fix ids in comment writing (Jesse Rosenthal). Comments from
161+ `--track-changes=all` were producing corrupt docx, because the
162+ writer was trying to get id from the `(ID,_,_)` field of
163+ the attributes, and ignoring the "id" entry in the key-value pairs. We
164+ now check both.
165+
166+ * Ms writer: Added papersize variable.
167+
168+ * TEI writer:
169+
170+ + Use `height` instead of `depth` for images (#4331).
171+ + Ensure that id prefix is always used.
172+ + Don't emit `role` attribute; that was a leftover from the
173+ Docbook writer.
174+ + Use 'xml:id', not 'id' attribute (#4371).
175+
176+ * AsciiDoc writer:
177+
178+ + Do not output implicit heading IDs (#4363, Alexander
179+ Krotov). Convert to `asciidoc-auto_identifiers` for old behaviour.
180+
181+ * RST writer:
182+
183+ + Remove `blockToRST'` moving its logic into `fixBlocks`
184+ (Francesco Occhipinti).
185+ + Insert comment between lists and quotes (#4248, Francesco Occchipinti).
186+
187+ * RST template: remove definition of 'math' role as raw.
188+ This used to be needed prior to v 0.8 of docutils, but
189+ now math support is built-in.
190+
191+ * Slides: Use divs to set incremental/non-incremental (#4381,
192+ Jesse Rosenthal). The old method (list inside blockquote) still
193+ works, but we are encouraging the use of divs with class
194+ `incremental` or `nonincremental`.
195+
196+ * Text.Pandoc.ImageSize:
197+
198+ + Make image size detection for PDFs more robust (#4322).
199+ + Determine image size for PDFs (#4322).
200+ + EMF Image size support (#4375, Andrew Pritchard).
201+
202+ * Text.Pandoc.Extensions: Add `Ext_styles` (Jesse Rosenthal,
203+ API change). This will be used in the docx reader (defaulting to off) to
204+ read pargraph and character styles not understood by pandoc (as divs and
205+ spans, respectively).
206+
207+ * Text.Pandoc.Parsing:
208+
209+ + Export `manyUntil` (Alexander Krotov, API change).
210+ + Export improved `sepBy1` (Alexander Krotov).
211+ + Export list marker parsers: `upperRoman`, `lowerRoman`,
212+ `decimal`, `lowerAlpha`, `upperAlpha` (Alexander Krotov, API change).
213+
214+ * Tests/Lua: fix tests on windows (Albert Krewinkel).
215+
216+ * Lua: register script name in global variable (#4393). The name of the Lua
217+ script which is executed is made available in the global Lua variable
218+ `PANDOC_SCRIPT_FILE`, both for Lua filters and custom writers.
219+
220+ * Tests: Abstract powerpoint tests out to OOXML tests (Jesse Rosenthal).
221+ There is very little pptx-specific in these tests, so we abstract out
222+ the basic testing function so it can be used for docx as well. This
223+ should allow us to catch some errors in the docx writer that slipped
224+ by the roundtrip testing.
225+
226+ * Lua filters: store constructors in registry (Albert Krewinkel). Lua
227+ functions used to construct AST element values are stored in the Lua
228+ registry for quicker access. Getting a value from the registry is much
229+ faster than getting a global value (partly to idiosyncrasies of hslua);
230+ this change results in a considerable performance boost.
231+
232+ * Documentation:
233+
234+ + `doc/org.md` Add draft of Org-mode documentation (Albert Krewinkel).
235+ + `doc/lua-filters.md`: document global vars set for filters
236+ (Albert Krewinkel).
237+ + INSTALL.md: mention Stack version. (#4343, Adam Brandizzi).
238+ + MANUAL: add documentation on custom styles (Jesse Rosenthal).
239+ + MANUAL.txt: Document incremental and nonincremental divs (Jesse
240+ Rosenthal). Blockquoted lists are still described, but fenced divs are
241+ presented in preference.
242+ + MANUAL.txt: document header and footer variables (newmana).
243+ + MANUAL.txt: self-contained implies standalone (#4304, Daniel Lublin).
244+ + CONTRIBUTING.md: label was renamed. (#4310, Alexander Brandizzi).
245+
246+ * Require tagsoup 0.14.3 (#4282), fixing HTML tokenization bug.
247+
248+ * Use latest texmath.
249+
250+ * Use latest pandoc-citeproc.
251+
252+ * Allow exceptions 0.9.
253+
254+ * Require aeson-pretty 0.8.5 (#4394).
255+
256+ * Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9 (#4334).
257+
258+ * Update tagsoup to 0.14.6 (Alexander Krotov, #4282).
259+
260+ * Removed ghc-prof-options. As of cabal 1.24, sensible defaults are used.
261+
262+ * Update default.nix to current nixpkgs-unstable for hslua-0.9.5 (#4348,
263+ jarlg).
264+
265+
1pandoc (2.1.1)
266pandoc (2.1.1)
2
267
3 * Markdown reader:
268 * Markdown reader: