commit pandoc for openSUSE:Factory
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-08-01 21:31:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pandoc (Old) and /work/SRC/openSUSE:Factory/.pandoc.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pandoc" Mon Aug 1 21:31:05 2022 rev:67 rq:987127 version:2.18 Changes: -------- --- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes 2022-04-30 00:46:25.658997699 +0200 +++ /work/SRC/openSUSE:Factory/.pandoc.new.1533/pandoc.changes 2022-08-01 21:31:47.885897308 +0200 @@ -2 +2 @@ -Sun Mar 20 17:18:29 UTC 2022 - K��vin Le Gouguec <kevin.legouguec@gmail.com> +Mon Apr 4 18:03:11 UTC 2022 - Peter Simons <psimons@suse.com> @@ -4 +4,355 @@ -- Include manpage in distribution. +- Update pandoc to version 2.18. + ## pandoc 2.18 (2022-04-22) + + * New input formats: `endnotexml` (EndNote XML bibliography), + `ris` (RIS bibliography). + + * A RIS bibliography file may now be used with `--citeproc`. + + * Citeproc: Allow a formatted bibliography to be placed in metadata fields + via a Div with class `refs` (#7969, #526). Thus, one can include a + metadata field, say `refs`, whose content is an + empty div with id `refs`, and the formatted bibliography will be put into + this metadata field. It may then be interpolated into a template using the + variable `refs`. + + * Ensure that you don't get PDF output to terminal. `-t pdf` now behaves + like `-t docx` and gives an error unless the output is redirected. + + * `--version` now prints hslua version (#7929) and + Lua version (#7997, Albert Krewinkel). + + * Change `--metadata-file` parsing so that, when the input format is not + markdown or a markdown variant, pandoc's markdown is used (#6832, #7926). + When the input format is a markdown variant, the same format is used. + Reason for the change: it doesn't make sense to run the markdown parser + with a set of extensions designed for a non-markdown format, and + this dramatically limits what people can do in metadata files. + + * Trim whitespace from math in `--webtex` (#7892). + This fixes problems with --webtex and markdown output, + when display math starts or ends with a newline. + + * New exported module Text.Pandoc.Readers.EndNote, exporting + `readEndNoteXML`, `readEndNoteXMLCitation`, + and `readEndNoteXMLReferences`. [API change] + + * `--self-contained`: issue warning rather than failing with an error + if a resource can't be found (#7904). + + * New exported module, Text.Pandoc.Readers.RIS, exporting `readRIS` (#7894). + + * LaTeX reader: + + + Handle subequations as inline math environment (#7883). + + Rudimentary support for `vbox` (#7939). + + Support `\today` (#7905). + + Handle `\label` and `\ref` for footnotes (#7930). + + Allow inline groups starting with `\bgroup` (#7953). + + Use custom TokStream that keeps track of whether macros are expanded. + This allows us to improve performance a bit by avoiding unnecessary + runs of the macro expansion code (e.g. from 24 ms to 20 ms on + our standard benchmark). + + Further optimizations for inline parsing. + + Better handling of `\usepackage`. If the package is local but + causes parse errors, parse everything up to the error and skip the + rest. Issue a `CouldNotParseIncludeFile` warning indicating that + parsing failed at that point. + + Text.Pandoc.Readers.LaTeX.Parsing: Monoid and Semigroup instances for + TokStream. + + * HTML reader: + + + Give warnings and emit empty note when parsing + `<a epub:type="noteref">` and the identifier + doesn't correspond to anything in the note table (#7884). + Previously we just silently skipped these cases. + + Fix parsing of epub footnotes (#7884). + + * DocBook reader: + + + Handle complete set of entities as specified at + <https://www.w3.org/2003/entities/2007doc/byalpha.html> (#7938). + + Handle abstract in info section (#7747). + + Improve info parsing. + + Simplify metadata parsing code (#7747). + Handle abstract as block-level content. + Report skipped info elements with `--verbose`. + + Handle address and coyright in metadata (#7747). + + * DokuWiki reader: + + + Add DokuWiki table alignment (#5202, damon-sava-stanley). + + * RST reader: + + + Fix treatment of headerless simple tables (#7902). + + Wrap math in Span to preserve attributes (#7998, Albert Krewinkel). + Math elements with a name, classes, or other fields are wrapped in a + `Span` with these attributes. + + * JATS reader: + + + Improve handling of fn-group elements (#6348, Albert Krewinkel). + Footnotes in `<fn-group>` elements are collected and re-inserted into + the document as proper footnotes in the place where they are referenced. + + Handle `pub-date` (#8000). + + Support PMID, DOI, issue in citations (#7995). + + Improve refs parsing. Handle `issn` and `isbn`; use simpler form + for issued date. + + Strip 'ref-' from ref id in constructing CSL id. This allows better + round-tripping, because the JATS writer adds the `ref-` prefix to + the citation id to get the ref element's id. + + * Org reader: + + + Allow ":" in property drawer keys (Lucas V. R). + Any non-space character is allowed as property drawer key, including ":" + itself (so it is not really a delimiter). The real delimiter is a space + character, so in a drawer like + ``` + :PROPERTIES: + ::k:ey:: value + :END: + ``` + ":k:ey:" is a key with value "value". + + + Allow comments above property drawer. + + More flexible LaTeX environments (Lucas V. R). + + Handle `#+bibliography:` as metadata so that it can work with + `--citeproc`. + + Parse `#+print_bibliography:` as Div with id `refs`. + + Allow multiple `#+bibliography:`. + + * Markdown reader: + + + Allow one-column pipe tables with pipe on right (#7919). + + Remove restriction on identifiers, so they no longer need to + begin with a letter (#7920). + + * Docx reader: + + + Enable `citations` extension for docx reader (#7840). + When enabled, Zotero, Mendeley, and EndNote citations embedded in + a docx are parsed as native pandoc citations. + (When disabled, the generated citation + text and bibliography are passed through as regular text.) + The bibliography generated by the plugin is suppressed. + Instead, bibliographic data embedded in citation items is added + to the `references` metadata field so that it can be used + with `--citeproc`. + + * Docbook writer: + + + Interpret links without contents as cross-references (#7360, Jan Tojnar). + Links without text contents are converted to `<xref>` elements. DocBook + processors will generate appropriate cross-reference text when presented + with an xref element. + + * Docx writer: + + + Single numbering ID for examples (#7895, mjfs). + This change ensures that example list items all belong to a single + number sequence, so that if items are added or deleted in a word + processor, the other items will renumber automatically. + + Add bookmark with table id to table (#7989, Nikolai + Korobeinikov, #7285). This allows tables with ids to be linked to. + + * Ipynb writer: + + + Handle metadata better (#7928). Previously we used the markdown + writer to render metadata. This had some undesirable consequences + (e.g. en dash expanded to `--` when `smart` enabled), so now we use + the plain writer. + + * LaTeX writer: + + + Avoid extra space before `\CSLRightInline` (#7932). + + Add `scrreport` to `chaptersClasses` (#6168, ivardb). + + Support `page`,`trim`,`clip` attributes on images (#7181). + + Add `()` after booktabs rules (#8001). These commands take optional + arguments with () and [], which can lead to problems if the content + of the table cell begins with these characters. + + * RST writer: + + + Support all standard metadata ("bibliographic") fields. + + * HTML writer: performance improvements. + + * Org writer: + + + Stop indenting property drawers, quote blocks + (#3245, Albert Krewinkel). This follows the current default org-mode + behavior. + + * Markdown writer: + + + Move table-related code into submodule (Albert Krewinkel). + + Don't produce redundant header identifier when the + `gfm_auto_identifiers` extension is set (#7941). + + Update escaping rules for `\`. We now escape `\` only if `raw_tex` + is enabled or it is followed by a non-alphanumeric. + ++++ 162 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/pandoc/pandoc.changes ++++ and /work/SRC/openSUSE:Factory/.pandoc.new.1533/pandoc.changes Old: ---- pandoc-2.17.1.1.tar.gz New: ---- pandoc-2.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pandoc.spec ++++++ --- /var/tmp/diff_new_pack.hHvMsz/_old 2022-08-01 21:31:48.593899339 +0200 +++ /var/tmp/diff_new_pack.hHvMsz/_new 2022-08-01 21:31:48.605899373 +0200 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package pandoc # # Copyright (c) 2022 SUSE LLC # @@ -19,7 +19,7 @@ %global pkg_name pandoc %bcond_with tests Name: %{pkg_name} -Version: 2.17.1.1 +Version: 2.18 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later @@ -57,9 +57,8 @@ 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-doclayout-devel BuildRequires: ghc-hslua-module-path-devel BuildRequires: ghc-hslua-module-system-devel BuildRequires: ghc-hslua-module-text-devel @@ -98,6 +97,7 @@ BuildRequires: ghc-unix-devel BuildRequires: ghc-xml-conduit-devel BuildRequires: ghc-xml-devel +BuildRequires: ghc-xml-types-devel BuildRequires: ghc-yaml-devel BuildRequires: ghc-zip-archive-devel BuildRequires: ghc-zlib-devel @@ -144,7 +144,7 @@ Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} -Requires(postun):ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. @@ -160,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 @@ -174,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 @@ -217,6 +215,7 @@ %{_datadir}/%{name}-%{version}/data/bash_completion.tpl %{_datadir}/%{name}-%{version}/data/creole.lua %{_datadir}/%{name}-%{version}/data/default.csl +%{_datadir}/%{name}-%{version}/data/docbook-entities.txt %{_datadir}/%{name}-%{version}/data/docx/?Content_Types?.xml %{_datadir}/%{name}-%{version}/data/docx/_rels/.rels %{_datadir}/%{name}-%{version}/data/docx/docProps/app.xml ++++++ pandoc-2.17.1.1.tar.gz -> pandoc-2.18.tar.gz ++++++ /work/SRC/openSUSE:Factory/pandoc/pandoc-2.17.1.1.tar.gz /work/SRC/openSUSE:Factory/.pandoc.new.1533/pandoc-2.18.tar.gz differ: char 15, line 1
participants (1)
-
Source-Sync