git.iko.soy/typeable/pandoc
on master help sign in
Updated changelog.
commit2f7ee662fb81e31fe6df84de51a73da216eb6444 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 18 Dec 2014, 21:39 (12 years ago) parenta804a5f
1 file changed+336
changelog+336
changelog+336
@@ -1,3 +1,339 @@
1+pandoc (1.13.2)
2+
3+ * TWiki Reader: add new new twiki reader (API chaneg, Alexander Sulfrian).
4+
5+ * Markdown reader:
6+
7+ + Better handling of paragraph in div (#1591).
8+ Previously text that ended a div would be parsed as Plain
9+ unless there was a blank line before the closing div tag.
10+ + Don't treat a citation as a reference link label (#1763).
11+ + Fix autolinks with following punctuation (#1811).
12+ The price of this is that autolinked bare URIs can no longer
13+ contain `>` characters, but this is not a big issue.
14+ + Fix `Ext_lists_without_preceding_blankline` bug (#1636, Artyom).
15+ + Allow `startnum` to work without `fancy_lists`. Formerly
16+ `pandoc -f markdown-fancy_lists+startnum` did not work properly.
17+
18+ * RST reader (all Daniel Bergey):
19+
20+ + Parse quoted literal blocks (#65). RST quoted literal blocks are
21+ the same as indented literal blocks (which pandoc already supports)
22+ except that the quote character is preserved in each line.
23+ + Parse RST class directives. The class directive accepts one or more
24+ class names, and creates a Div value with those classes. If the
25+ directive has an indented body, the body is parsed as the children of
26+ the Div. If not, the first block folowing the directive is made a
27+ child of the Div. This differs from the behavior of rst2xml, which
28+ does not create a Div element. Instead, the specified classes are
29+ applied to each child of the directive. However, most Pandoc Block
30+ constructors to not take an Attr argument, so we can't duplicate this
31+ behavior.
32+ + Warn about skipped directives.
33+ + Literal role now produces Code. Code role should have "code" class.
34+ + Improved support for custom roles
35+
36+ - Added `sourceCode` to classes for `:code:` role, and anything
37+ inheriting from it.
38+ - Add the name of the custom role to classes if the Inline constructor
39+ supports Attr.
40+ - If the custom role directive does not specify a parent role, inherit
41+ from the `:span:` role.
42+
43+ This differs somewhat from the `rst2xml.py` behavior. If a custom role
44+ inherits from another custom role, Pandoc will attach both roles' names
45+ as classes. `rst2xml.py` will only use the class of the directly invoked
46+ role (though in the case of inheriting from a `:code:` role with a
47+ `:language:` defined, it will also provide the inherited language as a
48+ class).
49+ + Warn about ignored fields in role directives.
50+
51+ * LaTeX reader:
52+
53+ + Parse label after caption into a span instead of
54+ inserting an additional paragraph of bracketed text (#1747).
55+ + Parse math environments as inline when possible (#1821).
56+ + Better handling of `\noindent` and `\greektext` (#1783).
57+ + Handle `\texorpdfstring` more gracefully.
58+ + Handle `\cref` and `\sep` (Wikiwide).
59+ + Support `\smartcite` and `\Smartcite` from biblatex.
60+
61+ * HTML reader:
62+
63+ + Retain display type of MathML output (#1719, Matthew Pickering).
64+ + Recognise `<br>` tags inside `<pre>` blocks (#1620, Matthew Pickering).
65+ + Make `embed` tag either block or inline (#1756).
66+
67+ * DocBook reader:
68+
69+ + Handle `keycombo`, `keycap` (#1815).
70+ + Get string content in inner tags for literal elements (#1816).
71+ + Handle `menuchoice` elements better, with a `>` between (#1817).
72+ + Include `id` on section headers (#1818).
73+ + Document/test "type" as implemented (Brian O'Sullivan).
74+ + Add support for calloutlist and callout (Brian O'Sullivan).
75+ We treat a calloutlist as a bulleted list. This works well in practice.
76+ + Add support for `classname` (Bryan O'Sullivan).
77+
78+ * Docx reader:
79+
80+ + Fix window path for image lookup (Jesse Rosenthal).
81+ Don't use os-sensitive "combine", since we always want the paths in our
82+ zip-archive to use forward-slashes.
83+ + Single-item headers in ordered lists are headers (Jesse Rosenthal).
84+ When users number their headers, Word understands that as a single item
85+ enumerated list. We make the assumption that such a list is, in fact,
86+ a header.
87+ + Rewrite rewriteLink to work with new headers (Jesse Rosenthal).
88+ There could be new top-level headers after making lists, so we have to
89+ rewrite links after that.
90+ + Use polyglot header list (Jesse Rosenthal).
91+ We're just keeping a list of header formats that different languages use
92+ as their default styles. At the moment, we have English, German, Danish,
93+ and French. We can continue to add to this.
94+ This is simpler than parsing the styles file, and perhaps less
95+ error-prone, since there seems to be some variations, even within a
96+ language, of how a style file will define headers.
97+ + Remove header class properly in other langs (Jesse Rosenthal).
98+ When we encounter one of the polyglot header styles, we want to remove
99+ that from the par styles after we convert to a header. To do that, we
100+ have to keep track of the style name, and remove it appropriately.
101+ + Account for external link URLs with anchors. Previously, if a URL
102+ had an anchor, the reader would incorrectly identify it as an
103+ internal link and return only the anchor as URL. (Caleb McDaniel)
104+ + Fix for Issue #1692 (i18n styles) (Nikolay Yakimov).
105+
106+ * Org reader:
107+
108+ + Added state changing blanklines (Jesse Rosenthal).
109+ This allows us to emphasize at the beginning of a new paragraph (or, in
110+ general, after blank lines).
111+ + Fixed bug with bulleted lists:
112+
113+ - a
114+ - b
115+ * c
116+
117+ was being parsed as a list, even though an unindented `*`
118+ should make a heading. See
119+ <http://orgmode.org/manual/Plain-lists.html#fn-1>.
120+ + Org reader: absolute, relative paths in link (#1741, Albert
121+ Krewinkel). The org reader was too restrictive when parsing links;
122+ some relative links and links to files given as absolute paths
123+ were not recognized correctly.
124+ + Org reader: allow empty links (jgm/gitit#471, Albert Krewinkel).
125+ This is important for use in gitit, which uses empty links
126+ for wikilinks.
127+ + Respect indent when parsing Org bullet lists (#1650, Timothy
128+ Humphries). Fixes issue with top-level bullet list parsing.
129+ + Fix indent issue for definition lists (Timothy Humphries,
130+ see #1650, #1698, #1680).
131+ + Parse multi-inline terms correctly in definition list (#1649,
132+ Matthew Pickering).
133+ + Fix rules for emphasis recognition (Albert Krewinkel).
134+ Things like `/hello,/` or `/hi'/` were falsy recognized as emphasised
135+ strings. This is wrong, as `,` and `'` are forbidden border chars and
136+ may not occur on the inner border of emphasized text.
137+ + Drop COMMENT document trees (Albert Krewinkel).
138+ Document trees under a header starting with the word `COMMENT` are
139+ comment trees and should not be exported. Those trees are dropped
140+ silently (#1678).
141+ + Properly handle links to `file:target` (Albert Krewinkel).
142+ Org links like `[[file:target][title]]` were not handled correctly,
143+ parsing the link target verbatim. The org reader is changed such that
144+ the leading `file:` is dropped from the link target (see #756, #1812).
145+ + Parse LaTeX-style MathML entities (#1657, Albert Krewinkel).
146+ Org supports special symbols which can be included using LaTeX syntax,
147+ but are actually MathML entities. Examples for this are
148+ `\nbsp` (non-breaking space), `\Aacute` (the letter A with accent acute)
149+ or `\copy` (the copyright sign ©)
150+
151+ * EPUB reader:
152+
153+ + URI handling improvements. Now we outsource most of the work to
154+ `fetchItem'`. Also, do not include queries in file extensions (#1671).
155+
156+ * LaTeX writer:
157+
158+ + Use `\texorpdfstring` for section captions when needed (Vaclav Zeman).
159+ + Handle consecutive linebreaks (#1733).
160+ + Protect graphics in headers (Jesse Rosenthal).
161+ Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed.
162+ + Put `~` before header in list item text (Jesse Rosenthal).
163+ Because of the built-in line skip, LaTeX can't handle a section header
164+ as the first element in a list item.
165+ + Avoid using reserved characters as `\lstinline` delimiters (#1595).
166+ + Better handling of display math in simple tables (#1754).
167+ We convert display math to inline math in simple tables,
168+ since LaTeX can't deal with display math in simple tables.
169+ + Escape spaces in code (#1694, Bjorn Buckwalter).
170+
171+ * ICML writer:
172+
173+ + Don't force all citations into footnotes.
174+
175+ * RTF writer:
176+
177+ + Add blankline at end of output (#1732, Matthew Pickering).
178+
179+ * RST writer:
180+
181+ + Ensure blank line after figure.
182+ + Avoid exces whitespace after last list item (#1777).
183+ + Wrap line blocks with spaces before continuations (#1656).
184+ + Fixed double-rendering of footnotes in RST tables (#1769).
185+
186+ * DokuWiki writer:
187+
188+ + Better handling of block quotes. This change ensures that
189+ multiple paragraph blockquotes are rendered using native `>`
190+ rather than as HTML (#1738).
191+ + Fix external images (#1739). Preface relative links with ":",
192+ absolute URIs without. (Timothy Humphries)
193+
194+ * HTML writer:
195+
196+ + Use protocol-relative URL for mathjax.
197+ + Put newline btw img and caption paragraph.
198+ + MathML now outputted with tex annotation (#1635, Matthew Pickering).
199+ + Add support for KaTeX HTML math (#1626, Matthew Pickering).
200+ This adds `KaTeX` to `HTMLMathMethod` (API change).
201+ + Don't double render when `email-obfuscation=none` (#1625, Matthew
202+ Pickering).
203+ + Make header attributes work outside top level (#1711).
204+ Previously they only appeared on top level header elements.
205+ Now they work e.g. in blockquotes.
206+
207+ * ODT writer:
208+
209+ + Correctly handle images without extensions (#1729).
210+ + Strip querystring in ODT write (#1682, Todd Sifleet).
211+
212+ * FB2 writer:
213+
214+ + Add newline to output.
215+
216+ * EPUB writer:
217+
218+ + Don't add `sourceURL` to absolute URIs (#1669).
219+ + Don't use unsupported `opf:title-type` for epub2.
220+ + Include "landmarks" section in nav document for epub3 (#1757).
221+ + Removed playOrder from navpoint elements in ncx file (#1760).
222+ These aren't required, and they make manual modification of epubs
223+ difficult.
224+ + Extract title even from structured title.
225+ + Don't include nav node in spine unless `--toc` was requested.
226+ Previously we included it in the spine with `linear="no"`, leading
227+ to odd results in some readers (#1593).
228+ + Fixed absolute URI detection (#1672).
229+ + Correctly resolve relative URIs (#1671).
230+ + Use regular page template for `nav.xhtml`, including doctype (#1759).
231+
232+ * Docx writer:
233+
234+ + Put docx table captions above tables (#1641, Nikolay Yakimov).
235+ + Get the page width from the reference docx file, and use
236+ it to scale images that are too large to fit (Grégory Bataille).
237+ + Partial fix for #1607 (Nikolay Yakimov). International heading styles
238+ are inferred based on `<w:name val="heading #">` fallback, if there
239+ are no en-US "Heading#" styles
240+ + Look in user data dir for archive `reference.docx`.
241+ + Renumber header and footer relationships to avoid collisions (Jesse
242+ Rosenthal). We previously took the old relationship names of the
243+ headers and footer in secptr. That led to collisions. We now make
244+ a map of availabl names in the relationships file, and then rename
245+ in secptr.
246+
247+ * ConTeXt writer:
248+
249+ + Add function toLabel (Mark Szepieniec).
250+ This function can be used to sanitize reference labels so that
251+ they do not contain any of the illegal characters \#[]",{}%()|= .
252+ Currently only Links have their labels sanitized, because they
253+ are the only Elements that use passed labels.
254+
255+ * `Text.Pandoc.Shared`:
256+
257+ + Moved import of `toChunks` outside of CPP conditional (#1590).
258+ + Fix `inDirectory` to reset to the original directory in case
259+ an exception occurs (Freiric Barral).
260+
261+ * Templates:
262+
263+ + LaTeX template: load polyglossia before bibtex (jgm/pandoc-templates#70).
264+ Thanks to bluebirch.
265+ + LaTeX template: Added `\VerbatimFootnotes` if there is verbatim in notes
266+ (#1616).
267+ + LaTeX template: Add shorthands=off to babel options (#1648).
268+ + EPUB, EPUB3 templates: Added `id="cover"` to body of cover page.
269+ This aids styling, making it possible for example to set 0 margins
270+ on the title page (#1758).
271+ + EPUB, EPUB3 templates: Handle structured metadata on titlepage.
272+ Previously we just expected 'title', 'subtitle', 'author', 'date'.
273+ Now we still support those, but also support the format recommended
274+ for epub metadata in the pandoc README:
275+
276+ ---
277+ title:
278+ - type: main
279+ text: My Book
280+ - type: subtitle
281+ text: An investigation of metadata
282+ creator:
283+ - role: author
284+ text: John Smith
285+ - role: editor
286+ text: Sarah Jones
287+ identifier:
288+ - scheme: DOI
289+ text: doi:10.234234.234/33
290+ publisher: My Press
291+ rights: (c) 2007 John Smith, CC BY-NC
292+ ...
293+
294+ * `Text.Pandoc.Templates.getDefaultTemplate`:
295+ don't fail when called with "fb2" (#1660).
296+
297+ * `Text.Pandoc.Parsing`:
298+
299+ + Fixed `inlineMath` so it handles `\text{..}` containing `$`.
300+ For example: `$x = \text{the $n$th root of $y$}` (#1677).
301+ + Change `parseFromString` to fail if not all input is consumed.
302+ (Matthew Pickering)
303+ + Moved `addWarning` from Markdown reader to `Parsing`, so it can be
304+ used by more readers (API change, Daniel Bergey).
305+
306+ * `Text.Pandoc.Pretty`:
307+
308+ + Improve performance of `realLength` (Matthew Pickering).
309+ + Make CR + BLANKLINE = BLANKLINE. This fixes an extra blank line we
310+ were getting at the end of markdown fragments (as well as rst, org,
311+ etc.) (#1705).
312+
313+ * `Text.Pandoc.MIME`:
314+
315+ + Add mime type for WebVTT (Jason Ronallo).
316+ + Changed mime type for `otf` to `application/vnd.ms-opentype` (#1761).
317+ This is needed for epub3 validation.
318+
319+ * `Text.Pandoc.MediaBag`:
320+
321+ + Fix Windows specific path problems (#1597).
322+
323+ * `Text.Pandoc.Shared`:
324+
325+ + Make `collapseFilePath` OS-agnostic (Matthew Pickering).
326+
327+ * Link the test suite using `-threaded`.
328+ This allows the test suite to be run using `+RTS -N`.
329+
330+ * Added `network` dependency under `network-uri` flag in test section.
331+
332+ * Give better error messages when someone tries to convert from
333+ pdf, doc, odt (#1683).
334+
335+ * Added `track` to list of tags treated by `--self-contained` (#1664).
336+
1337pandoc (1.13.1)
2338
3339 * Fixed `--self-contained` with Windows paths (#1558).