@@ -1,3 +1,61 @@
1+pandoc (2.2.1)
2+
3+ * Restored and undeprecated gladtex for HTML math (#4607).
4+
5+ + Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod`
6+ [API change, reverts removal in v2.2]
7+ + Restored and undeprecated `--gladtex` option, removed in v2.2.
8+
9+ * LaTeX reader: handle `$` in `/text{..}` inside math (#4576).
10+
11+ * FB2 reader: replace some errors with warnings (Alexander Krotov).
12+
13+ * HTML writer:
14+
15+ + Strip links from headers when creating TOC (#4340).
16+ Otherwise the TOC entries will not link to the sections.
17+ + Fix regression with tex math environments in HTML + MathJax (#4639).
18+
19+ * Muse writer (Alexander Krotov): Add support for left-align and
20+ right-align classes (#4542).
21+
22+ * Docx writer: Support underline (#4633).
23+
24+ * Text.Pandoc.Parsing: Lookahead for non-whitespace after
25+ `singleQuoteStart` and `doubleQuoteStart` (#4637).
26+
27+ * `test-pandoc-utils.lua`: more robust testing on both windows
28+ and \*nix. Previously the pipe tests were only run if
29+ `\bin/false` and `/bin/sed` were present, which they aren't
30+ in default MacOS and Windows systems. Fixed by using `tr`
31+ and `false`, which should always be in the path on a \*nix
32+ system, and `find` and `echo` for Windows.
33+
34+ * Text.Pandoc.Shared: add `uriPathToPath`.
35+ This adjusts the path from a file: URI in a way that is sensitive
36+ to Windows/Linux differences. Thus, on Windows,
37+ `/c:/foo` gets interpreted as `c:/foo`, but on Linux,
38+ `/c:/foo` gets interpreted as `/c:/foo`. See #4613.
39+
40+ * Use `uriPathToPath` with file: URIs (#4613).
41+
42+ * Revert piping HTML to pdf-engine (Mauro Bieg, #4413). Use a temp
43+ file as before.
44+
45+ * Text.Pandoc.Class: Catch IO errors when writing media files
46+ and issue a warning, rather than an error (Francesco Occhipinti, #4559).
47+
48+ * Don't lowercase custom writer filename (Alexander Krotov, #4610).
49+
50+ * MANUAL: clarify truthiness in template variables (Mauro Bieg, #2281).
51+
52+ * ConTeXt template: New Greek fallback typeface (Pablo Rodríguez, #4405).
53+ CMU Serif gives better typographic results than the previous
54+ Greek fallback DejaVu Serif.
55+
56+ * Make HTML template polyglot (#4606, OvidiusCicero), by making
57+ `<link rel="stylesheet" href="$css$">` self-closing.
58+
159pandoc (2.2)
260
361 * New input format: `fb2` (FictionBook2) (Alexander Krotov).