@@ -79,6 +79,17 @@
79 URL was used for the input file, instead of taking it from the
79 URL was used for the input file, instead of taking it from the
80 data directory.
80 data directory.
82+ * Allow combining `-Vheader-includes` and `--include-in-header` (#5904).
83+ Previously `header-includes` set as a variable would be
84+ clobbered by material included using `--include-in-header`.
86+ * Change merge behavior for metadata. Previously, if a document
87+ contained two YAML metadata blocks that set the same field, the
88+ conflict would be resolved in favor of the first. Now it is resolved
89+ in favor of the second (due to a change in pandoc-types).
90+ This makes the behavior more uniform with other things in pandoc
91+ (such as reference links and `--metadata-file`).
82 * Don't add a newline to fragment output if there's already one.
93 * Don't add a newline to fragment output if there's already one.
84 * Change exit codes and document in MANUAL.txt:
95 * Change exit codes and document in MANUAL.txt:
@@ -87,6 +98,9 @@
87 + `PandocOptionError` was 2, is now 6
98 + `PandocOptionError` was 2, is now 6
88 + `PandocMakePDFError` was 65, is now 66
99 + `PandocMakePDFError` was 65, is now 66
101+ * Switch to new pandoc-types and use Text instead of String [API change].
102+ (Christian Despres, #5884).
90 * HTML reader:
104 * HTML reader:
92 + Better handling of `<q>` with cite attribute (#5798, Ole Martin Ruud).
106 + Better handling of `<q>` with cite attribute (#5798, Ole Martin Ruud).
@@ -100,6 +114,8 @@
100 `<mark>` elements from HTML as Spans with class `mark`.
114 `<mark>` elements from HTML as Spans with class `mark`.
101 + Add support for `<kbd>` elements, parsing them as Span with class
115 + Add support for `<kbd>` elements, parsing them as Span with class
102 `kbd` (Daniele D'Orazio, #5796).
116 `kbd` (Daniele D'Orazio, #5796).
117+ + Add support for `<dfn>`, parsing this as a Span with class `dfn`
118+ (#5882, Florian Beeres).
105 * RST reader:
121 * RST reader:
@@ -158,6 +174,7 @@
158 for admonitions as a nested Div with the "title" class.
174 for admonitions as a nested Div with the "title" class.
159 + Fix nesting of chapters and sections (#5864, Florian Klink,
175 + Fix nesting of chapters and sections (#5864, Florian Klink,
160 Félix Baylac-Jacqué).
176 Félix Baylac-Jacqué).
177+ + Fix bug with entities in mathphrase element (#5885).
162 * MediaWiki reader:
179 * MediaWiki reader:
@@ -180,6 +197,8 @@
180 + Text.Pandoc.Readers.LaTeX.Parsing: add `[Tok]` parameter to
197 + Text.Pandoc.Readers.LaTeX.Parsing: add `[Tok]` parameter to
181 `rawLaTeXParser`. This allows us to repeat retokenizing
198 `rawLaTeXParser`. This allows us to repeat retokenizing
182 unnecessarily in e.g. `rawLaTeXBlock`.
199 unnecessarily in e.g. `rawLaTeXBlock`.
200+ + Add KOMA-Script metadata commands (#5910, Andrew Dunning).
201+ Add all titling commands to existing definition for `\dedication`.
184 * Markdown writer:
203 * Markdown writer:
@@ -267,7 +286,9 @@
267 + Render a Quoted element with an inner Span with
286 + Render a Quoted element with an inner Span with
268 `cite` attribute using a `<q>` tag (#5798, Ole Martin Ruud).
287 `cite` attribute using a `<q>` tag (#5798, Ole Martin Ruud).
269 + Render a Span with class `mark` using the `<mark>` element
288 + Render a Span with class `mark` using the `<mark>` element
270− (Florian B, #5797).
289+ (Florian Beeres, #5797).
290+ + Render Span with class `dfn` using `<dfn>` element
291+ (Florian Beeres, #5882).
271 + Render Span with class `kbd` using `<kbd>` element (Daniele
292 + Render Span with class `kbd` using `<kbd>` element (Daniele
272 D'Orazio, #5796).
293 D'Orazio, #5796).
273 + Render Code with class `variable` using `<var>` element
294 + Render Code with class `variable` using `<var>` element
@@ -299,6 +320,13 @@
299 + Fix handling of `:align:` on figures and images (#4420).
320 + Fix handling of `:align:` on figures and images (#4420).
300 When the image has the `align-right` (etc.) class, we now use
321 When the image has the `align-right` (etc.) class, we now use
301 an `:align:` attribute.
322 an `:align:` attribute.
323+ + Improve spacing for tables with no width information (#5899).
324+ If a simple table would be too wide, we use a grid table.
325+ + Fix backslash escaping after strings (Albert Krewinkel, #5906).
326+ The check whether a complex inline element following a string must
327+ be escaped, now depends on the last character of the string instead
329+ + Ensure there's a blank line before tables (#5898).
303 * Dokuwiki writer:
331 * Dokuwiki writer:
@@ -404,6 +432,10 @@
405 * Text.Pandoc.Parsing:
433 * Text.Pandoc.Parsing:
435+ + Add `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`,
436+ `many1Till`, `manyUntil`, `mantyUntilChar`: these are like their
437+ unsuffixed counterparts but pack some or all of their output
438+ (Christian Despres, #5884).
407 + Add `stateAllowLineBreaks` to `ParserState` [API change].
439 + Add `stateAllowLineBreaks` to `ParserState` [API change].
408 + Fix inline parsing in grid table cells (#5708).
440 + Fix inline parsing in grid table cells (#5708).
409 + Change type of `setLastStrPos` so it takes a `Maybe SourcePos`
441 + Change type of `setLastStrPos` so it takes a `Maybe SourcePos`
@@ -412,6 +444,8 @@
412 `gridTableWith'` polymorphic in the parser state,
444 `gridTableWith'` polymorphic in the parser state,
413 constraining it with `HasLastStrPosition` [API change].
445 constraining it with `HasLastStrPosition` [API change].
414 + `parseFromString'`: reset `stateLastStrPos` to `Nothing` before parse.
446 + `parseFromString'`: reset `stateLastStrPos` to `Nothing` before parse.
447+ + Rename takeWhileP -> take1WhileP and clean it up.
448+ (It doesn't match the empty sequence.)
416 * Text.Pandoc.PDF:
450 * Text.Pandoc.PDF:
@@ -525,6 +559,15 @@
525 + Headers: don't parse content over newline boundary (#5714).
559 + Headers: don't parse content over newline boundary (#5714).
526 + Handle inline code more eagerly within lists (Brian Leung, #5627).
560 + Handle inline code more eagerly within lists (Brian Leung, #5627).
527 + Removed some needless lookaheads.
561 + Removed some needless lookaheads.
562+ + Don't parse footnote body unless extension enabled.
563+ + Fix small super/subscript issue (#5878). Superscripts and subscripts
564+ cannot contain spaces, but newlines were previously allowed
565+ (unintentionally). This led to bad interactions in some cases
566+ with footnotes. With this change newlines are also not allowed inside
568+ + Use `take1WhileP` for `str`, table row. This yields a small but
569+ measurable performance improvement.
529 * LaTeX reader:
572 * LaTeX reader:
@@ -588,6 +631,8 @@
588 + Export `htmlSpanLikeElements` [API change] (Daniele D'Orazio, #5796).
631 + Export `htmlSpanLikeElements` [API change] (Daniele D'Orazio, #5796).
589 This is a mapping of HTML span-like elements that are internally
632 This is a mapping of HTML span-like elements that are internally
590 represented as a Span with a single class.
633 represented as a Span with a single class.
634+ + Change the implementation of `htmlSpanLikeElements` to retain
635+ classes and attributes (#5882, Florian Beeres).
592 * Text.Pandoc.Slides: recognize content in Divs when determining
637 * Text.Pandoc.Slides: recognize content in Divs when determining
593 slide level.
638 slide level.
@@ -608,7 +653,8 @@
608 `resetField` to work with Context rather than JSON values. [API change]
653 `resetField` to work with Context rather than JSON values. [API change]
609 + Export new function `endsWithPlain` [API change].
654 + Export new function `endsWithPlain` [API change].
610 + Change `gridTables` so it does better at keeping the widths of
655 + Change `gridTables` so it does better at keeping the widths of
611− columns (#4320).
656+ columns (#4320) and does better at figuring out column widths
657+ when no widths are given (#5899).
613 * Text.Pandoc.Options
659 * Text.Pandoc.Options
@@ -626,6 +672,10 @@
626 * Text.Pandoc.Filters:
672 * Text.Pandoc.Filters:
628 + Add `FromYAML` instance for `Filter`.
674 + Add `FromYAML` instance for `Filter`.
675+ + `applyFilters`: Add and apply filters in order (not reversed)
676+ This changes `applyFilters` from Text.Pandoc.Filter so
677+ that it does a left fold rather than a right fold, applying
678+ the filters in the order listed.
630 * Text.Pandoc.XML:
680 * Text.Pandoc.XML:
@@ -636,6 +686,11 @@
637 + Add additional listings languages (Wandmalfarbe).
687 + Add additional listings languages (Wandmalfarbe).
689+ * Text.Pandoc.MediaBag:
691+ + Some of the types using Strings were switched to use FilePath instead
692+ (Christian Despres, #5884).
639 * Text.Pandoc.Templates:
694 * Text.Pandoc.Templates:
641 + Don't import/export `varListToJSON` [API change]. It is removed in
696 + Don't import/export `varListToJSON` [API change]. It is removed in
@@ -669,6 +724,13 @@
669 + Rename `optWrapText` to `optWrap`.
724 + Rename `optWrapText` to `optWrap`.
670 + Add `IpynbOutput` enumerated type: use this instead of
725 + Add `IpynbOutput` enumerated type: use this instead of
671 a string for `optIpynbOutput`.
726 a string for `optIpynbOutput`.
727+ + Change optInputFiles to a `Maybe [FilePath]` (#5888) [API change].
728+ `Nothing` means: nothing specified.
729+ `Just []` means: an empty list specified (e.g. in defaults).
730+ + List fields in Opt so they aren't reversed (#5881) [API change].
731+ Previously `optIncludeInHeader`, etc. were in reverse order.
732+ + The `sourcefile` variable is now always a list. It used to be
733+ sometimes a string, sometimes a list (when there was more than one).
673 * Template changes:
735 * Template changes:
@@ -677,7 +739,10 @@
677 variable (set automatically if there is a `hanging-ident`
739 variable (set automatically if there is a `hanging-ident`
678 class on the references Div) controls whether contents of this
740 class on the references Div) controls whether contents of this
679 environment receive a hanging indent.
741 environment receive a hanging indent.
742+ + default.latex: Add `space` as default option for xeCJK, so that
743+ spaces between words are preserved (#5855, jeongminkim-islab).
744+ This is necessary for Korean.
680− + default.latex; Remove include of `grffile` (#5848).
745+ + default.latex: Remove include of `grffile` (#5848).
681 This package used to be needed for proper handling of image filenames
746 This package used to be needed for proper handling of image filenames
682 containing periods (in addition to the period before the extension).
747 containing periods (in addition to the period before the extension).
683 It no longer works with the latest LaTeX kernel and graphicx,
748 It no longer works with the latest LaTeX kernel and graphicx,
@@ -690,6 +755,17 @@
690 code duplication.
755 code duplication.
691 + HTML-based templates: change indentation of styles in template.
756 + HTML-based templates: change indentation of styles in template.
758+ * reference.docx (#5820):
760+ + Change Block Text (block quote) style so that the same font
761+ is used as in the body text, and the block text is indented
763+ + All headings now have a uniform color.
764+ + Level-1 headings no longer set `w:themeShade="B5"`.
765+ + Level-2 headings are now 14 point rather than 16 point.
766+ + Level-3 headings are now 12 point rather than 14 point.
767+ + Level-4 headings are italic rather than bold.
693 * epub.css: Add CSS for hanging-indent div to support pandoc-citeproc's
769 * epub.css: Add CSS for hanging-indent div to support pandoc-citeproc's
694 new hanging indents.
770 new hanging indents.
@@ -769,6 +845,7 @@
769 + Clarify that `--dpi` provides a default and doesn't override
845 + Clarify that `--dpi` provides a default and doesn't override
770 dpi values specified in the images themselves (#5721).
846 dpi values specified in the images themselves (#5721).
771 + Document how to use custom writers with `--standalone` (#5866).
847 + Document how to use custom writers with `--standalone` (#5866).
848+ + Clarify `--preserve-tabs` default.
773 * INSTALL.md:
850 * INSTALL.md:
@@ -780,10 +857,14 @@
780 + Add information on tests (Agustín Martín Barbero, #5652).
857 + Add information on tests (Agustín Martín Barbero, #5652).
781 + Add information about command test naming to CONTRIBUTING (Florian B).
858 + Add information about command test naming to CONTRIBUTING (Florian B).
860+ * Fix typos in changelog and comments (#5896, Brian Wignall).
783 * doc/lua-filters.md:
862 * doc/lua-filters.md:
785 + Fix mistakes in mediabag module docs (#5851, Albert Krewinkel).
864 + Fix mistakes in mediabag module docs (#5851, Albert Krewinkel).
786 + Improve metadata replacement example in lua-filters doc (#5851).
865 + Improve metadata replacement example in lua-filters doc (#5851).
866+ + Mention which Lua version is shipped with pandoc (Albert Krewinkel,
788## pandoc 2.7.3 (2019-06-11)
869## pandoc 2.7.3 (2019-06-11)