pandoc-crossref 0.3.4.1 → 0.3.4.2
raw patch · 5 files changed
+25/−12 lines, 5 filesdep ~optparse-applicativePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: optparse-applicative
API changes (from Hackage documentation)
- Text.Pandoc.CrossRef: eqnLabels :: forall a_azSx. ToMetaValue a_azSx => a_azSx -> Meta
+ Text.Pandoc.CrossRef: eqLabels :: forall a_aA8u. ToMetaValue a_aA8u => a_aA8u -> Meta
- Text.Pandoc.CrossRef: autoEqnLabels :: forall a_aztR. ToMetaValue a_aztR => a_aztR -> Meta
+ Text.Pandoc.CrossRef: autoEqnLabels :: forall a_azJO. ToMetaValue a_azJO => a_azJO -> Meta
- Text.Pandoc.CrossRef: autoSectionLabels :: forall a_azti. ToMetaValue a_azti => a_azti -> Meta
+ Text.Pandoc.CrossRef: autoSectionLabels :: forall a_azJf. ToMetaValue a_azJf => a_azJf -> Meta
- Text.Pandoc.CrossRef: ccsDelim :: forall a_aztO. ToMetaValue a_aztO => a_aztO -> Meta
+ Text.Pandoc.CrossRef: ccsDelim :: forall a_azJL. ToMetaValue a_azJL => a_azJL -> Meta
- Text.Pandoc.CrossRef: ccsLabelSep :: forall a_aztP. ToMetaValue a_aztP => a_aztP -> Meta
+ Text.Pandoc.CrossRef: ccsLabelSep :: forall a_azJM. ToMetaValue a_azJM => a_azJM -> Meta
- Text.Pandoc.CrossRef: ccsTemplate :: forall a_aztK. ToMetaValue a_aztK => a_aztK -> Meta
+ Text.Pandoc.CrossRef: ccsTemplate :: forall a_azJH. ToMetaValue a_azJH => a_azJH -> Meta
- Text.Pandoc.CrossRef: chapDelim :: forall a_azty. ToMetaValue a_azty => a_azty -> Meta
+ Text.Pandoc.CrossRef: chapDelim :: forall a_azJv. ToMetaValue a_azJv => a_azJv -> Meta
- Text.Pandoc.CrossRef: chapters :: forall a_azSv. ToMetaValue a_azSv => a_azSv -> Meta
+ Text.Pandoc.CrossRef: chapters :: forall a_aA8s. ToMetaValue a_aA8s => a_aA8s -> Meta
- Text.Pandoc.CrossRef: chaptersDepth :: forall a_aztf. ToMetaValue a_aztf => a_aztf -> Meta
+ Text.Pandoc.CrossRef: chaptersDepth :: forall a_azJc. ToMetaValue a_azJc => a_azJc -> Meta
- Text.Pandoc.CrossRef: codeBlockCaptions :: forall a_azth. ToMetaValue a_azth => a_azth -> Meta
+ Text.Pandoc.CrossRef: codeBlockCaptions :: forall a_azJe. ToMetaValue a_azJe => a_azJe -> Meta
- Text.Pandoc.CrossRef: cref :: forall a_azte. ToMetaValue a_azte => a_azte -> Meta
+ Text.Pandoc.CrossRef: cref :: forall a_azJb. ToMetaValue a_azJb => a_azJb -> Meta
- Text.Pandoc.CrossRef: crossrefYaml :: forall a_azSt. ToMetaValue a_azSt => a_azSt -> Meta
+ Text.Pandoc.CrossRef: crossrefYaml :: forall a_aA8q. ToMetaValue a_aA8q => a_aA8q -> Meta
- Text.Pandoc.CrossRef: customLabel :: forall a_aztN. ToMetaValue a_aztN => a_aztN -> Meta
+ Text.Pandoc.CrossRef: customLabel :: forall a_azJK. ToMetaValue a_azJK => a_azJK -> Meta
- Text.Pandoc.CrossRef: eqnPrefix :: forall a_aztm. ToMetaValue a_aztm => a_aztm -> Meta
+ Text.Pandoc.CrossRef: eqnPrefix :: forall a_azJj. ToMetaValue a_azJj => a_azJj -> Meta
- Text.Pandoc.CrossRef: eqnPrefixTemplate :: forall a_aztr. ToMetaValue a_aztr => a_aztr -> Meta
+ Text.Pandoc.CrossRef: eqnPrefixTemplate :: forall a_azJo. ToMetaValue a_azJo => a_azJo -> Meta
- Text.Pandoc.CrossRef: figLabels :: forall a_azSw. ToMetaValue a_azSw => a_azSw -> Meta
+ Text.Pandoc.CrossRef: figLabels :: forall a_aA8t. ToMetaValue a_aA8t => a_aA8t -> Meta
- Text.Pandoc.CrossRef: figPrefix :: forall a_aztl. ToMetaValue a_aztl => a_aztl -> Meta
+ Text.Pandoc.CrossRef: figPrefix :: forall a_azJi. ToMetaValue a_azJi => a_azJi -> Meta
- Text.Pandoc.CrossRef: figPrefixTemplate :: forall a_aztq. ToMetaValue a_aztq => a_aztq -> Meta
+ Text.Pandoc.CrossRef: figPrefixTemplate :: forall a_azJn. ToMetaValue a_azJn => a_azJn -> Meta
- Text.Pandoc.CrossRef: figureTemplate :: forall a_aztH. ToMetaValue a_aztH => a_aztH -> Meta
+ Text.Pandoc.CrossRef: figureTemplate :: forall a_azJE. ToMetaValue a_azJE => a_azJE -> Meta
- Text.Pandoc.CrossRef: figureTitle :: forall a_azSp. ToMetaValue a_azSp => a_azSp -> Meta
+ Text.Pandoc.CrossRef: figureTitle :: forall a_aA8m. ToMetaValue a_aA8m => a_aA8m -> Meta
- Text.Pandoc.CrossRef: lastDelim :: forall a_aztB. ToMetaValue a_aztB => a_aztB -> Meta
+ Text.Pandoc.CrossRef: lastDelim :: forall a_azJy. ToMetaValue a_azJy => a_azJy -> Meta
- Text.Pandoc.CrossRef: linkReferences :: forall a_aztT. ToMetaValue a_aztT => a_aztT -> Meta
+ Text.Pandoc.CrossRef: linkReferences :: forall a_azJQ. ToMetaValue a_azJQ => a_azJQ -> Meta
- Text.Pandoc.CrossRef: listingTemplate :: forall a_aztM. ToMetaValue a_aztM => a_aztM -> Meta
+ Text.Pandoc.CrossRef: listingTemplate :: forall a_azJJ. ToMetaValue a_azJJ => a_azJJ -> Meta
- Text.Pandoc.CrossRef: listingTitle :: forall a_azSr. ToMetaValue a_azSr => a_azSr -> Meta
+ Text.Pandoc.CrossRef: listingTitle :: forall a_aA8o. ToMetaValue a_aA8o => a_aA8o -> Meta
- Text.Pandoc.CrossRef: listings :: forall a_aztg. ToMetaValue a_aztg => a_aztg -> Meta
+ Text.Pandoc.CrossRef: listings :: forall a_azJd. ToMetaValue a_azJd => a_azJd -> Meta
- Text.Pandoc.CrossRef: lofTitle :: forall a_aztD. ToMetaValue a_aztD => a_aztD -> Meta
+ Text.Pandoc.CrossRef: lofTitle :: forall a_azJA. ToMetaValue a_azJA => a_azJA -> Meta
- Text.Pandoc.CrossRef: lolTitle :: forall a_aztF. ToMetaValue a_aztF => a_aztF -> Meta
+ Text.Pandoc.CrossRef: lolTitle :: forall a_azJC. ToMetaValue a_azJC => a_azJC -> Meta
- Text.Pandoc.CrossRef: lotTitle :: forall a_aztE. ToMetaValue a_aztE => a_aztE -> Meta
+ Text.Pandoc.CrossRef: lotTitle :: forall a_azJB. ToMetaValue a_azJB => a_azJB -> Meta
- Text.Pandoc.CrossRef: lstLabels :: forall a_azSz. ToMetaValue a_azSz => a_azSz -> Meta
+ Text.Pandoc.CrossRef: lstLabels :: forall a_aA8w. ToMetaValue a_aA8w => a_aA8w -> Meta
- Text.Pandoc.CrossRef: lstPrefix :: forall a_azto. ToMetaValue a_azto => a_azto -> Meta
+ Text.Pandoc.CrossRef: lstPrefix :: forall a_azJl. ToMetaValue a_azJl => a_azJl -> Meta
- Text.Pandoc.CrossRef: lstPrefixTemplate :: forall a_aztt. ToMetaValue a_aztt => a_aztt -> Meta
+ Text.Pandoc.CrossRef: lstPrefixTemplate :: forall a_azJq. ToMetaValue a_azJq => a_azJq -> Meta
- Text.Pandoc.CrossRef: nameInLink :: forall a_aztU. ToMetaValue a_aztU => a_aztU -> Meta
+ Text.Pandoc.CrossRef: nameInLink :: forall a_azJR. ToMetaValue a_azJR => a_azJR -> Meta
- Text.Pandoc.CrossRef: numberSections :: forall a_aztj. ToMetaValue a_aztj => a_aztj -> Meta
+ Text.Pandoc.CrossRef: numberSections :: forall a_azJg. ToMetaValue a_azJg => a_azJg -> Meta
- Text.Pandoc.CrossRef: outFormat :: forall a_aztG. ToMetaValue a_aztG => a_aztG -> Meta
+ Text.Pandoc.CrossRef: outFormat :: forall a_azJD. ToMetaValue a_azJD => a_azJD -> Meta
- Text.Pandoc.CrossRef: pairDelim :: forall a_aztA. ToMetaValue a_aztA => a_aztA -> Meta
+ Text.Pandoc.CrossRef: pairDelim :: forall a_azJx. ToMetaValue a_azJx => a_azJx -> Meta
- Text.Pandoc.CrossRef: rangeDelim :: forall a_aztz. ToMetaValue a_aztz => a_aztz -> Meta
+ Text.Pandoc.CrossRef: rangeDelim :: forall a_azJw. ToMetaValue a_azJw => a_azJw -> Meta
- Text.Pandoc.CrossRef: refDelim :: forall a_aztC. ToMetaValue a_aztC => a_aztC -> Meta
+ Text.Pandoc.CrossRef: refDelim :: forall a_azJz. ToMetaValue a_azJz => a_azJz -> Meta
- Text.Pandoc.CrossRef: refIndexTemplate :: forall a_aztv. ToMetaValue a_aztv => a_aztv -> Meta
+ Text.Pandoc.CrossRef: refIndexTemplate :: forall a_azJs. ToMetaValue a_azJs => a_azJs -> Meta
- Text.Pandoc.CrossRef: secHeaderDelim :: forall a_azSB. ToMetaValue a_azSB => a_azSB -> Meta
+ Text.Pandoc.CrossRef: secHeaderDelim :: forall a_aA8y. ToMetaValue a_aA8y => a_aA8y -> Meta
- Text.Pandoc.CrossRef: secHeaderTemplate :: forall a_aztx. ToMetaValue a_aztx => a_aztx -> Meta
+ Text.Pandoc.CrossRef: secHeaderTemplate :: forall a_azJu. ToMetaValue a_azJu => a_azJu -> Meta
- Text.Pandoc.CrossRef: secLabels :: forall a_azSA. ToMetaValue a_azSA => a_azSA -> Meta
+ Text.Pandoc.CrossRef: secLabels :: forall a_aA8x. ToMetaValue a_aA8x => a_aA8x -> Meta
- Text.Pandoc.CrossRef: secPrefix :: forall a_aztp. ToMetaValue a_aztp => a_aztp -> Meta
+ Text.Pandoc.CrossRef: secPrefix :: forall a_azJm. ToMetaValue a_azJm => a_azJm -> Meta
- Text.Pandoc.CrossRef: secPrefixTemplate :: forall a_aztu. ToMetaValue a_aztu => a_aztu -> Meta
+ Text.Pandoc.CrossRef: secPrefixTemplate :: forall a_azJr. ToMetaValue a_azJr => a_azJr -> Meta
- Text.Pandoc.CrossRef: sectionsDepth :: forall a_aztk. ToMetaValue a_aztk => a_aztk -> Meta
+ Text.Pandoc.CrossRef: sectionsDepth :: forall a_azJh. ToMetaValue a_azJh => a_azJh -> Meta
- Text.Pandoc.CrossRef: subfigGrid :: forall a_aztS. ToMetaValue a_aztS => a_aztS -> Meta
+ Text.Pandoc.CrossRef: subfigGrid :: forall a_azJP. ToMetaValue a_azJP => a_azJP -> Meta
- Text.Pandoc.CrossRef: subfigLabels :: forall a_azSu. ToMetaValue a_azSu => a_azSu -> Meta
+ Text.Pandoc.CrossRef: subfigLabels :: forall a_aA8r. ToMetaValue a_aA8r => a_aA8r -> Meta
- Text.Pandoc.CrossRef: subfigureChildTemplate :: forall a_aztJ. ToMetaValue a_aztJ => a_aztJ -> Meta
+ Text.Pandoc.CrossRef: subfigureChildTemplate :: forall a_azJG. ToMetaValue a_azJG => a_azJG -> Meta
- Text.Pandoc.CrossRef: subfigureRefIndexTemplate :: forall a_aztw. ToMetaValue a_aztw => a_aztw -> Meta
+ Text.Pandoc.CrossRef: subfigureRefIndexTemplate :: forall a_azJt. ToMetaValue a_azJt => a_azJt -> Meta
- Text.Pandoc.CrossRef: subfigureTemplate :: forall a_aztI. ToMetaValue a_aztI => a_aztI -> Meta
+ Text.Pandoc.CrossRef: subfigureTemplate :: forall a_azJF. ToMetaValue a_azJF => a_azJF -> Meta
- Text.Pandoc.CrossRef: tableEqns :: forall a_aztQ. ToMetaValue a_aztQ => a_aztQ -> Meta
+ Text.Pandoc.CrossRef: tableEqns :: forall a_azJN. ToMetaValue a_azJN => a_azJN -> Meta
- Text.Pandoc.CrossRef: tableTemplate :: forall a_aztL. ToMetaValue a_aztL => a_aztL -> Meta
+ Text.Pandoc.CrossRef: tableTemplate :: forall a_azJI. ToMetaValue a_azJI => a_azJI -> Meta
- Text.Pandoc.CrossRef: tableTitle :: forall a_azSq. ToMetaValue a_azSq => a_azSq -> Meta
+ Text.Pandoc.CrossRef: tableTitle :: forall a_aA8n. ToMetaValue a_aA8n => a_aA8n -> Meta
- Text.Pandoc.CrossRef: tblLabels :: forall a_azSy. ToMetaValue a_azSy => a_azSy -> Meta
+ Text.Pandoc.CrossRef: tblLabels :: forall a_aA8v. ToMetaValue a_aA8v => a_aA8v -> Meta
- Text.Pandoc.CrossRef: tblPrefix :: forall a_aztn. ToMetaValue a_aztn => a_aztn -> Meta
+ Text.Pandoc.CrossRef: tblPrefix :: forall a_azJk. ToMetaValue a_azJk => a_azJk -> Meta
- Text.Pandoc.CrossRef: tblPrefixTemplate :: forall a_azts. ToMetaValue a_azts => a_azts -> Meta
+ Text.Pandoc.CrossRef: tblPrefixTemplate :: forall a_azJp. ToMetaValue a_azJp => a_azJp -> Meta
- Text.Pandoc.CrossRef: titleDelim :: forall a_azSs. ToMetaValue a_azSs => a_azSs -> Meta
+ Text.Pandoc.CrossRef: titleDelim :: forall a_aA8p. ToMetaValue a_aA8p => a_aA8p -> Meta
Files
- CHANGELOG.md +13/−0
- docs/index.md +7/−7
- lib/Text/Pandoc/CrossRef/Util/Settings.hs +1/−1
- lib/Text/Pandoc/CrossRef/Util/Settings/Gen.hs +1/−1
- pandoc-crossref.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,16 @@+## 0.3.4.2++- Fix eqLabels in documentation and default meta+- Readme updates++## 0.3.4.1++- Fix custom labels defined via list (and clarify docs)+- Encoding-aware console output+- Changes to CI+- Cosmetic fixes+- Documentation updates+ ## 0.3.4.0 - Updates for pandoc 2.4 and GHC 8.6
docs/index.md view
@@ -224,7 +224,7 @@ Pandoc doesn't properly support numbering sections in some output formats, and section reference labels (see below). -You can let pandoc-crossref handle section numbering instedad. This is+You can let pandoc-crossref handle section numbering instead. This is done via `numberSections` and `sectionsDepth` metadata options. `numberSections` controls if pandoc-crossref handles numbering sections,@@ -576,13 +576,13 @@ See [Custom Numbering Schemes](#custom-numbering-schemes) -- `figLabels`, default unset: custom numbering scheme for figures.-- `subfigLabels`, default `alpha a`: custom numbering scheme for+- `figLabels`, default `arabic`: the numbering scheme for figures.+- `subfigLabels`, default `alpha a`: the numbering scheme for subfigures.-- `eqnLabels`, default unset: custom numbering scheme for equations.-- `tblLabels`, default unset: custom numbering scheme for tables.-- `lstLabels`, default unset: custom numbering scheme for listings.-- `secLabels`, default unset: custom numbering scheme for sections.+- `eqLabels`, default `arabic`: the numbering scheme for equations.+- `tblLabels`, default `arabic`: the numbering scheme for tables.+- `lstLabels`, default `arabic`: the numbering scheme for listings.+- `secLabels`, default `arabic`: the numbering scheme for sections. ### Item title templates
lib/Text/Pandoc/CrossRef/Util/Settings.hs view
@@ -65,7 +65,7 @@ <> numberSections False <> sectionsDepth (MetaString "0") <> figLabels (MetaString "arabic")- <> eqnLabels (MetaString "arabic")+ <> eqLabels (MetaString "arabic") <> tblLabels (MetaString "arabic") <> lstLabels (MetaString "arabic") <> secLabels (MetaString "arabic")
lib/Text/Pandoc/CrossRef/Util/Settings/Gen.hs view
@@ -39,7 +39,7 @@ , "subfigLabels" , "chapters" , "figLabels"- , "eqnLabels"+ , "eqLabels" , "tblLabels" , "lstLabels" , "secLabels"
pandoc-crossref.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 39d61fdf8cc92a3c2c4fa382a9847aa07faa45ce3ea2081e99b89c46a711651f+-- hash: edd11ea020cd9236b745c8aa8d2a9728ac41f337c5648fc1d98b28e62e7f4584 name: pandoc-crossref-version: 0.3.4.1+version: 0.3.4.2 synopsis: Pandoc filter for cross-references description: pandoc-crossref is a pandoc filter for numbering figures, equations, tables and cross-references to them. category: Text@@ -134,7 +134,7 @@ , gitrev >=1.3.1 && <1.4 , mtl >=1.1 && <2.3 , open-browser >=0.2 && <0.3- , optparse-applicative >=0.13 && <0.15+ , optparse-applicative >=0.13 && <0.16 , pandoc >=2.3 && <2.8 , pandoc-crossref , pandoc-types >=1.17.5.1 && <1.18