aboutsummaryrefslogtreecommitdiff
path: root/cabal.project
AgeCommit message (Collapse)AuthorFilesLines
2021-12-06Ipynb reader & writer: properly handle cell "id".John MacFarlane1-0/+5
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 Krewinkel1-5/+0
2021-11-27Lua: use package pandoc-lua-marshal (#7719)Albert Krewinkel1-0/+5
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.
2021-11-21cabal.project: remove spurious source package stanza for texmath.John MacFarlane1-4/+4
Unfortunately this means that the release binaries for 2.16.2 weren't built with all of the texmath improvements.
2021-11-16Use latest dev texmath.John MacFarlane1-0/+4
2021-11-09Require ghc >= 8.6, base >= 4.12.John MacFarlane1-1/+1
This allows us to get rid of the old custom prelude and some crufty cpp. But the primary reason for this is that conduit has bumped its base lower bound to 4.12, making it impossible for us to support lower base versions.
2021-11-09cabal.project: Require transformers >= 0.5.6.John MacFarlane1-1/+1
For some reason the CI build is trying to use an older version.
2021-10-23Use ipynb 0.1.0.2.John MacFarlane1-12/+1
With this change pandoc can be built with aeson >= 2.
2021-10-22Use citeproc 0.6, commonmark 0.2.2.1, commonmark-extensions 0.2.2John MacFarlane1-17/+0
2021-10-22Use texmath 0.12.3.2John MacFarlane1-5/+0
2021-10-22Use pandoc-types 1.22.1.John MacFarlane1-5/+0
2021-10-22Switch to hslua-2.0Albert Krewinkel1-1/+0
The new HsLua version takes a somewhat different approach to marshalling and unmarshalling, relying less on typeclasses and more on specialized types. This allows for better performance and improved error messages. Furthermore, new abstractions allow to document the code and exposed functions.
2021-10-12cabal build: go back to using aeson < 2 for now.John MacFarlane1-9/+11
2021-10-12Revert "Depend on pandoc-types 1.23, remove Null constructor on Block."John MacFarlane1-1/+1
This reverts commit fb0d6c7cb63a791fa72becf21ed493282e65ea91.
2021-10-12cabal.project: Dependencies to build with aeson 2.John MacFarlane1-1/+12
2021-10-12Depend on latest dev version of commonmark.John MacFarlane1-1/+7
2021-10-02Update cabal.projectJohn MacFarlane1-2/+13
2021-09-13Use latest dev version of texmath.John MacFarlane1-0/+5
2021-09-10Use latest dev citeproc.John MacFarlane1-1/+1
2021-09-09Use dev version of citeproc.John MacFarlane1-0/+5
2021-08-17Use released citeproc 0.5.John MacFarlane1-4/+0
2021-08-13Citeproc: avoid odd handling of quotes.John MacFarlane1-1/+1
citeproc changes allow us to ignore Quoted elements; citeproc now uses its own method for represented quoted things, and only localizes and flipflops quotes it adds itself. See #87. The one thing left to do is to convert Quoted elements in bibliography databases (esp. titles) to `Span ("",["csl-quoted"],[])` before passing them to citeproc, IF the localized quotes for the quote type match the standard inverted commas.
2021-08-13Removed quote localization from citeproc processing.John MacFarlane1-4/+4
This is now done in citeproc itself.
2021-07-18Fix comment syntax in cabal.projectJohn MacFarlane1-4/+4
2021-07-18Use doctemplates 0.4.1 and citeproc 0.10.John MacFarlane1-9/+4
2021-07-05Revamp note citation handling.John MacFarlane1-1/+1
Use latest citeproc, which uses a Span with a class rather than a Note for notes. This helps us distinguish between user notes and citation notes. Don't put citations at the beginning of a note in parentheses. (Closes #7394.)
2021-06-29Use dev version of citeproc.John MacFarlane1-1/+1
This eliminates double hyperlinks in author-in-text citations. Author-only citations are no longer hyperlinked. See jgm/citeproc#77.
2021-06-28Use dev version of citeproc.John MacFarlane1-0/+4
This fixes moving of punctuation inside quotes to conform to the CSL spec: only comma and period are moved, not question mark or exclamation point.
2021-06-22Use dev version of doctemplates.John MacFarlane1-0/+5
2021-05-12Use released citeproc 0.4.John MacFarlane1-9/+0
2021-04-25Fixed another typo in cabal.project.John MacFarlane1-1/+1
2021-04-25Fix typo in cabal.project.John MacFarlane1-1/+1
2021-04-25Use dev texmath, citeproc.John MacFarlane1-1/+5
2021-04-18Use lastest citeproc.John MacFarlane1-1/+1
2021-04-17Update to released unicode-collation, latest citeproc dev version.John MacFarlane1-10/+1
Update citeproc test.
2021-04-17Use new citeproc + unicode-collation.John MacFarlane1-0/+10
Add command test for unicode-collation.
2021-03-19cabal.project: move flags: to top level (not under pandoc:).John MacFarlane1-5/+1
If it's under the pandoc stanza, it can't be overriden on the command line, it seems. Also we remove ghc-options.
2021-03-16cabal.project: remove -j, which means -j1!John MacFarlane1-1/+1
2021-03-02cabal.project: don't explicitly set -trypandoc.John MacFarlane1-1/+1
If we do, this can't be overridden on the command line.
2021-02-02cabal.project - more heap spaceJohn MacFarlane1-1/+1
2021-01-15Use citeproc >= 0.3.0.4.John MacFarlane1-4/+4
2021-01-15Use dev version of citeproc.John MacFarlane1-0/+4
Change a citation test which had wrong disambiguation (see jgm/citeproc#44).
2020-12-27Require texmath 0.12.1.John MacFarlane1-4/+0
2020-12-17Remove .travis.yml and add CircleCI config.John MacFarlane1-1/+0
2020-12-16Use released citeproc 0.3.John MacFarlane1-4/+4
2020-12-16Use released doctemplates 0.9.John MacFarlane1-5/+0
2020-12-16Add tests: True to cabal.project.John MacFarlane1-0/+2
Hoping this fixes the odd new CI failure for cabal.
2020-12-16Fix citeproc regression with duplicate references.John MacFarlane1-4/+4
- Use dev version of citeproc, which handles duplicate ids better, preferring the last one in the list and discarding the rest. - Ensure that inline citations take priority over external ones. See jgm/citeproc#36. This restores the behavior of pandoc-citeproc.
2020-12-16Use latest dev version of doctemplates.John MacFarlane1-0/+5
2020-12-10cabal.project: disable installation of citeproc from sourceAlbert Krewinkel1-4/+4