packages feed

pandoc-crossref 0.3.12.0 → 0.3.12.1

raw patch · 4 files changed

+25/−17 lines, 4 filesdep ~pandocPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: pandoc

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,11 @@+## 0.3.12.1++-   Fix docx tableEqns++## 0.3.12.0++-   Switch from data-accessor to microlens+ ## 0.3.11.0  -   Add equationNumberTeX option
docs/index.md view
@@ -202,6 +202,14 @@ If you want to use tables instead, use `tableEqns` option. Depending on output format, tables might work better or worse than `\qquad`. +Alternatively, for formats that support it, you can use arbitrary LaTeX command accepting a single argument (that is, label text) for typesetting. A common example is `\tag`. Use `equationNumberTeX` metadata variable for that (set to special value `qquad` by default). For instance, to use `\tag`, you would have the following in your metadata:++```yaml+equationNumberTeX: \\tag+```++This option doesn't affect LaTeX output (which offloads numbering to the LaTeX engine).+ ## Table labels  ``` markdown@@ -212,14 +220,6 @@  : Caption {#tbl:label} ```--Alternatively, for formats that support it, you can use arbitrary LaTeX command accepting a single argument (that is, label text) for typesetting. A common example is `\tag`. Use `equationNumberTeX` metadata variable for that (set to special value `qquad` by default). For instance, to use `\tag`, you would have the following in your metadata:--```yaml-equationNumberTeX: \\tag-```--This option doesn't affect LaTeX output (which offloads numbering to the LaTeX engine).  To label a table, append `{#tbl:label}` at the end of table caption (with `label` being something unique to reference this table by).
lib-internal/Text/Pandoc/CrossRef/References/Blocks.hs view
@@ -64,7 +64,7 @@   where   mkBody xs = TableBody nullAttr (RowHeadColumns 0) [] (map mkRow xs)   mkRow xs = Row nullAttr (map mkCell xs)-  mkCell xs = Cell nullAttr AlignDefault (RowSpan 0) (ColSpan 0) xs+  mkCell xs = Cell nullAttr AlignDefault (RowSpan 1) (ColSpan 1) xs   noCaption = Caption Nothing mempty   noTableHead = TableHead nullAttr []   noTableFoot = TableFoot nullAttr []
pandoc-crossref.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4661699925ae4f2bebb7c3d4c729f29850c37104cb97b210f0ea5df5080e7d6d+-- hash: 44cad1985e34691bb2ecdb6ccac537a1eb9de77329edf1dbfbdbb485ca98e803  name:           pandoc-crossref-version:        0.3.12.0+version:        0.3.12.1 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@@ -110,7 +110,7 @@   build-depends:       base >=4.11 && <5     , mtl >=1.1 && <2.3-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-crossref-internal     , pandoc-types >=1.21 && <1.23     , text >=1.2.2 && <1.3@@ -145,7 +145,7 @@     , microlens-mtl >=0.2.0.1 && <0.3.0.0     , microlens-th >=0.4.3.10 && <0.5.0.0     , mtl >=1.1 && <2.3-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-types >=1.21 && <1.23     , roman-numerals ==0.5.*     , syb >=0.4 && <0.8@@ -167,7 +167,7 @@     , gitrev >=1.3.1 && <1.4     , open-browser ==0.2.*     , optparse-applicative >=0.13 && <0.17-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-crossref     , pandoc-types >=1.21 && <1.23     , template-haskell >=2.7.0.0 && <3.0.0.0@@ -186,7 +186,7 @@     , directory >=1 && <1.4     , filepath >=1.1 && <1.5     , hspec >=2.4.4 && <3-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-crossref     , pandoc-types >=1.21 && <1.23     , text >=1.2.2 && <1.3@@ -212,7 +212,7 @@     , hspec >=2.4.4 && <3     , microlens >=0.4.12.0 && <0.5.0.0     , mtl >=1.1 && <2.3-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-crossref     , pandoc-crossref-internal     , pandoc-types >=1.21 && <1.23@@ -232,7 +232,7 @@   build-depends:       base >=4.11 && <5     , criterion >=1.5.9.0 && <1.6-    , pandoc >=2.10 && <2.15+    , pandoc >=2.10 && <2.17     , pandoc-crossref     , pandoc-types >=1.21 && <1.23     , text >=1.2.2 && <1.3