aboutsummaryrefslogtreecommitdiff
path: root/cabal.project
AgeCommit message (Collapse)Author
2022-09-22Split pandoc-server, pandoc-cli into separate packages.split-packagesJohn MacFarlane
This also removes the unnecessary Setup.hs from pandoc. Cabal does not need this with build-type 'simple'.
2022-09-12Depend on dev texmath.John MacFarlane
2022-09-01Use dev version of gridtablesAlbert Krewinkel
This allows to specify a table foot by enclosing it with part separator lines, i.e., row separator lines consisting only of `+` and `=` characters. E.g.: +------+-------+ | Item | Price | +======+=======+ | Eggs | 5£ | +------+-------+ | Spam | 3£ | +======+=======+ | Sum | 8£ | +======+=======+ The last row, containing "Sum" and "8£", is the table foot. Closes: #8257
2022-08-26HTML writer: avoid aria-hidden in code blocks for HTML4.John MacFarlane
Closes #8241. This requires depending on a new (still unreleased) version of skylighting-format-blaze-html.
2022-08-23Use dev version of commonmark-extensions.John MacFarlane
This fixes an issue with lists inside definition list definitions.
2022-08-18Use latest gridtables-0.0.3.0Albert Krewinkel
This restores undocumented behavior which allowed to grid tables to have separator lines that have fewer characters than the cell they delimit.
2022-08-18Remove pandoc-server from cabal.project.John MacFarlane
2022-08-06Replace old trypandoc code with new pandoc-cgi.John MacFarlane
This is based on servant. It is less hacky and more extensible.
2022-08-05Use dev version of gridtables.Albert Krewinkel
Closes: #8216
2022-08-03Use latest released versions of citeproc, texmath.John MacFarlane
2022-07-22Use dev version of texmath.John MacFarlane
2022-07-11Use latest dev citeprocJohn MacFarlane
2022-07-01Use citeproc 0.8.John MacFarlane
2022-06-15Use dev version of citeproc.John MacFarlane
2022-04-03Use latest doclayout (0.4)John MacFarlane
2022-04-02Use released commonmark 0.2.2, commonmark-extensions 0.2.3.1.John MacFarlane
2022-04-02Use citeproc 0.7.John MacFarlane
2022-04-02Use released version of texmath.John MacFarlane
2022-04-02Use released pandoc-types 1.22.2.John MacFarlane
2022-03-30Use latest dev doclayout, pandoc-typesJohn MacFarlane
2022-03-23Use current dev versions of citeproc, doclayout.John MacFarlane
2022-03-23Use latest dev citeproc.John MacFarlane
2022-03-20Use latest dev texmath.John MacFarlane
2022-03-12Depend on latest dev texmath.John MacFarlane
2022-03-11Use dev version of pandoc-types.John MacFarlane
This allows toJSONFilter to work with Meta and MetaValue.
2022-02-27Use latest dev commonmark-extensions.John MacFarlane
Closes #7942.
2022-02-24Update texmath version to build against.John MacFarlane
2022-02-23Use latest dev texmath.John MacFarlane
2022-02-13Use latest dev commonmark-extensions.John MacFarlane
2022-02-13Use latest dev commonmark, commonmark-extensions.John MacFarlane
2022-02-12Depend on latest commonmark.John MacFarlane
This resolves an issue with commonmark_x's support of strikeout.
2022-02-03Use unreleased citeproc.John MacFarlane
2022-01-12Use ipynb 0.2.John MacFarlane
2022-01-11Use citeproc 0.6.0.1.John MacFarlane
2022-01-11Use latest texmath (0.12.4).John MacFarlane
2022-01-09Update commits for dev dependencies, allow text 2.0.John MacFarlane
2022-01-09Use dev version of citeproc.John MacFarlane
2021-12-30Use latest commonmark-hs.John MacFarlane
This allows a bare-word class attribute on fenced divs, as pandoc's Markdown reader now does.
2021-12-23Lua: use released pandoc-lua-marshal-0.1.3.Albert Krewinkel
Inlines, Blocks, and List objects now have an `__eq` metamethod, testing equality by comparing two lists element-wise.
2021-12-21Lua: simplify and deprecate function `pandoc.utils.equals`Albert Krewinkel
The function is no longer required for element comparisons; it is now an alias for the `==` operator.
2021-12-21Put sourcepos attribute on header, not enclosing div...John MacFarlane
with `-f commonmark+sourcepos`. Closes #7769.
2021-12-19Lua: change representation of TableHead, TableFoot, and Row values.Albert Krewinkel
The objects now also follow the principle that element attributes are accessible through the `.attr` field. Rows in `TableHead` and `TableFoot` are available via the `.rows` field. Row objects have a `.cells` field, containing the list of table cells. Closes: #7718
2021-12-14Use dev texmath.John MacFarlane
2021-12-13Lua: support topdown traversalsAlbert Krewinkel
The traversal order of filters can now be selected by setting the key `traverse` of the filter to either `'topdown'` or `'typewise'`; the default remains `'typewise'`. Topdown traversals can be cut short by returning `false` as a second value from the filter function. No child-element of the returned element is processed in that case.
2021-12-10Switch to released pandoc-lua-marshal-0.1.2Albert Krewinkel
Cell values are now marshaled as userdata objects; a constructor function for table cells is provided as `pandoc.Cell`.
2021-12-09Lua: update to latest pandoc-lua-marshal (0.1.1)Albert Krewinkel
- `walk` methods are added to `Block` and `Inline` values; the methods are similar to `pandoc.utils.walk_block` and `pandoc.utils.walk_inline`, but apply to filter also to the element itself, and therefore return a list of element instead of a single element. - Functions of name `Doc` are no longer accepted as alternatives for `Pandoc` filter functions. This functionality was undocumented.
2021-12-08Use latest dev version of ipynb.John MacFarlane
This should give us deterministic JSON output for mime bundles.
2021-12-06Ipynb reader & writer: properly handle cell "id".John MacFarlane
This is passed through if it exists (in Nb4); otherwise the writer will add a random one so that cells all have an "id". Closes #7728.
2021-11-28Use published pandoc-lua-marshal packageAlbert Krewinkel
2021-11-27Lua: use package pandoc-lua-marshal (#7719)Albert Krewinkel
The marshaling functions for pandoc's AST are extracted into a separate package. The package comes with a number of changes: - Pandoc's List module was rewritten in C, thereby improving error messages. - Lists of `Block` and `Inline` elements are marshaled using the new list types `Blocks` and `Inlines`, respectively. These types currently behave identical to the generic List type, but give better error messages. This also opens up the possibility of adding element-specific methods to these lists in the future. - Elements of type `MetaValue` are no longer pushed as values which have `.t` and `.tag` properties. This was already true for `MetaString` and `MetaBool` values, which are still marshaled as Lua strings and booleans, respectively. Affected values: + `MetaBlocks` values are marshaled as a `Blocks` list; + `MetaInlines` values are marshaled as a `Inlines` list; + `MetaList` values are marshaled as a generic pandoc `List`s. + `MetaMap` values are marshaled as plain tables and no longer given any metatable. - The test suite for marshaled objects and their constructors has been extended and improved. - A bug in Citation objects, where setting a citation's suffix modified it's prefix, has been fixed.