git.iko.soy/typeable/pandoc
on master help sign in
Update changelog, AUTHORS.
39c08b8John MacFarlane
AUTHORS.md+3−1
@@ -39,6 +39,7 @@
39- Carlos Sosa
39- Carlos Sosa
40- Chris Black
40- Chris Black
41- Christian Conkle
41- Christian Conkle
42+- Christian Despres
42- Christoffer Ackelman
43- Christoffer Ackelman
43- Christoffer Sawicki
44- Christoffer Sawicki
44- Clare Macrae
45- Clare Macrae
@@ -67,7 +68,7 @@
67- Étienne Bersac
68- Étienne Bersac
68- Felix Yan
69- Felix Yan
69- Félix Baylac-Jacqué
70- Félix Baylac-Jacqué
70−- Florian B
71+- Florian Beeres
71- Florian Eitel
72- Florian Eitel
72- Florian Klink
73- Florian Klink
73- Francesco Occhipinti
74- Francesco Occhipinti
@@ -243,6 +244,7 @@
243- ebiim
244- ebiim
244- iandol
245- iandol
245- infinity0x
246- infinity0x
247+- jeongminkim-islab
246- kaizshang91
248- kaizshang91
247- lux-lth
249- lux-lth
248- lwolfsonkin
250- lwolfsonkin
changelog.md+84−3
@@ -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.
81
81
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`.
85+
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`).
92+
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.
83
94
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
89
100
101+ * Switch to new pandoc-types and use Text instead of String [API change].
102+ (Christian Despres, #5884).
103+
90 * HTML reader:
104 * HTML reader:
91
105
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).
103
119
104
120
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).
161
178
162 * MediaWiki reader:
179 * MediaWiki reader:
163
180
@@ -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`.
183
202
184 * Markdown writer:
203 * Markdown writer:
185
204
@@ -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
328+ of the first.
329+ + Ensure there's a blank line before tables (#5898).
302
330
303 * Dokuwiki writer:
331 * Dokuwiki writer:
304
332
@@ -404,6 +432,10 @@
404
432
405 * Text.Pandoc.Parsing:
433 * Text.Pandoc.Parsing:
406
434
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.)
415
449
416 * Text.Pandoc.PDF:
450 * Text.Pandoc.PDF:
417
451
@@ -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
567+ super/subscripts.
568+ + Use `take1WhileP` for `str`, table row. This yields a small but
569+ measurable performance improvement.
570+
528
571
529 * LaTeX reader:
572 * LaTeX reader:
530
573
@@ -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).
591
636
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).
612
658
613 * Text.Pandoc.Options
659 * Text.Pandoc.Options
614
660
@@ -626,6 +672,10 @@
626 * Text.Pandoc.Filters:
672 * Text.Pandoc.Filters:
627
673
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.
629
679
630 * Text.Pandoc.XML:
680 * Text.Pandoc.XML:
631
681
@@ -636,6 +686,11 @@
636
686
637 + Add additional listings languages (Wandmalfarbe).
687 + Add additional listings languages (Wandmalfarbe).
638
688
689+ * Text.Pandoc.MediaBag:
690+
691+ + Some of the types using Strings were switched to use FilePath instead
692+ (Christian Despres, #5884).
693+
639 * Text.Pandoc.Templates:
694 * Text.Pandoc.Templates:
640
695
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).
672
734
673 * Template changes:
735 * Template changes:
674
736
@@ -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.
692
757
758+ * reference.docx (#5820):
759+
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
762+ left and right.
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.
768+
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.
695
771
@@ -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.
772
849
773 * INSTALL.md:
850 * INSTALL.md:
774
851
@@ -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).
782
859
860+ * Fix typos in changelog and comments (#5896, Brian Wignall).
861+
783 * doc/lua-filters.md:
862 * doc/lua-filters.md:
784
863
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,
867+ #5892).
787
868
788## pandoc 2.7.3 (2019-06-11)
869## pandoc 2.7.3 (2019-06-11)
789
870