@@ -14,7 +14,10 @@
15 * Add `rebase_relative_paths` extension (#3752). When enabled, this
15 * Add `rebase_relative_paths` extension (#3752). When enabled, this
16 extension rewrites relative image and link paths by prepending
16 extension rewrites relative image and link paths by prepending
17− the (relative) directory of the containing file. This
17+ the (relative) directory of the containing file. This
18+ behavior is useful when your input sources are split
19+ into multiple files, across several directories, with files
20+ referring to images stored in the same directory. The
18 extension can be enabled for all markdown and commonmark-based formats.
21 extension can be enabled for all markdown and commonmark-based formats.
20 * Add Text.Pandoc.Sources (exported module), with a `Sources` type and a
23 * Add Text.Pandoc.Sources (exported module), with a `Sources` type and a
@@ -53,15 +56,13 @@
54 * Markdown reader:
57 * Markdown reader:
56− + Use MetaInlines not MetaBlocks for multimarkdown
59+ + Use MetaInlines not MetaBlocks for multimarkdown metadata fields.
57− metadata fields. This gives better results in converting to e.g.
60+ This gives better results in converting to e.g. pandoc markdown.
59 + Implement curly-brace syntax for Markdown citation keys (#6026).
61 + Implement curly-brace syntax for Markdown citation keys (#6026).
60 The change provides a way to use citation keys that contain
62 The change provides a way to use citation keys that contain
61− special characters not usable with the standard citation
63+ special characters not usable with the standard citation key syntax.
62− key syntax. Example: `@{foo_bar{x}'}` for the key `foo_bar{x}`.
64+ Example: `@{foo_bar{x}'}` for the key `foo_bar{x}`. It also allows
63− It also allows separating citation keys from immediately
65+ separating citation keys from immediately following text, e.g. `@{foo}A`.
64− following text, e.g. `@{foo}A`.
66 * RST reader:
67 * RST reader:
@@ -86,10 +87,10 @@
87 + Improved siunitx support (#6658, #6620).
88 + Improved siunitx support (#6658, #6620).
88 + Better support for `\xspace` (#7299).
89 + Better support for `\xspace` (#7299).
89− - Improve parsing of `\def` macros. We previously set "verbatim mode"
90+ + Improve parsing of `\def` macros. We previously set "verbatim mode"
90 even for parsing the initial `\def`; this caused problems
91 even for parsing the initial `\def`; this caused problems
91 for `\def` nested inside another `\def`.
92 for `\def` nested inside another `\def`.
92− - Implement `\newif`.
93+ + Implement `\newif`.
94 * ConTeXt writer: improve ordered lists (#5016, Denis Maier).
95 * ConTeXt writer: improve ordered lists (#5016, Denis Maier).
95 Change ordered list from itemize to enumerate. Add new
96 Change ordered list from itemize to enumerate. Add new
@@ -130,8 +131,8 @@
130 * LaTeX writer:
131 * LaTeX writer:
132 + Better handling of line breaks in simple tables (#7272).
133 + Better handling of line breaks in simple tables (#7272).
133− Now we also handle the case where they're embedded in other
134+ Now we also handle the case where they're embedded in other elements,
134− elements, e.g. spans.
135+ e.g. spans.
135 + For beamer output, support `exampleblock` and `alertblock` (#7278).
136 + For beamer output, support `exampleblock` and `alertblock` (#7278).
136 A block will be rendered as an `exampleblock` if the heading
137 A block will be rendered as an `exampleblock` if the heading
137 has class `example` and an `alertblock` if it has class `alert`.
138 has class `example` and an `alertblock` if it has class `alert`.
@@ -227,8 +228,8 @@
227 `savePreviewPicture`, `mathPr`, `themeFontLang`, `decimalSymbol`,
228 `savePreviewPicture`, `mathPr`, `themeFontLang`, `decimalSymbol`,
228 `listSeparator`, `autoHyphenation`, `compat`.
229 `listSeparator`, `autoHyphenation`, `compat`.
229 + Set zoom to 100% by default in settings.xml.
230 + Set zoom to 100% by default in settings.xml.
230− + Align math options more with current Word defaults (e.g.
231+ + Align math options more with current Word defaults (e.g. Cambria Math
231− Cambria Math font).
232+ font).
232 + Remove `rsid`s from default settings.xml. Word will add these
233 + Remove `rsid`s from default settings.xml. Word will add these
233 when revisions are made.
234 when revisions are made.
@@ -306,14 +307,14 @@
306 + Export `MediaItem` type [API change].
307 + Export `MediaItem` type [API change].
307 + Change `MediaBag` type to a map from Text to MediaItem [API change].
308 + Change `MediaBag` type to a map from Text to MediaItem [API change].
308 + `lookupMedia` now returns a `MediaItem` [API change].
309 + `lookupMedia` now returns a `MediaItem` [API change].
309− + Change `insertMedia` so it sets the `mediaPath` to
310+ + Change `insertMedia` so it sets the `mediaPath` to a filename based on
310− a filename based on the SHA1 hash of the contents.
311− This will be used when contents are extracted.
311+ the SHA1 hash of the contents. This will be used when contents
313 * Text.Pandoc.Class.PandocMonad:
314 * Text.Pandoc.Class.PandocMonad:
315− + Remove `fetchMediaResource` [API change]. Use `fetchItem`
316+ + Remove `fetchMediaResource` [API change]. Use `fetchItem` to get
316− to get resources in `fillMediaBag`.
317+ resources in `fillMediaBag`.
317 + Add informational message in `downloadOrRead` indicating what path
318 + Add informational message in `downloadOrRead` indicating what path
318 local resources have been loaded from.
319 local resources have been loaded from.
@@ -345,9 +346,9 @@
346 * Text.Pandoc.Citeproc:
347 * Text.Pandoc.Citeproc:
348− + Ensure that CSL-related attributes are passed on to a Div
349+ + Ensure that CSL-related attributes are passed on to a Div with id
349− with id 'refs'. Otherwise things like `entry-spacing`
350+ 'refs'. Otherwise things like `entry-spacing` won't work when
350− won't work when such Divs are used.
351+ such Divs are used.
351 + Use metadata's `lang` for the lang parameter of citeproc, overriding
352 + Use metadata's `lang` for the lang parameter of citeproc, overriding
352 `localeLanguage`.
353 `localeLanguage`.
353 + Recognize locators spelled with a capital letter (#7323).
354 + Recognize locators spelled with a capital letter (#7323).
@@ -355,9 +356,9 @@
355 with space or punctuation (#7324).
356 with space or punctuation (#7324).
356 + Don't detect math elements as locators (#7321).
357 + Don't detect math elements as locators (#7321).
358− * Remove Text.Pandoc.BCP47 module [API change].
359+ * Remove Text.Pandoc.BCP47 module [API change]. Use types and functions
359− Use types and functions from UnicodeCollation.Lang instead.
360− This is a richer implementation of BCP 47.
360+ from UnicodeCollation.Lang instead. This is a richer implementation
362 * Text.Pandoc.Shared:
363 * Text.Pandoc.Shared: