Hello community, here is the log from the commit of package pandoc for openSUSE:Factory checked in at 2019-04-28 20:14:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pandoc (Old) and /work/SRC/openSUSE:Factory/.pandoc.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pandoc" Sun Apr 28 20:14:12 2019 rev:35 rq:698566 version:2.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes 2019-03-19 09:59:49.908001195 +0100 +++ /work/SRC/openSUSE:Factory/.pandoc.new.5536/pandoc.changes 2019-04-28 20:14:16.434387884 +0200 @@ -1,0 +2,169 @@ +Sun Apr 7 02:02:52 UTC 2019 - psimons@suse.com + +- Update pandoc to version 2.7.2. + pandoc (2.7.2) + + * Add XWiki writer (#1800, Derek Chen-Becker). + Add `Text.Pandoc.Writers.XWiki`, exporting `writeXWiki` [API change]. + + * Dokuwiki Reader: parse single curly brace (#5416, Mauro Bieg). + + * Vimwiki reader: improve handling of internal links (#5414). + We no longer append `.html` to link targets, and we add a title + `wikilink`. This mirrors behavior of other wiki readers. Generally + the `.html` extension is not wanted. It may be important for output + to HTML in certain circumstances, but it can always be added using a + filter that matches on links with title `wikilink`. + + If your workflow requires the current behavior, here is a lua filter + that will add the `.html` extension: + + ```lua + function Link(el) + if el.title == 'wikilink' then + el.target = el.target .. ".html" + end + return el + end + ``` + * ipynb reader: + + + Use format `ipynb` for raw cell where no format given. + + Avoid introducing spurious `.0` on integers in metadata. + + * Markdown reader: fenced div takes priority over setext header. + + * HTML reader: read `data-foo` attribute into `foo` (#5392). + The HTML writer adds the `data-` prefix for HTML5 for nonstandard + attributes. But the attributes are represented in the AST without + the `data-` prefix, so we should strip this when reading HTML. + + * LaTeX reader: Improve autolink detection (#5340). + + * PowerPoint writer (Jesse Rosenthal): + + + Expand builtin reference doc to model all layouts. + The previous built-in reference doc had only title and content + layouts. Add in a section-header slide and a two-content slide, so + users can more easily modify it to build their own templates. + + Always open up in slide view. When editing a + template/reference-doc, the user might be in Master view, but when + producing a slide show, it is assumed that slide view will be + desired. + + Remove `handoutsMasterList` from template presentation.xml + + Fix numerous errors in templating (#5402). Previously, some templates + produced by Office 365 (MacOS) would not render with `--reference-doc` + correctly. We now apply correct shapes for content, and build + shape trees correctly. + + Make default placeholder type for template lookup. + + Apply speaker notes to metadata slide if applicable. + + Test for speaker notes after breaking header. + + Correctly handle notes after section-title header. + Previously, if notes came after a section-title header (ie, a level-1 + header in a slide-level=2 presentation), they would go on the next + slide. This keeps them on the slide with the header. + + Internal improvements. + + * ipynb writer: + + + Use format `ipynb` for raw cell where no format given. + According to nbformat docs, this is supposed to render in every + format. We don't do that, but we at least preserve it as a raw + block in markdown, so you can round-trip. + + Consolidate adjacent raw blocks. Sometimes pandoc creates two + HTML blocks, e.g. one for the open tag and one for a close tag. + If these aren't consolidated, only one will show up in output cell. + + Fixed carry-over of nbformat from metadata. + + Preserve `nbformat_minor` if it's given. This helps with round-tripping. + + * LaTeX writer: + + + Avoid inadvertently creating ?` or !` ligatures (#5407). + These are upside down ? and !, resp. + + Fix footnotes in table caption and cells (#5367). This fixes a + bug wherein footnotes appeared in the wrong order, and with + duplicate numbers, when in table captions and cells. + We now use regular `\footnote` commands, even in the table + caption and the minipages containing cells. Apparently + longtable knows how to handle this. + + * HTML writer: Don't add data- prefix to RDFa attributes (#5403). + + * JATS writer: Ensure that plain strings go inside `<pub-id>` tag (#5397). + + * Markdown writer: + + + Better rendering of numbers (#5398). If the number is integral, + we render it as an integral not a float. + + Proper rendering of empty map in YAML metadata (#5398). Should + be `{}`, not empty string. + + Properly escape attributes in Markdown writer (#5369). + + Be sure implicit figures work in list contexts (#5368). + Previously they would sometimes not work: e.g., when they + occured in final paragraphs in lists that were originally + parsed as Plain and converted later using PlainToPara. + + * Docx writer: Use `w:br` without attributes for line breaks (#5377). + We previously added the attribute `type="textWrapping"`, but + this causes problems on Word Online. + + * LaTeX template (Andrew Dunning): + + + Ensure correct heading/table order (#5365). Improve workaround + (#1658) for tables following headings. The new solution works whether + or not the `indent` variable is enabled. + + Remove `subparagraph` variable. The default is now to use run-in + style for level 4 and 5 headings (`\paragraph` and `\subparagraph`). + To get the previous default behavior (where these were formatted as + blocks, like `\subsubsection`), set the `block-headings` variable. + + Add pandoc to PDF metadata (#5388). + + Group graphics-related code (#5389). + + Move `\setstretch` after front matter (#5179). Ensures that + `\maketitle`, `\tableofcontents`, and so forth are not affected by + changes to line spacing. + + * Update data/jats.csl to avoid commas between name-part elements + (#5397). + + * Add support for golang (`go`) with `--listings` (#5427). + + * Text.Pandoc.Shared - improve `metaToJSON` behavior with numbers. + We now do a better job marshalling numbers from MetaString + or MetaInlines into JSON Number. + + * Text.Pandoc.Writers.Shared: `metaValueToJSON`: use Number Values for + integers. Pandoc's MetaValue doesn't have a distinguished number type, + so numbers are put in MetaStrings. If the MetaString consists + entirely of digits, we convert it to a Number. We should probably + consider adding a MetaNumber constructor to MetaValue, for better + round-tripping with JSON etc. This change aids round-tripping in + ipynb metadata fields, like `toc_depth`. + + * Text.Pandoc.Class: `fetchItem`: don't treat UNC paths as + protocol-relative URLs (#5127). These are paths beginning `//?/UNC/...`. + + * Text.Pandoc.ImageSize: Improve `pdfSize` so it handles + a wider range of PDFs (#4322, with help from Richard Davis). + + * Text.Pandoc.Pretty: avoid stack overflow by using strict sum (#5401). + + * Fix harmless error in file-scope code (#5422). + + * MANUAL.txt: + + + Improve 'header' and 'heading' usage (#5423, Andrew + Dunning). The term 'header' was being used where 'heading' + is more appropriate. + + Add paragraph on options affecting markdown in ipynb. + + * stack.yaml - remove -Wmissing-home-modules + This seems to cause problems with stack ghci. Remove RTS options. + + * Add ghc-options to cabal.project. + + * appveyor.yml - use ghc 8.6.4. Fixes segfault issues on Windows (#5037). + + * linux build process: Remove clone of pandoc-citeproc (#5366). + It wasn't being used; cabal.project specifies the version to use. + +------------------------------------------------------------------- Old: ---- pandoc-2.7.1.tar.gz New: ---- pandoc-2.7.2.tar.gz pandoc.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pandoc.spec ++++++ --- /var/tmp/diff_new_pack.nFjVAg/_old 2019-04-28 20:14:17.282387357 +0200 +++ /var/tmp/diff_new_pack.nFjVAg/_new 2019-04-28 20:14:17.286387355 +0200 @@ -19,13 +19,14 @@ %global pkg_name pandoc %bcond_with tests Name: %{pkg_name} -Version: 2.7.1 +Version: 2.7.2 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later Group: Productivity/Publishing/Other URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/3.cabal#/%{name}.cabal Source10: pandoc-pdf.readme BuildRequires: chrpath BuildRequires: fdupes @@ -37,6 +38,7 @@ BuildRequires: ghc-SHA-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-pretty-devel +BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base64-bytestring-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-blaze-html-devel @@ -67,6 +69,7 @@ BuildRequires: ghc-random-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-safe-devel +BuildRequires: ghc-scientific-devel BuildRequires: ghc-skylighting-devel BuildRequires: ghc-split-devel BuildRequires: ghc-syb-devel @@ -101,10 +104,10 @@ notebooks), Vimwiki, Word Docx, ODT, EPUB, 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), ipynb, FictionBook2, -InDesign ICML, Muse, LaTeX beamer slides, and several kinds of HTML/JavaScript -slide shows (S5, Slidy, Slideous, DZSlides, reveal.js). +MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, roff man, roff ms, plain text, +Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb, +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 @@ -145,6 +148,7 @@ %prep %setup -q +cp -p %{SOURCE1} %{name}.cabal cp %{SOURCE10} . %build @@ -276,8 +280,12 @@ %{_datadir}/%{name}-%{version}/data/pptx/ppt/slideMasters/slideMaster1.xml %{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/_rels/slide1.xml.rels %{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/_rels/slide2.xml.rels +%{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/_rels/slide3.xml.rels +%{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/_rels/slide4.xml.rels %{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/slide1.xml %{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/slide2.xml +%{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/slide3.xml +%{_datadir}/%{name}-%{version}/data/pptx/ppt/slides/slide4.xml %{_datadir}/%{name}-%{version}/data/pptx/ppt/tableStyles.xml %{_datadir}/%{name}-%{version}/data/pptx/ppt/theme/theme1.xml %{_datadir}/%{name}-%{version}/data/pptx/ppt/theme/theme2.xml @@ -317,6 +325,7 @@ %{_datadir}/%{name}-%{version}/data/templates/default.tei %{_datadir}/%{name}-%{version}/data/templates/default.texinfo %{_datadir}/%{name}-%{version}/data/templates/default.textile +%{_datadir}/%{name}-%{version}/data/templates/default.xwiki %{_datadir}/%{name}-%{version}/data/templates/default.zimwiki %{_datadir}/%{name}-%{version}/data/translations/*.yaml %{_mandir}/man1/pandoc.1%{?ext_man} ++++++ pandoc-2.7.1.tar.gz -> pandoc-2.7.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/pandoc/pandoc-2.7.1.tar.gz /work/SRC/openSUSE:Factory/.pandoc.new.5536/pandoc-2.7.2.tar.gz differ: char 13, line 1 ++++++ pandoc.cabal ++++++ ++++ 770 lines (skipped)