@@ -1,36 +1,66 @@
11pandoc (1.16)
22
3− * Added Attr field to Link and Image (Mauro Bieg, #261, API change).
3+ * Added `Attr` field to `Link` and `Image` (Mauro Bieg, #261, API change).
44
5− + Added syntax for link and image attributes to pandoc's Markdown
6− (Mauro Bieg).
5+ + Added syntax for link and image attributes to pandoc's Markdown.
76 + Updated readers and writers to use link and image attributes
8− when appropriate (Mauro Bieg).
9− + Support image attributes in Docx, Textile, RST readers (Mauro
10− Bieg).
7+ when appropriate.
8+ + Support image attributes in Docx, Textile, RST readers.
119
12− * Implemented SoftBreak and new `--wrap` option (#1701, API change).
10+ * Renamed link attribute extensions. The old `link_attributes` is
11+ now `mmd_link_attributes`, and `link_attributes` now enables the
12+ new pandoc-style link and image attributes (API change).
13+ Note: this change could break some existing workflows.
14+
15+ * Implemented `SoftBreak` and new `--wrap` option (#1701, API change).
1316 Added threefold wrapping option.
1417
1518 + Command line option: deprecated `--no-wrap`, added
1619 `--wrap=[auto|none|preserve]`
17− + Added WrapOption, exported from Text.Pandoc.Options
18− + Changed type of writerWrapText in WriterOptions from
19− Bool to WrapOption.
20− + Modified Text.Pandoc.Shared functions for SoftBreak.
21− + Supported SoftBreak in writers.
20+ + Added `WrapOption`, exported from `Text.Pandoc.Options`
21+ + Changed type of `writerWrapText` in `WriterOptions` from
22+ `Bool` to `WrapOption`.
23+ + Modified `Text.Pandoc.Shared` functions to allow `SoftBreak`.
24+ + Supported `SoftBreak` in readers and writers.
25+
26+ * Text.Pandoc.Options: Added `writerDpi` to `WriterOptions` (API
27+ change, Mauro Bieg).
2228
2329 * Added `--dpi` command-line option (Mauro Bieg).
2430
25− * Removed deprecated options `--offline` and `--html5`.
31+ * Rationalized behavior of `--no-tex-ligatures` and `--smart` (#2541).
32+ This change makes `--no-tex-ligatures` affect the LaTeX reader
33+ as well as the LaTeX and ConTeXt writers. If it is used,
34+ the LaTeX reader will parse characters `` ` ``, `'`, and `-`
35+ literally, rather than parsing ligatures for quotation marks
36+ and dashes. And the LaTeX writer will print unicode quotation
37+ mark and dash characters literally, rather than converting
38+ them to the standard ASCII ligatures. Note that `--smart` has
39+ no effect on the LaTeX reader. `--smart` is still the default
40+ for all input formats when LaTeX or ConTeXt is the output format,
41+ *unless* `--no-tex-ligatures` is used.
2642
27− * Fixed language code for Czech (cs not cz) (#2597).
43+ Some examples to illustrate the logic:
2844
29− * Text.Pandoc.Options: Added `writerDpi` to `WriterOptions` (API
30− change, Mauro Bieg).
45+ ```
46+ % echo "'hi'" | pandoc -t latex
47+ `hi'
48+ % echo "'hi'" | pandoc -t latex --no-tex-ligatures
49+ 'hi'
50+ % echo "'hi'" | pandoc -t latex --no-tex-ligatures --smart
51+ ‘hi’
52+ % echo "'hi'" | pandoc -f latex --no-tex-ligatures
53+ <p>'hi'</p>
54+ % echo "'hi'" | pandoc -f latex
55+ <p>’hi’</p>
56+ ```
57+
58+ * Removed deprecated options `--offline` and `--html5`.
59+
60+ * Fixed language code for Czech (`cs` not `cz`) (#2597).
3161
3262 * Implemented `east_asian_line_breaks` extension (#2586).
33− In Text.Pandoc.Options, added `Ext_east_asian_line_breaks` constructor
63+ In `Text.Pandoc.Options`, added `Ext_east_asian_line_breaks` constructor
3464 to `Extension` (API change). This extension is like
3565 `ignore_line_breaks`, but smarter -- it only ignores line breaks
3666 between two East Asian wide characters. This makes it better suited
@@ -43,8 +73,8 @@ pandoc (1.16)
4373 Other styling can be done through CSS.
4474
4575 * Fixed cite key parsing regression (jgm/pandoc-citeproc#201).
46− We were capturing final colons as in [@foo: bar]; the citation id
47− was being parsed as "@foo:".
76+ We were capturing final colons as in `[@foo: bar]`; the citation id
77+ was being parsed as `@foo:`.
4878
4979 * ICML writer:
5080
@@ -53,8 +83,8 @@ pandoc (1.16)
5383 API change: It is now `WriterOptions -> Pandoc -> IO String`.
5484 Also handle new image attributes.
5585 + Intersperse line breaks instead of appending them to
56− every ParagraphStyleRange (Mauro Bieg, #2501).
57− + Add Cite style to citations (Mauro Bieg).
86+ every `ParagraphStyleRange` (Mauro Bieg, #2501).
87+ + Add `Cite` style to citations (Mauro Bieg).
5888 + Added figure handling (#2590, Mauro Bieg).
5989 + Better handling of math. Instead of just printing the raw tex,
6090 we now try to fake it with unicode characters.
@@ -135,48 +165,16 @@ pandoc (1.16)
135165
136166 * CommonMark reader/writer rewritten to use latest `cmark`.
137167
138− * Renamed link attribute extensions. The old `link_attributes` is
139− now `mmd_link_attributes`, and `link_attributes` now enables the
140− new pandoc-style link and image attributes (API change).
141− Note: this change could break some existing workflows.
142−
143− * Rationalized behavior of `--no-tex-ligatures` and `--smart` (#2541).
144− This change makes `--no-tex-ligatures` affect the LaTeX reader
145− as well as the LaTeX and ConTeXt writers. If it is used,
146− the LaTeX reader will parse characters `` ` ``, `'`, and `-`
147− literally, rather than parsing ligatures for quotation marks
148− and dashes. And the LaTeX writer will print unicode quotation
149− mark and dash characters literally, rather than converting
150− them to the standard ASCII ligatures. Note that `--smart` has
151− no effect on the LaTeX reader. `--smart` is still the default
152− for all input formats when LaTeX or ConTeXt is the output format,
153− *unless* `--no-tex-ligatures` is used.
154−
155− Some examples to illustrate the logic:
156−
157− ```
158− % echo "'hi'" | pandoc -t latex
159− `hi'
160− % echo "'hi'" | pandoc -t latex --no-tex-ligatures
161− 'hi'
162− % echo "'hi'" | pandoc -t latex --no-tex-ligatures --smart
163− ‘hi’
164− % echo "'hi'" | pandoc -f latex --no-tex-ligatures
165− <p>'hi'</p>
166− % echo "'hi'" | pandoc -f latex
167− <p>’hi’</p>
168− ```
169−
170168 * Fixed Emoji character definitions (#2523). There were many bugs in the
171169 definitions.
172170
173− * Text.Pandoc.CSS:
171+ * `Text.Pandoc.CSS`:
174172
175173 + Added `pickStylesToKVs` function to extract multiple properties at
176174 once (API change, Mauro Bieg).
177175 + Parse CSS that doesn't contain the optional semicolon (Mauro Bieg).
178176
179− * trypandoc: sort drop-down lists.
177+ * `trypandoc`: sort drop-down lists.
180178
181179 * Beamer template:
182180
@@ -229,7 +227,7 @@ pandoc (1.16)
229227
230228 * Context template:
231229
232− + Use simplefonts for font loading (Paolo Rodríguez). This is
230+ + Use `simplefonts` for font loading (Paolo Rodríguez). This is
233231 needed for things to work on ConTeXt stable from TeXLive 2015.
234232 + Revert use of `\setuphead` in title block (Andrew Dunning,
235233 Rik Kabel).