Changelog History
Page 1
-
v0.4.0.0 Changes
December 14, 2019pandoc-crossref v0.4.0.0 git commit 0d0dca2 (HEAD) built with Pandoc v2.9, pandoc-types v1.20 and GHC 8.6.5
-
v0.3.13.0 Changes
Main changes
More flexible equation templates
See the documentation.
NOTICE: Breaking change. If you're using
equationNumberTeX
, noweqnIndexTemplate
gets applied to the index. Besides, the special handling ofqquad
is removed. TL;DR: if usingequationNumberTeX
, addeqnIndexTemplate: $$i$$
to your metadata.Also note that the default behaviour is changed slightly, curly braces are added around the equation index. This shouldn't affect the rendered result, but if you need to restore the old behaviour, set
eqnInlineTemplate
as follows:eqnInlineTemplate: $$e$$$$equationNumberTeX$$ $$i$$
Bump minimal pandoc version to 2.18
Pandoc 2.18 changed some formatting, so tests are only compatible with pandoc 2.18, hence the version bump. In a pinch, you can build with older pandoc by using cabal's/stack's
--allow-newer
flag.
๐ง Genreal Maintenance
- Vendor (modified) roman-numerals library
- โก๏ธ Update tests for pandoc 5f0bfd41 (hseg, PR 348)
- Complete purge of pandoc-citeproc references (gesh, PR #302)
-
v0.3.12.2 Changes
Make section numbering more consistent with pandoc
If the first heading in your document is level 2 or more, pandoc will assign index
0
to the implicit sections. Pandoc-crossref, on the other hand, assinged index1
to these sections previously. This could lead to an off-by-one discrepancy between section and reference indices when using pandoc's--number-sections
.This behaviour is now aligned with pandoc, i.e. missing top-level sections will get index of
0
.The old behaviour is kept when using pandoc-crossref's
numberSections
, for backwards compatibility and also because having references start with0
is rather impractical to begin with.
-
v0.3.12.1 Changes
- Fix docx tableEqns
-
v0.3.12.0 Changes
- Switch from data-accessor to microlens
-
v0.3.11.0 Changes
- Add equationNumberTeX option
- Add title variable to refIndexTemplate; make refIndexTemplate per-prefix
- โก๏ธ Update to pandoc 2.14
- โก๏ธ Docs updates for --citeproc
-
v0.3.10.0 Changes
- [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 setslabel
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 (whennumberSections
is enabled)
-
v0.3.9.1 Changes
- [CI] Bump pandoc version
- [Stack] Bump versions in stack.yaml
- โก๏ธ [LaTeX][Tests] Update tests for subfigures
- โก๏ธ [LaTeX][Tests] Update tests for pandoc 2.11.4
- ๐ [LaTeX] Remove footnotes from "short" subfigure caption (used for lof)
- [LaTeX] An attempt at fixing footnotes inside subfigure env
๐ Note that this is a fix-release, but it includes some rather drastic changes to the way subfigures are handled in LaTeX output. Couldn't fix the issue ๐ otherwise. See https://github.com/lierdakil/pandoc-crossref/issues/292 for context and some additional pointers.
-
v0.3.9.0 Changes
๐ New features
- Add header multilevel templates and secLevelLabels
- Add lowercase roman custom numbering
๐ Fixes
- Label precedence fix: label attr > secLevelLabels > xLabels
Misc
- โก๏ธ Update LaTeX tests for pandoc 2.11.3.1
- โก๏ธ Update docs
- ๐ Relax bound on optparse-applicative
-
v0.3.8.4 Changes
November 21, 2020๐ง Linux: pandoc-crossref v0.3.8.4 git commit ec2d4bc (HEAD) built with Pandoc v2.11.2, pandoc-types v1.22 and GHC 8.10.2
๐ Windows: pandoc-crossref v0.3.8.4 git commit ec2d4bc (HEAD) built with Pandoc v2.11.2, pandoc-types v1.22 and GHC 8.10.2
๐ macOS: pandoc-crossref v0.3.8.4 git commit ec2d4bc (HEAD) built with Pandoc v2.11.2, pandoc-types v1.22 and GHC 8.10.2๐ Changelog
- [Fix] secLabels
- [ManData] Generate table of contents in embedded html; filter out kramdown toc marker
- ๐ [Docs] Add toc to gh-pages