git.iko.soy/typeable/pandoc
on master help sign in
Update changelog
commit35ced1621df6b1dfe7de79e994343a539b624d8d authorJohn MacFarlane <jgm@berkeley.edu> dateMon 20 Nov 2017, 16:22 (9 years ago) parentf1ea3d6
1 file changed+93
changelog+93
changelog+93
@@ -1,3 +1,96 @@
1+pandoc (2.0.3)
2+
3+ * Lua filters: preload text module (Albert Krewinkel, #4077).
4+ The `text` module is preloaded in lua. The module contains some UTF-8
5+ aware string functions, implemented in Haskell. The module is loaded on
6+ request only, e.g.:
7+
8+ text = require 'text'
9+ function Str (s)
10+ s.text = text.upper(s.text)
11+ return s
12+ end
13+
14+ * Allow table-like access to attributes in lua filters (Albert Krewinkel,
15+ #4071). Attribute lists are represented as associative lists in Lua. Pure
16+ associative lists are awkward to work with. A metatable is attached to
17+ attribute lists, allowing to access and use the associative list as if
18+ the attributes were stored in as normal key-value pair in table.
19+ Note that this changes the way `pairs` works on attribute lists. Instead
20+ of producing integer keys and two-element tables, the resulting iterator
21+ function now returns the key and value of those pairs. Use `ipairs` to
22+ get the old behavior. Warning: the new iteration mechanism only works if
23+ pandoc has been compiled with Lua 5.2 or later (current default: 5.3).
24+
25+ * Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters (#4068).
26+ This fixes a bug where pandoc would stop parsing a URI with an
27+ empty attribute: for example, `&a=&b=` wolud stop at `a`.
28+ (The uri parser tries to guess which punctuation characters
29+ are part of the URI and which might be punctuation after it.)
30+
31+ * Introduce `HasSyntaxExtensions` typeclass (Alexander Krotov, #4074).
32+
33+ + Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and
34+ `WriterOptions`.
35+ + Reimplemented `isEnabled` function from `Options.hs` to accept both
36+ `ReaderOptions` and `WriterOptions`.
37+ + Replaced `enabled` from `CommonMark.hs` with new `isEnabled`.
38+
39+ * Add `amuse` extension (Alexander Krotov) to enable Amuse wiki
40+ behavior for `muse`. New `Ext_amuse` constructor for
41+ `Extension`. Note: this is switched on by default; for
42+ Emacs behavior, use `muse-amuse`.
43+
44+ * Muse reader (Alexander Krotov):
45+
46+ + Count only one space as part of list item marker.
47+ + Produce SoftBreaks on newlines. Now wrapping can be preserved
48+ with `--wrap=preserve`.
49+ + Add Text::Amuse footnote extensions. Footnote end is indicated by
50+ indentation, so footnotes can be placed anywhere in the text,
51+ not just at the end of it.
52+ + Accept Emacs Muse definition lists when `-amuse`.
53+ Emacs Muse does not require indentation.
54+
55+ * HTML reader:
56+
57+ + Ensure we don't produce level 0 headers (#4076), even for chapter
58+ sections in epubs. This causes problems because writers aren't set
59+ up to expect these.
60+ + Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`.
61+ Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in
62+ `markdown` or `html` `+tex_math_single_backslash`.
63+
64+ * MANUAL: clarify that math extensions work with HTML.
65+ Clarify that `tex_math_dollars` and `tex_math_single_backslash`
66+ will work with HTML as well as Markdown.
67+
68+ * Creole reader: Fix performance issue for longer lists (Sascha Wilde,
69+ #4067).
70+
71+ * RST reader: better support for 'container' directive (#4066).
72+ Create a div, incorporate name attribute and classes.
73+
74+ * LaTeX reader:
75+
76+ + Support column specs like `*{2}{r}` (#4056). This is equivalent to
77+ `rr`. We now expand it like a macro.
78+ + Allow optional args for parbox (#4056).
79+ + Allow optional arguments on `\footnote` (#4062).
80+
81+ * EPUB writer: Fixed path for cover image (#4069). It was previously
82+ `media/media/imagename`, and should have been `media/imagename`.
83+
84+ * Markdown writer: fix bug with doubled footnotes in grid tables
85+ (#4061).
86+
87+ * LaTeX template: include natbib/biblatex after polyglossia (#4073).
88+ Otherwise we seem to get an error; biblatex wants polyglossia
89+ language to be defined.
90+
91+ * Added examples to lua filters documentation.
92+
93+
194pandoc (2.0.2)
295
396 * Deprecated ancient HTML math methods: `--latexmathml`, `--gladtex`,