pandoc-crossref 0.1.5.3 → 0.1.5.4
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
README.md view
@@ -83,6 +83,8 @@ You can also use `autoSectionLabels` variable to automatically prepend all section labels (automatically generated with pandoc included) with "sec:". Bear in mind that references can't contain periods, commas etc, so some auto-generated labels will still be unusable. +WARNING: With LaTeX output, you have to invoke pandoc with `--number-sections`, otherwise section labels won't work. It's also advised with other output formats, since with no numbers in section titles, it would be hard to navigate anyway.+ ### Section reference labels ***Not currently supported with LaTeX output***
pandoc-crossref.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: pandoc-crossref-version: 0.1.5.3+version: 0.1.5.4 synopsis: Pandoc filter for cross-references description: pandoc-crossref is a pandoc filter for numbering figures, equations, tables and cross-references to them. license: GPL-2@@ -23,7 +23,7 @@ source-repository this type: git location: https://github.com/lierdakil/pandoc-crossref- tag: v0.1.5.3+ tag: v0.1.5.4 library exposed-modules: Text.Pandoc.CrossRef
src/Text/Pandoc/CrossRef/Util/ModifyMeta.hs view
@@ -64,10 +64,12 @@ , "\\crefname{table}" ++ prefix tblPrefix False , "\\crefname{equation}" ++ prefix eqnPrefix False , "\\crefname{listing}" ++ prefix lstPrefix False+ , "\\crefname{section}" ++ prefix secPrefix False , "\\Crefname{figure}" ++ prefix figPrefix True , "\\Crefname{table}" ++ prefix tblPrefix True , "\\Crefname{equation}" ++ prefix eqnPrefix True , "\\Crefname{listing}" ++ prefix lstPrefix True+ , "\\Crefname{section}" ++ prefix secPrefix True ] cleverefCodelisting = [ "\\makeatletter"