Hello community, here is the log from the commit of package pandoc for openSUSE:Factory checked in at 2018-11-09 07:53:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pandoc (Old) and /work/SRC/openSUSE:Factory/.pandoc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pandoc" Fri Nov 9 07:53:31 2018 rev:28 rq:646369 version:2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes 2018-10-25 08:19:50.987978267 +0200 +++ /work/SRC/openSUSE:Factory/.pandoc.new/pandoc.changes 2018-11-09 07:53:39.959762963 +0100 @@ -1,0 +2,485 @@ +Mon Nov 5 03:01:33 UTC 2018 - [email protected] + +- Update pandoc to version 2.4. + pandoc (2.4) + + [new features] + + * New input format `man` (Yan Pashkovsky, John MacFarlane). + + [behavior changes] + + * `--ascii` is now implemented in the writers, not in Text.Pandoc.App, + via the new `writerPreferAscii` field in `WriterOptions`. + Now the `write*` functions for Docbook, HTML, ICML, JATS, LaTeX, + Ms, Markdown, and OPML are sensitive to `writerPreferAscii`. + Previously the to-ascii translation was done in Text.Pandoc.App, + and thus not available to those using the writer functions + directly. + + * `--ascii` now works with Markdown output. HTML5 character reference + entities are used. + + * `--ascii` now works with LaTeX output. 100% ASCII output can't be + guaranteed, but the writer will use commands like `\"{a}` and `\l` + whenever possible, to avoid emiting a non-ASCII character. + + * For HTML5 output, `--ascii` now uses HTML5 character reference + entities rather than numerical entities. + + * Improved detection of format based on extension (in Text.Pandoc.App). + We now ensure that if someone tries to convert a file for a + format that has a pandoc writer but not a reader, it won't just + default to markdown. + + * Add viz. to abbreviations file (#5007, Nick Fleisher). + + * AsciiDoc writer: always use single-line section headers, + instead of the old underline style (#5038). Previously the single-line + style would be used if `--atx-headers` was specified, but + now it is always used. + + * RST writer: Use simple tables when possible (#4750). + + * CommonMark (and gfm) writer: Add plain text fallbacks. (#4528, + quasicomputational). Previously, the writer would unconditionally + emit HTML output for subscripts, superscripts, strikeouts (if the + strikeout extension is disabled) and small caps, even with + `raw_html` disabled. Now there are plain-text (and, where + possible, fancy Unicode) fallbacks for all of these corresponding + (mostly) to the Markdown fallbacks, and the HTML output is only + used when `raw_html` is enabled. + + * Powerpoint writer: support raw openxml (Jesse Rosenthal, #4976). + This allows raw openxml blocks and inlines to be used in the pptx + writer. Caveats: (1) It's up to the user to write + well-formed openxml. The chances for corruption, especially with + such a brittle format as pptx, is high. (2) Because of + the tricky way that blocks map onto shapes, if you are using + a raw block, it should be the only block on a slide + (otherwise other text might end up overlapping it). (3) The + pptx ooxml namespace abbreviations are different from the + docx ooxml namespaces. Again, it's up to the user to get it + right. Unzipped document and ooxml specification should be + consulted. + + * With `--katex` in HTML formats, do not use the autorenderer (#4946). + We no longer surround formulas with `\(..\)` or `\[..\]`. Instead, + we tell katex to convert the contents of span elements with + class "math". Since math has already been identified, this + avoids wasted time parsing for LaTeX delimiters. Note, however, + that this may yield unexpected results if you have span elements + with class "math" that don't contain LaTeX math. + Also, use latest version of KaTeX by default (0.9.0). + + * The man writer now produces ASCII-only output, using groff escapes, + for portability. + + * ODT writer: + + + Add title, author and date to metadata; any remaining + metadata fields are added as `meta:user-defined` tags. + + Implement table caption numbering (#4949, Nils Carlson). + Captioned tables are numbered and labeled with format "Table 1: + caption", where "Table" is replaced by a translation, depending + on the value of `lang` in metadata. Uncaptioned tables are not + enumerated. + + OpenDocument writer: Implement figure numbering in captions (#4944, + Nils Carlson). Figure captions are now numbered 1, 2, 3, ... + The format in the caption is "Figure 1: caption" and so on + (where "Figure" is replaced by a translation, depending on the + value of `lang` in the metadata). Captioned figures are numbered + consecutively and uncaptioned figures are not enumerated. This + is necessary in order for LibreOffice to generate an + Illustration Index (Table of Figures) for included figures. + + * RST reader: Pass through fields in unknown directives as div attributes + (#4715). Support `class` and `name` attributes for all directives. + + * Org reader: Add partial support for `#+EXCLUDE_TAGS` option. (#4284, + Brian Leung). Headers with the corresponding tags should not + appear in the output. + + * Log warnings about missing title attributes now include a + suggestion about how to fix the problem (#4909). + + * Lua filter changes (Albert Krewinkel): + + + Report traceback when an error occurs. A proper Lua traceback is + added if either loading of a file or execution of a filter + function fails. This should be of help to authors of Lua filters + who need to debug their code. + + + Allow access to pandoc state (#5015). Lua filters and custom + writers now have read-only access to most fields of pandoc's + internal state via the global variable `PANDOC_STATE`. + + + Push ListAttributes via constructor (Albert Krewinkel). + This ensures that ListAttributes, as present in OrderedList elements, + have additional accessors (viz. `start`, `style`, and `delimiter`). + + + Rename ReaderOptions fields, use snake_case. Snake case is used + in most variable names, using camelCase for these fields was an + oversight. A metatable is added to ensure that the old field + names remain functional. + + + Iterate over AST element fields when using `pairs`. This makes + it possible to iterate over all ield names of an AST element by + using a generic `for` loop with pairs`: + + for field_name, field_content in pairs(element) do + ... + end + + Raw table fields of AST elements should be considered an + implementation detail and might change in the future. Accessing + element properties should always happen through the fields + listed in the Lua filter docs. + + Note that the iterator currently excludes the `t`/`tag` field. + + + Ensure that MetaList elements behave like Lists. Methods usable + on Lists can also be used on MetaList objects. + + + Fix MetaList constructor (Albert Krewinkel). Passing a MetaList + object to the constructor `pandoc.MetaList` now returns the + passed list as a MetaList. This is consistent with the + constructor behavior when passed an (untagged) list. + + * Custom writers: Custom writers have access to the global variable + `PANDOC_DOCUMENT`(Albert Krewinkel, #4957). The variable contains + a userdata wrapper around the full pandoc AST and exposes two + fields, `meta` and `blocks`. The field content is only + marshaled on-demand, performance of scripts not accessing the + fields remains unaffected. + + [API changes] + + * Text.Pandoc.Options: add `writerPreferAscii` to `WriterOptions`. + + * Text.Pandoc.Shared: + + + Export `splitSentences`. This was previously duplicated in the Man and + Ms writers. + + Add `ToString` typeclass (Alexander Krotov). + + * New exported module Text.Pandoc.Filter (Albert Krewinkel). + + * Text.Pandoc.Parsing + + + Generalize `gridTableWith` to any `Char` Stream (Alexander Krotov). + + Generalize `readWithM` from `[Char]` to any `Char` Stream + that is a `ToString` instance (Alexander Krotov). + + * New exposed module Text.Pandoc.Filter (Albert Krewinkel). + + * Text.Pandoc.XML: add `toHtml5Entities`. + + * New exported module Text.Pandoc.Readers.Man (Yan Pashkovsky, John + MacFarlane). + + * Text.Pandoc.Writers.Shared + + + Add exported functions `toSuperscript` and + `toSubscript` (quasicomputational, #4528). + + Remove exported functions `metaValueToInlines`, + `metaValueToString`. Add new exported functions + `lookupMetaBool`, `lookupMetaBlocks`, `lookupMetaInlines`, + `lookupMetaString`. Use these whenever possible for uniformity + in writers (Mauro Bieg, #4907). (Note that + removed function `metaValueToInlines` was in previous + released versions.) + + Add `metaValueToString`. + + * Text.Pandoc.Lua + + + Expose more useful internals (Albert Krewinkel): + ++++ 288 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/pandoc/pandoc.changes ++++ and /work/SRC/openSUSE:Factory/.pandoc.new/pandoc.changes Old: ---- pandoc-2.3.1.tar.gz New: ---- pandoc-2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pandoc.spec ++++++ --- /var/tmp/diff_new_pack.hfVfF0/_old 2018-11-09 07:53:42.219760370 +0100 +++ /var/tmp/diff_new_pack.hfVfF0/_new 2018-11-09 07:53:42.247760338 +0100 @@ -19,7 +19,7 @@ %global pkg_name pandoc %bcond_with tests Name: %{pkg_name} -Version: 2.3.1 +Version: 2.4 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later @@ -74,6 +74,7 @@ BuildRequires: ghc-texmath-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel +BuildRequires: ghc-unicode-transforms-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel @@ -96,12 +97,13 @@ Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS, MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Vimwiki, Word Docx, ODT, EPUB, -FictionBook2, and Textile, and it can write Markdown, reStructuredText, XHTML, -HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, -RTF, MediaWiki, DokuWiki, ZimWiki, Textile, groff man, groff ms, plain text, -Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), FictionBook2, -InDesign ICML, Muse, LaTeX beamer slides, PowerPoint, and several kinds of -HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js). +FictionBook2, roff man, and Textile, and it can write Markdown, +reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, +OpenDocument, ODT, Word docx, PowerPoint pptx, RTF, MediaWiki, DokuWiki, +ZimWiki, Textile, roff man, roff ms, plain text, Emacs Org-Mode, AsciiDoc, +Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign ICML, Muse, LaTeX +beamer slides, and several kinds of HTML/JavaScript slide shows (S5, Slidy, +Slideous, DZSlides, reveal.js). In contrast to most existing tools for converting Markdown to HTML, pandoc has a modular design: it consists of a set of readers, which parse text in a given @@ -143,8 +145,6 @@ %prep %setup -q cp %{SOURCE10} . -cabal-tweak-dep-ver containers '< 0.6' '<1' -cabal-tweak-dep-ver haddock-library '< 1.7' '<2' %build %ghc_lib_build @@ -208,6 +208,7 @@ %{_datadir}/%{name}-%{version}/data/docx/_rels/.rels %{_datadir}/%{name}-%{version}/data/docx/docProps/app.xml %{_datadir}/%{name}-%{version}/data/docx/docProps/core.xml +%{_datadir}/%{name}-%{version}/data/docx/docProps/custom.xml %{_datadir}/%{name}-%{version}/data/docx/word/_rels/document.xml.rels %{_datadir}/%{name}-%{version}/data/docx/word/_rels/footnotes.xml.rels %{_datadir}/%{name}-%{version}/data/docx/word/comments.xml ++++++ pandoc-2.3.1.tar.gz -> pandoc-2.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/pandoc/pandoc-2.3.1.tar.gz /work/SRC/openSUSE:Factory/.pandoc.new/pandoc-2.4.tar.gz differ: char 10, line 1
