Skip to content

v0.3.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Mar 05:37
· 193 commits to master since this release

Linux: pandoc-crossref v0.3.10.0 git commit cd4d134 (HEAD) built with Pandoc v2.12, pandoc-types v1.22 and GHC 8.10.4
Windows: pandoc-crossref v0.3.10.0 git commit cd4d134 (HEAD) built with Pandoc v2.12, pandoc-types v1.22 and GHC 8.10.4
macOS: pandoc-crossref v0.3.10.0 git commit cd4d134 (HEAD) built with Pandoc v2.12, pandoc-types v1.22 and GHC 8.10.4

Changelog

  • [Fix] Avoid expensive set difference, use filter

  • [Tweak] For div-wrapped listings merge attributes and classes

    Previously, classes and attributes on the wrapping div were ignored. Now, those are merged with classes and attributes on the listing.

  • [Feat] Add option to set label attributes to actual numbering used

    New option setLabelAttribute which sets label attribute on sections, figures, etc to actual number used for referencing. This can be useful for post-processing.

  • [Fix] Omit empty section/item labels

    Objects (sections, figures) can have empty labels (i.e. no number). Previously, if those labels were referenced (particularly with chapters enabled) this would create references like fig 1..2. Now these labels are omitted. It can lead to duplicate numbers in references though.

  • [Fix] Chapter delimiter in section numbers should be chapDelim (was '.')

    chapDelim now observed in section numbers (when numberSections is enabled)