Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pandoc for openSUSE:Factory checked in at 2022-02-11 23:08:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pandoc (Old) and /work/SRC/openSUSE:Factory/.pandoc.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pandoc" Fri Feb 11 23:08:19 2022 rev:65 rq:953416 version:2.17.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes 2021-11-11 21:38:43.760989620 +0100 +++ /work/SRC/openSUSE:Factory/.pandoc.new.1956/pandoc.changes 2022-02-11 23:10:09.203075060 +0100 @@ -1,0 +2,832 @@ +Mon Jan 31 19:14:59 UTC 2022 - Peter Simons <[email protected]> + +- Update pandoc to version 2.17.1.1. + ## pandoc 2.17.1.1 (2022-01-31) + + * Fix regression in 2.17.1 which caused problems finding + default files in the default user data directory. (Reverts + the item "logic bug in `fullDefaultsPath`", which was + misguided.) + + * Sample custom writer: use single quotes for strings (#7487, + Albert Krewinkel). + + ## pandoc 2.17.1 (2022-01-30) + + * Support `pagedjs-cli` as pdf engine (#7838, Albert Krewinkel). + PagedJS is a polyfill and supports the Paged Media standards by the W3C. + <https://www.pagedjs.org/> + + * CommonMark reader: fix source position after YAML metadata (#7863). + + * LaTeX reader: + + + Remove retokenizing in `rawLaTeXParser`. + + Ensure that `\raggedright` doesn't gobble an argument (#7757). + + Improve `descItem`. For some reason we were skipping + arbitrary blocks before `\item`. This is now changed to "skip + whitespace and comments." + + Improve handling of `\newif`. Adding a pair of braces around the + second argument of `\def` prevents LaTeX from an emergency stop + on input like the following (#6096). + ``` + \newif\ifepub + \epubtrue + \ifepub + hi + \fi + ``` + + * Docx reader: Parse both Zotero citation and bibliography as + `FieldInfo` (#7840). + + * LaTeX writer: + + + Allow arbitrary frameoptions to be passed to a beamer + frame, using the frameoptions attribute (#7869). + + Add s and squeeze to recognized beamer frameoptions (#7869). + + * Markdown writer: handle explicit column widths with pipe tables (#7847). + If a table has explicit column width information *and* the content + extends beyond the `--columns` width, we need to adjust the + widths of the pipe separators to encode this width information. + + * Docx writer: Separate tables even with RawBlocks between (#7224, + Michael Hoffmann). Adjacent docx tables need to be separated by an + empty paragraph. If there's a RawBlock between tables which renders + to nothing, be sure to still insert the empty paragraph so that + they will not collapse together. + + * Man writer: use custom font V for inline code (#7506). + The V font is defined conditionally, so that it renders + like CB in output formats that support that, and like B + in those that don't (e.g. the terminal). + Aliases also defined for VI, VB, VBI. + + * Asciidoc writer: Support checklists in asciidoctor writer (#7832, + Nikolai Korobeinikov, ricnorr). The checklist syntax (similar to + `task_list` in markdown) seems to be an asciidoctor-only addition. + + * HTML writer: + + + Avoid duplicate "style" attributes on table cells (#7871). + + Don't break lines inside code elements. With the new (default) + line wrapping of HTML, in conjunction with the default CSS which + includes `code { whitespace: pre-wrap; }`, spurious line + breaks could be introduced into inline code (#7858). + + * Custom writer: preserve order of element attributes (#7489, Albert + Krewinkel). Attribute key-value pairs are marshaled as AttributeList, + i.e., as a userdata type that behaves both like a list and a map. This + allows to preserve the order of key-value pairs. + + * Switch to hslua-2.1 (Albert Krewinkel). This allows for some code + simplification and improves stability. + + * Don't read files outside of user data directory (Even Brenden). + If a file path does not exist relative to the working directory, and + it does exist relative to the user data directory, but outside of + of the user data directory, do not read it. This applies to + `readDataFile` and `readMetadataFile` in PandocMonad and, by + extension, any module that uses these by passing them relative paths. + + * Text.Pandoc.Class.`makeCanonical`: Correctly handle consecutive ".."s + at the beginning of a path (Even Brenden). Prior to this commit, + `../../file` would evaluate to `file`, when it should be unchanged. + + * Search for metadata files in `$DATADIR/metadata` (#7851, Even Brenden). + If files specified with `--metadata-file` are not found in the working + directory, look in `$DATADIR/metadata` (#5876). + + * Text.Pandoc.Class: export `readMetadataFile` [API change] (#5876). + + * Text.Pandoc.Error: export new `PandocCouldNotFindMetadataFileError` + constructor for `PandocError` [API change] (#5876). + + * Avoid putting a frame around speaker notes in beamer (#7857). + If speaker notes (a Div with class 'notes') occur right + after a section heading, but above slide level, the + resulting `\note{..}` caommand should not be wrapped in + a frame, as that will cause a spurious blank slide. + + * CSS in HTML template: adjust #TOC and h1 on mobile (#7835, Mauro Bieg). + + * Text.Pandoc.Readers.LaTeX.Parsing: don't export `totoks`. + Make the first param of `tokenize` a SourcePos instead of + SourceName, and use it instead of `totoks`. + + * Text.Pandoc.Shared: Modify `stringify` so it ignores `[Citation]` + inside `Cite` (#7855). Otherwise we'll sometimes get two copies of + things, one from the `citationPrefix` or `citationSuffix` and another + from the embedded fallback text. When there is no fallback text, + we'll get no content. However, it really isn't an alternative to just + rely on the result of running `query` on the embedded `Citation`s; + this will result in a jumble of text rather than anything structured. + + * Omit `--enable-doc` in the cabal haddock invocation in + `tools/build-and-upload-api-docs.sh`. + + * Text.Pandoc.App.Opt: fix logic bug in `fullDefaultsPath`. + Previously we would (also) search the default user data directory + for a defaults file, even if a different user data directory + was specified using `--data-dir`. This was a mistake; if + `--data-dir` is used, the default user data directory should + not be searched. + + * Text.Pandoc.Shared: `defaultUserDataDir` behavior change (#7842). + If the XDG data directory is not defined (e.g. because + it's not supported in the OS or HOME isn't defined), we + return the empty string instead of raising an exception. + + * Update command tests to distinguish stderr and test exit status. + + * MANUAL: add that speaker notes can be used with beamer (#7856). + + * Update `build-and-upload-api-docs.sh`. + + * Document `--trace` option. + Document `no-check-certificate` in defaults files. + Document 'sandbox' option for defaults files. (#7873). + + * Fix pattern syntax in sample readability custom reader. + + * doc/custom-readers.lua: add example for "readable HTML." + + * Fix message in man page about where code can be found. + + * `manfilter.lua`: remove extra indent in table cells with code blocks. + + * Fix lua-filters documentation for table column widths (#7864). + + * epub.doc: Update links to KindleGen (#7846, Benson Muite, Mauro Bieg). + KindleGen has been deprecated and we need to link to archived versions. + + * Use tables in defaults files documentation, so each + default option is paired with the corresponding command-line + option (Carsten Allefeld). + + * Use skylighting 0.12.2. + + * Add pandoc-lua-marshal to Nix shell (#7849, Even Brenden). + + ## pandoc 2.17.0.1 (2022-01-14) + + * Require pandoc-lua-marshal 0.1.3.1 (#7831, Albert Krewinkel). + Fixes a problem with `List.includes` and `List.find` that caused a + Lua stackoverflow and subsequent program crash. + + * HTML template: load header-includes before math (#7833, Kolen Cheung). + MathJax expect the config comes before loading the MathJax script. + This change of order allows one to config MathJax via + header-includes, which loads before the MathJax script. Cf. #2750. + + * When reading defaults file, stop at a line `...`. This line signals + the end of a YAML document. This restores the behavior we got with + HsYaml. yaml complains about content past this line. See + https://github.com/jgm/pandoc/issues/4627#issuecomment-1012438765 + + * Text.Pandoc.Citeproc: allow `notes-after-punctuation` to work with + numerical styles that use superscripts (e.g. + american-medical-association.csl), as well as with note styles. The + default setting of `notes-after-punctuation` is true for note styles + and false otherwise. This restores a behavior of pandoc-citeproc + that wasn't properly carried over to Citeproc (#7826, cf. + jgm/pandoc-citeproc#384). + + * Use commonmark-pandoc 0.2.1.2 (#7769). + ++++ 635 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/pandoc/pandoc.changes ++++ and /work/SRC/openSUSE:Factory/.pandoc.new.1956/pandoc.changes Old: ---- pandoc-2.16.1.tar.gz New: ---- pandoc-2.17.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pandoc.spec ++++++ --- /var/tmp/diff_new_pack.UlYscA/_old 2022-02-11 23:10:10.051077512 +0100 +++ /var/tmp/diff_new_pack.UlYscA/_new 2022-02-11 23:10:10.055077525 +0100 @@ -1,7 +1,7 @@ # # spec file for package pandoc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name pandoc %bcond_with tests Name: %{pkg_name} -Version: 2.16.1 +Version: 2.17.1.1 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later @@ -57,6 +57,7 @@ BuildRequires: ghc-file-embed-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-haddock-library-devel +BuildRequires: ghc-hslua-aeson-devel BuildRequires: ghc-hslua-devel BuildRequires: ghc-hslua-marshalling-devel BuildRequires: ghc-hslua-module-path-devel @@ -68,9 +69,11 @@ BuildRequires: ghc-http-types-devel BuildRequires: ghc-ipynb-devel BuildRequires: ghc-jira-wiki-markup-devel +BuildRequires: ghc-lpeg-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-network-uri-devel +BuildRequires: ghc-pandoc-lua-marshal-devel BuildRequires: ghc-pandoc-types-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-pretty-devel @@ -101,7 +104,6 @@ ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-Diff-devel -BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-golden-devel BuildRequires: ghc-tasty-hunit-devel @@ -111,24 +113,25 @@ %description Pandoc is a Haskell library for converting from one markup format to another, -and a command-line tool that uses this library. It can read several dialects of -Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS, -MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Jira markup, -Creole 1.0, Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb -(Jupyter notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man, -Textile, BibTeX, BibLaTeX, CSL JSON, , and CSV, and it can write Markdown, -reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, -OpenDocument, ODT, Word docx, PowerPoint pptx, RTF, MediaWiki, DokuWiki, XWiki, -ZimWiki, Textile, Jira, roff man, roff ms, plain text, Emacs Org-Mode, -AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML, -Muse, CSL JSON, 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 -format and produce a native representation of the document, and a set of -writers, which convert this native representation into a target format. -Thus, adding an input or output format requires only adding a reader or writer. +and a command-line tool that uses this library. The formats it can handle +include + +- light markup formats (many variants of Markdown, reStructuredText, AsciiDoc, +Org-mode, Muse, Textile, txt2tags) - HTML formats (HTML 4 and 5) - Ebook +formats (EPUB v2 and v3, FB2) - Documentation formats (GNU TexInfo, Haddock) - +Roff formats (man, ms) - TeX formats (LaTeX, ConTeXt) - XML formats (DocBook 4 +and 5, JATS, TEI Simple, OpenDocument) - Outline formats (OPML) - Bibliography +formats (BibTeX, BibLaTeX, CSL JSON, CSL YAML) - Word processor formats (Docx, +RTF, ODT) - Interactive notebook formats (Jupyter notebook ipynb) - Page layout +formats (InDesign ICML) - Wiki markup formats (MediaWiki, DokuWiki, TikiWiki, +TWiki, Vimwiki, XWiki, ZimWiki, Jira wiki, Creole) - Slide show formats (LaTeX +Beamer, PowerPoint, Slidy, reveal.js, Slideous, S5, DZSlides) - Data formats +(CSV tables) - PDF (via external programs such as pdflatex or wkhtmltopdf) + +Pandoc can convert mathematical content in documents between TeX, MathML, Word +equations, roff eqn, and plain text. It includes a powerful system for +automatic citations and bibliographies, and it can be customized extensively +using templates, filters, and custom readers and writers written in Lua. %package -n ghc-%{name} Summary: Haskell %{name} library @@ -157,7 +160,6 @@ %ghc_fix_rpath %{pkg_name}-%{version} # Link duplicate template files %fdupes %{buildroot}%{_datadir}/%{pkg_name}-%{version}/data/templates/ -install -D -m 644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 %check %cabal_test @@ -171,7 +173,6 @@ %files %license COPYING.md %doc AUTHORS.md README.md changelog.md -%{_mandir}/man1/%{name}.1%{?ext_man} %{_bindir}/%{name} %dir %{_datadir}/%{name}-%{version} %dir %{_datadir}/%{name}-%{version}/citeproc @@ -212,6 +213,7 @@ %{_datadir}/%{name}-%{version}/citeproc/biblatex-localization/*.lbx.strings %{_datadir}/%{name}-%{version}/data/abbreviations %{_datadir}/%{name}-%{version}/data/bash_completion.tpl +%{_datadir}/%{name}-%{version}/data/creole.lua %{_datadir}/%{name}-%{version}/data/default.csl %{_datadir}/%{name}-%{version}/data/docx/?Content_Types?.xml %{_datadir}/%{name}-%{version}/data/docx/_rels/.rels @@ -241,8 +243,6 @@ %{_datadir}/%{name}-%{version}/data/odt/mimetype %{_datadir}/%{name}-%{version}/data/odt/settings.xml %{_datadir}/%{name}-%{version}/data/odt/styles.xml -%{_datadir}/%{name}-%{version}/data/pandoc.List.lua -%{_datadir}/%{name}-%{version}/data/pandoc.lua %{_datadir}/%{name}-%{version}/data/pptx/?Content_Types?.xml %{_datadir}/%{name}-%{version}/data/pptx/_rels/.rels %{_datadir}/%{name}-%{version}/data/pptx/docProps/app.xml @@ -318,6 +318,7 @@ %{_datadir}/%{name}-%{version}/data/templates/default.latex %{_datadir}/%{name}-%{version}/data/templates/default.man %{_datadir}/%{name}-%{version}/data/templates/default.markdown +%{_datadir}/%{name}-%{version}/data/templates/default.markua %{_datadir}/%{name}-%{version}/data/templates/default.mediawiki %{_datadir}/%{name}-%{version}/data/templates/default.ms %{_datadir}/%{name}-%{version}/data/templates/default.muse ++++++ pandoc-2.16.1.tar.gz -> pandoc-2.17.1.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/pandoc/pandoc-2.16.1.tar.gz /work/SRC/openSUSE:Factory/.pandoc.new.1956/pandoc-2.17.1.1.tar.gz differ: char 17, line 1
