git.iko.soy/typeable/pandoc
on master help sign in
Updated changelog.
commit714ea0e01a02bf6c65cc297390b00740305e62ff authorJohn MacFarlane <jgm@berkeley.edu> dateThu 2 Jun 2016, 16:39 (10 years ago) parent061bc60
1 file changed+208−191
changelog+208−191
changelog+208−191
@@ -1,196 +1,213 @@
11pandoc (1.17.1)
22
3−* New output format: `docbook5` (Ivo Clarysse).
4−
5−* `Text.Pandoc.Options`: Add `writerDocBook5` to `WriterOptions`
6− (API change).
7−
8−* Org writer:
9−
10− + Add :PROPERTIES: drawer support (Albert Krewinkel, #1962).
11− This allows header attributes to be added to org documents in the form
12− of `:PROPERTIES:` drawers. All available attributes are stored as
13− key/value pairs. This reflects the way the org reader handles
14− `:PROPERTIES:` blocks.
15− + Add drawer capability (Carlos Sosa). For the implementation of the Drawer
16− element in the Org Writer, we make use of a generic Block container with
17− attributes. The presence of a `drawer` class defines that the `Div`
18− constructor is a drawer. The first class defines the drawer name to use.
19− The key-value list in the attributes defines the keys to add inside the
20− Drawer. Lastly, the list of Block elements contains miscellaneous blocks
21− elements to add inside of the Drawer.
22− + Use `CUSTOM_ID` in properties (Albert Krewinkel). The `ID` property is
23− reserved for internal use by Org-mode and should not be used.
24− The `CUSTOM_ID` property is to be used instead, it is converted to the
25− `ID` property for certain export format.
26−
27−* LaTeX writer:
28−
29− + Ignore `--incremental` unless output format is beamer (#2843).
30− + Fix polyglossia to babel env mapping (Mauro Bieg, #2728).
31− Allow for optional argument in square brackets.
32− + Recognize `la-x-classic` as Classical Latin (Andrew Dunning).
33− This allows one to access the hyphenation patterns in CTAN's
34− hyph-utf8.
35− + Add missing languages from hyph-utf8 (Andrew Dunning).
36− + Improve use of `\strut` with `\minipage` inside tables
37− (Jose Luis Duran). This improves spacing in multiline
38− tables.
39− + Use `{}` around options containing special chars (#2892).
40− + Avoid lazy `foldl`.
41− + Don't escape underscore in labels (#2921). Previously they were
42− escaped as `ux5f`.
43−
44−* HTML writer: Ensure mathjax link is added when math appears in footnote
45− (#2881). Previously if a document only had math in a footnote, the MathJax
46− link would not be added.
47−
48−* EPUB writer: set `navpage` variable on nav page.
49− This allows templates to treat it differently.
50−
51−* DocBook writer:
52−
53− + Use docbook5 if `writerDocbook5` is set (Ivo Clarysse).
54− + Properly handle `ulink`/`link` (Ivo Clarysse).
55−
56−* EPUB reader: Unescape URIs in spine (#2924).
57−
58−* Docx Reader:
59−
60− + Parse `moveTo` and `moveFrom` (Jesse Rosenthal).
61− `moveTo` and `moveFrom` are track-changes tags that are used when a
62− block of text is moved in the document. We now recognize these tags and
63− treat them the same as `insert` and `delete`, respectively. So,
64− `--track-changes=accept` will show the moved version, while
65− `--track-changes=reject` will show the original version.
66− + Tests for track-changes moving (Jesse Rosenthal).
67−
68−* ODT, EPUB, Docx readers: throw `PandocError` on unzip failure
69− (Jesse Rosenthal) Previously, `readDocx`, `readEPUB`, and `readOdt`
70− would error out if zip-archive failed. We change the archive extraction
71− step from `toArchive` to `toArchiveOrFail`, which returns an Either value.
72−
73−* Markdown, HTML readers: be more forgiving about unescaped `&` in
74− HTML (#2410). We are now more forgiving about parsing invalid HTML with
75− unescaped `&` as raw HTML. (Previously any unescaped `&`
76− would cause pandoc not to recognize the string as raw HTML.)
77−
78−* Markdown reader:
79−
80− + Fix pandoc title blocks with lines ending in 2 spaces (#2799).
81− + Added `-s` to markdown-reader-more test.
82−
83−* HTML reader: fixed bug in `pClose`. This caused exponential parsing
84− behavior in documnets with unclosed tags in `dl`, `dd`, `dt`.
85−
86−* MediaWiki reader: Allow spaces before `!` in MediaWiki table header
87− (roblabla).
88−
89−* RST reader: Support `:class:` option for code block in RST reader
90− (Sidharth Kapur).
91−
92−* Org reader:
93−
94− + Stop padding short table rows (Albert Krewinkel).
95− Emacs Org-mode doesn't add any padding to table rows. The first
96− row (header or first body row) is used to determine the column count,
97− no other magic is performed.
98− + Refactor rows-to-table conversion (Albert Krewinkel). This refactors
99− the codes conversing a list table lines to an org table ADT.
100− The old code was simplified and is now slightly less ugly.
101− + Fix handling of empty table cells, rows (Albert Krewinkel, #2616).
102− This fixes Org mode parsing of some corner cases regarding empty cells
103− and rows. Empty cells weren't parsed correctly, e.g. `|||` should be
104− two empty cells, but would be parsed as a single cell containing a pipe
105− character. Empty rows where parsed as alignment rows and dropped from
106− the output.
107− + Fix spacing after LaTeX-style symbols (Albert Krewinkel).
108− The org-reader was droping space after unescaped LaTeX-style symbol
109− commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
110− instead. This seems to be because the LaTeX-reader treats the
111− command-terminating space as part of the command. Dropping the trailing
112− space from the symbol-command fixes this issue.
113− + Print empty table rows (Albert Krewinkel). Empty table rows should not
114− be dropped from the output, so row-height is always set to be at least 1.
115− + Move parser state into separate module (Albert Krewinkel).
116− The org reader code has become large and confusing. Extracting smaller
117− parts into submodules should help to clean things up.
118− + Add support for sub/superscript export options (Albert Krewinkel).
119− Org-mode allows to specify export settings via `#+OPTIONS` lines.
120− Disabling simple sub- and superscripts is one of these export options,
121− this options is now supported.
122− + Parse but ignore export options (Albert Krewinkel). All known export
123− options are parsed but ignored.
124− + Refactor block attribute handling (Albert Krewinkel).
125− A parser state attribute was used to keep track of block attributes
126− defined in meta-lines. Global state is undesirable, so block attributes
127− are no longer saved as part of the parser state. Old functions and the
128− respective part of the parser state are removed.
129− + Use custom `anyLine` (Albert Krewinkel). Additional state
130− changes need to be made after a newline is parsed, otherwise markup may
131− not be recognized correctly. This fixes a bug where markup after
132− certain block-types would not be recognized.
133− + Add support for `ATTR_HTML` attributes (Albert Krewinkel, #1906).
134− Arbitrary key-value pairs can be added to some block types using a
135− `#+ATTR_HTML` line before the block. Emacs Org-mode only includes these
136− when exporting to HTML, but since we cannot make this distinction here,
137− the attributes are always added. The functionality is now supported
138− for figures.
139− + Add `:PROPERTIES:` drawer support (Albert Krewinkel, #1877).
140− Headers can have optional `:PROPERTIES:` drawers associated with them.
141− These drawers contain key/value pairs like the header's `id`. The
142− reader adds all listed pairs to the header's attributes; `id` and
143− `class` attributes are handled specially to match the way `Attr` are
144− defined. This also changes behavior of how drawers of unknown type
145− are handled. Instead of including all unknown drawers, those are not
146− read/exported, thereby matching current Emacs behavior.
147− + Use `CUSTOM_ID` in properties (Albert Krewinkel). See above on
148− Org writer changes.
149− + Respect drawer export setting (Albert Krewinkel). The `d` export
150− option can be used to control which drawers are exported
151− and which are discarded. Basic support for this option is added here.
152− + Ignore leading space in org code blocks (Emanuel Evans, #2862).
153− Also fix up tab handling for leading whitespace in code blocks.
154−
155−* Added `docbook5` template.
156−
157−* `--mathjax` improvements:
158−
159− + Use new CommonHTML output for MathJax (updated default MathJax URL,
160− #2858).
161− + Change default mathjax setup to use `TeX-AMS_CHTML` configuration.
162− This is designed for cases where the input is always TeX and maximal
163− conformity with TeX is desired. It seems to be smaller and load faster
164− than what we used before. See #2858.
165− + Load the full MathJax config to maximize loading speed (KolenCheung).
166−
167−* Bumped upper version bounds to allow use of latest packages
168− and compilation with ghc 8.
169−
170−* Require texmath 0.8.6.2. Closes several texmath-related bugs (#2775,
171− #2310, #2310, #2824). This fixes behavior of roots, e.g.
172− `\sqrt[3]{x}`, and issues with sub/superscript positioning
173− and matrix column alignment in docx.
174−
175−* README:
176−
177− + Clarified documentation of `implicit_header_references` (#2904).
178− + Improved documentation of `--columns` option.
179−
180−* Added appveyor setup, with artefacts (Jan Schulz).
181−
182−* stack.yaml versions: Use proper flags used for texmath, pandoc-citeproc.
183−
184−* LaTeX template: support for custom font families (vladipus).
185− Needed for correct polyglossia operation with Cyrillic fonts and perhaps
186− can find some other usages. Example usage in YAML metadata:
187−
188− fontfamilies:
189− - name: \cyrillicfont
190− font: Liberation Serif
191− - name: \cyrillicfonttt
192− options: Scale=MatchLowercase
193− font: Liberation
3+ * New output format: `docbook5` (Ivo Clarysse).
4+
5+ * `Text.Pandoc.Options`: Add `writerDocBook5` to `WriterOptions`
6+ (API change).
7+
8+ * Org writer:
9+
10+ + Add :PROPERTIES: drawer support (Albert Krewinkel, #1962).
11+ This allows header attributes to be added to org documents in the form
12+ of `:PROPERTIES:` drawers. All available attributes are stored as
13+ key/value pairs. This reflects the way the org reader handles
14+ `:PROPERTIES:` blocks.
15+ + Add drawer capability (Carlos Sosa). For the implementation of the Drawer
16+ element in the Org Writer, we make use of a generic Block container with
17+ attributes. The presence of a `drawer` class defines that the `Div`
18+ constructor is a drawer. The first class defines the drawer name to use.
19+ The key-value list in the attributes defines the keys to add inside the
20+ Drawer. Lastly, the list of Block elements contains miscellaneous blocks
21+ elements to add inside of the Drawer.
22+ + Use `CUSTOM_ID` in properties (Albert Krewinkel). The `ID` property is
23+ reserved for internal use by Org-mode and should not be used.
24+ The `CUSTOM_ID` property is to be used instead, it is converted to the
25+ `ID` property for certain export format.
26+
27+ * LaTeX writer:
28+
29+ + Ignore `--incremental` unless output format is beamer (#2843).
30+ + Fix polyglossia to babel env mapping (Mauro Bieg, #2728).
31+ Allow for optional argument in square brackets.
32+ + Recognize `la-x-classic` as Classical Latin (Andrew Dunning).
33+ This allows one to access the hyphenation patterns in CTAN's
34+ hyph-utf8.
35+ + Add missing languages from hyph-utf8 (Andrew Dunning).
36+ + Improve use of `\strut` with `\minipage` inside tables
37+ (Jose Luis Duran). This improves spacing in multiline
38+ tables.
39+ + Use `{}` around options containing special chars (#2892).
40+ + Avoid lazy `foldl`.
41+ + Don't escape underscore in labels (#2921). Previously they were
42+ escaped as `ux5f`.
43+ + brazilian -> brazil for polyglossia (#2953).
44+
45+ * HTML writer: Ensure mathjax link is added when math appears in footnote
46+ (#2881). Previously if a document only had math in a footnote, the MathJax
47+ link would not be added.
48+
49+ * EPUB writer: set `navpage` variable on nav page.
50+ This allows templates to treat it differently.
51+
52+ * DocBook writer:
53+
54+ + Use docbook5 if `writerDocbook5` is set (Ivo Clarysse).
55+ + Properly handle `ulink`/`link` (Ivo Clarysse).
56+
57+ * EPUB reader:
58+
59+ + Unescape URIs in spine (#2924).
60+ + EPUB reader: normalise link id (Mauro Bieg).
61+
62+ * Docx Reader:
63+
64+ + Parse `moveTo` and `moveFrom` (Jesse Rosenthal).
65+ `moveTo` and `moveFrom` are track-changes tags that are used when a
66+ block of text is moved in the document. We now recognize these tags and
67+ treat them the same as `insert` and `delete`, respectively. So,
68+ `--track-changes=accept` will show the moved version, while
69+ `--track-changes=reject` will show the original version.
70+ + Tests for track-changes moving (Jesse Rosenthal).
71+
72+ * ODT, EPUB, Docx readers: throw `PandocError` on unzip failure
73+ (Jesse Rosenthal) Previously, `readDocx`, `readEPUB`, and `readOdt`
74+ would error out if zip-archive failed. We change the archive extraction
75+ step from `toArchive` to `toArchiveOrFail`, which returns an Either value.
76+
77+ * Markdown, HTML readers: be more forgiving about unescaped `&` in
78+ HTML (#2410). We are now more forgiving about parsing invalid HTML with
79+ unescaped `&` as raw HTML. (Previously any unescaped `&`
80+ would cause pandoc not to recognize the string as raw HTML.)
81+
82+ * Markdown reader:
83+
84+ + Fix pandoc title blocks with lines ending in 2 spaces (#2799).
85+ + Added `-s` to markdown-reader-more test.
86+
87+ * HTML reader: fixed bug in `pClose`. This caused exponential parsing
88+ behavior in documnets with unclosed tags in `dl`, `dd`, `dt`.
89+
90+ * MediaWiki reader: Allow spaces before `!` in MediaWiki table header
91+ (roblabla).
92+
93+ * RST reader: Support `:class:` option for code block in RST reader
94+ (Sidharth Kapur).
95+
96+ * Org reader (all Albert Krewinkel, except where noted otherwise):
97+
98+ + Stop padding short table rows.
99+ Emacs Org-mode doesn't add any padding to table rows. The first
100+ row (header or first body row) is used to determine the column count,
101+ no other magic is performed.
102+ + Refactor rows-to-table conversion. This refactors
103+ the codes conversing a list table lines to an org table ADT.
104+ The old code was simplified and is now slightly less ugly.
105+ + Fix handling of empty table cells, rows (Albert Krewinkel, #2616).
106+ This fixes Org mode parsing of some corner cases regarding empty cells
107+ and rows. Empty cells weren't parsed correctly, e.g. `|||` should be
108+ two empty cells, but would be parsed as a single cell containing a pipe
109+ character. Empty rows where parsed as alignment rows and dropped from
110+ the output.
111+ + Fix spacing after LaTeX-style symbols.
112+ The org-reader was droping space after unescaped LaTeX-style symbol
113+ commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
114+ instead. This seems to be because the LaTeX-reader treats the
115+ command-terminating space as part of the command. Dropping the trailing
116+ space from the symbol-command fixes this issue.
117+ + Print empty table rows. Empty table rows should not
118+ be dropped from the output, so row-height is always set to be at least 1.
119+ + Move parser state into separate module.
120+ The org reader code has become large and confusing. Extracting smaller
121+ parts into submodules should help to clean things up.
122+ + Add support for sub/superscript export options.
123+ Org-mode allows to specify export settings via `#+OPTIONS` lines.
124+ Disabling simple sub- and superscripts is one of these export options,
125+ this options is now supported.
126+ + Parse but ignore export options. All known export options are parsed
127+ but ignored.
128+ + Refactor block attribute handling. A parser state attribute was used
129+ to keep track of block attributes defined in meta-lines. Global state
130+ is undesirable, so block attributes are no longer saved as part of the
131+ parser state. Old functions and the respective part of the parser state
132+ are removed.
133+ + Use custom `anyLine`. Additional state changes need to be made after
134+ a newline is parsed, otherwise markup may not be recognized correctly.
135+ This fixes a bug where markup after certain block-types would not be
136+ recognized.
137+ + Add support for `ATTR_HTML` attributes (#1906).
138+ Arbitrary key-value pairs can be added to some block types using a
139+ `#+ATTR_HTML` line before the block. Emacs Org-mode only includes these
140+ when exporting to HTML, but since we cannot make this distinction here,
141+ the attributes are always added. The functionality is now supported
142+ for figures.
143+ + Add `:PROPERTIES:` drawer support (#1877).
144+ Headers can have optional `:PROPERTIES:` drawers associated with them.
145+ These drawers contain key/value pairs like the header's `id`. The
146+ reader adds all listed pairs to the header's attributes; `id` and
147+ `class` attributes are handled specially to match the way `Attr` are
148+ defined. This also changes behavior of how drawers of unknown type
149+ are handled. Instead of including all unknown drawers, those are not
150+ read/exported, thereby matching current Emacs behavior.
151+ + Use `CUSTOM_ID` in properties. See above on Org writer changes.
152+ + Respect drawer export setting. The `d` export option can be used
153+ to control which drawers are exported and which are discarded.
154+ Basic support for this option is added here.
155+ + Ignore leading space in org code blocks (Emanuel Evans, #2862).
156+ Also fix up tab handling for leading whitespace in code blocks.
157+ + Support new syntax for export blocks. Org-mode version 9
158+ uses a new syntax for export blocks. Instead of `#+BEGIN_<FORMAT>`,
159+ where `<FORMAT>` is the format of the block's content, the new
160+ format uses `#+BEGIN_export <FORMAT>` instead. Both types are
161+ supported.
162+ + Refactor `BEGIN...END` block parsing.
163+ + Fix handling of whitespace in blocks, allowing content to be indented
164+ less then the block header.
165+ + Support org-ref style citations. The *org-ref* package is an
166+ org-mode extension commonly used to manage citations in org
167+ documents. Basic support for the `cite:citeKey` and
168+ `[[cite:citeKey][prefix text::suffix text]]` syntax is added.
169+ + Split code into separate modules, making for cleaner code and
170+ better decoupling.
171+
172+ * Added `docbook5` template.
173+
174+ * `--mathjax` improvements:
175+
176+ + Use new CommonHTML output for MathJax (updated default MathJax URL,
177+ #2858).
178+ + Change default mathjax setup to use `TeX-AMS_CHTML` configuration.
179+ This is designed for cases where the input is always TeX and maximal
180+ conformity with TeX is desired. It seems to be smaller and load faster
181+ than what we used before. See #2858.
182+ + Load the full MathJax config to maximize loading speed (KolenCheung).
183+
184+ * Bumped upper version bounds to allow use of latest packages
185+ and compilation with ghc 8.
186+
187+ * Require texmath 0.8.6.2. Closes several texmath-related bugs (#2775,
188+ #2310, #2310, #2824). This fixes behavior of roots, e.g.
189+ `\sqrt[3]{x}`, and issues with sub/superscript positioning
190+ and matrix column alignment in docx.
191+
192+ * README:
193+
194+ + Clarified documentation of `implicit_header_references` (#2904).
195+ + Improved documentation of `--columns` option.
196+
197+ * Added appveyor setup, with artefacts (Jan Schulz).
198+
199+ * stack.yaml versions: Use proper flags used for texmath, pandoc-citeproc.
200+
201+ * LaTeX template: support for custom font families (vladipus).
202+ Needed for correct polyglossia operation with Cyrillic fonts and perhaps
203+ can find some other usages. Example usage in YAML metadata:
204+
205+ fontfamilies:
206+ - name: \cyrillicfont
207+ font: Liberation Serif
208+ - name: \cyrillicfonttt
209+ options: Scale=MatchLowercase
210+ font: Liberation
194211
195212pandoc (1.17.0.3)
196213