John MacFarlane
a19134f74d
cabal.project: remove spurious source package stanza for texmath.
...
Unfortunately this means that the release binaries for 2.16.2
weren't built with all of the texmath improvements.
2021-11-21 17:51:28 -08:00
John MacFarlane
3ac7deadce
Use latest dev texmath.
2021-11-16 21:47:27 -08:00
John MacFarlane
03f9a0c61e
Require ghc >= 8.6, base >= 4.12.
...
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-09 23:43:12 -08:00
John MacFarlane
6bec746074
cabal.project: Require transformers >= 0.5.6.
...
For some reason the CI build is trying to use an older version.
2021-11-09 23:09:43 -08:00
John MacFarlane
87a98b76ce
Use ipynb 0.1.0.2.
...
With this change pandoc can be built with aeson >= 2.
2021-10-23 16:27:51 -07:00
John MacFarlane
45054733fa
Use citeproc 0.6, commonmark 0.2.2.1, commonmark-extensions 0.2.2
2021-10-22 17:31:40 -07:00
John MacFarlane
ce1aca4a32
Use texmath 0.12.3.2
2021-10-22 16:42:21 -07:00
John MacFarlane
a9f4bff5e2
Use pandoc-types 1.22.1.
2021-10-22 14:34:58 -07:00
Albert Krewinkel
9e74826ba9
Switch to hslua-2.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-22 11:16:51 -07:00
John MacFarlane
afc16f2f4b
cabal build: go back to using aeson < 2 for now.
2021-10-12 21:00:26 -07:00
John MacFarlane
c636b5dd16
Revert "Depend on pandoc-types 1.23, remove Null constructor on Block."
...
This reverts commit fb0d6c7cb6
.
2021-10-12 21:00:15 -07:00
John MacFarlane
6593f9638e
cabal.project: Dependencies to build with aeson 2.
2021-10-12 19:39:47 -07:00
John MacFarlane
051c366029
Depend on latest dev version of commonmark.
2021-10-12 17:44:59 -07:00
John MacFarlane
6742e77d1e
Update cabal.project
2021-10-02 11:02:28 -07:00
John MacFarlane
b34dc28926
Use latest dev version of texmath.
2021-09-13 22:36:14 -07:00
John MacFarlane
84b5c55448
Use latest dev citeproc.
2021-09-10 21:29:44 -07:00
John MacFarlane
37e30560ad
Use dev version of citeproc.
2021-09-09 23:27:58 -07:00
John MacFarlane
4c6af94f1c
Use released citeproc 0.5.
2021-08-17 14:31:00 -07:00
John MacFarlane
15683bb607
Citeproc: avoid odd handling of quotes.
...
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-13 18:13:06 -07:00
John MacFarlane
05640f9a21
Removed quote localization from citeproc processing.
...
This is now done in citeproc itself.
2021-08-13 17:30:54 -07:00
John MacFarlane
92efc60571
Fix comment syntax in cabal.project
2021-07-18 11:10:45 -07:00
John MacFarlane
168b559c96
Use doctemplates 0.4.1 and citeproc 0.10.
2021-07-18 10:55:27 -07:00
John MacFarlane
ff26af59ac
Revamp note citation handling.
...
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-07-05 13:19:33 -07:00
John MacFarlane
b7572db224
Use dev version of citeproc.
...
This eliminates double hyperlinks in author-in-text citations.
Author-only citations are no longer hyperlinked.
See jgm/citeproc#77 .
2021-06-29 09:18:49 -07:00
John MacFarlane
382be73d77
Use dev version of citeproc.
...
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-28 22:56:16 -07:00
John MacFarlane
7dcf727382
Use dev version of doctemplates.
2021-06-22 23:58:24 -07:00
John MacFarlane
697d149733
Use released citeproc 0.4.
2021-05-12 14:35:06 -07:00
John MacFarlane
853f24f5ca
Fixed another typo in cabal.project.
2021-04-25 23:11:53 -07:00
John MacFarlane
1f72a50627
Fix typo in cabal.project.
2021-04-25 22:52:07 -07:00
John MacFarlane
16b64bda38
Use dev texmath, citeproc.
2021-04-25 21:56:54 -07:00
John MacFarlane
9d6c3fa41f
Use lastest citeproc.
2021-04-18 11:35:09 -07:00
John MacFarlane
a478a5c4c8
Update to released unicode-collation, latest citeproc dev version.
...
Update citeproc test.
2021-04-17 16:15:14 -07:00
John MacFarlane
ff5a504809
Use new citeproc + unicode-collation.
...
Add command test for unicode-collation.
2021-04-17 16:15:13 -07:00
John MacFarlane
c3a9322b93
cabal.project: move flags: to top level (not under pandoc:).
...
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-19 14:51:21 -07:00
John MacFarlane
a366e2b574
cabal.project: remove -j, which means -j1!
2021-03-16 13:06:38 -07:00
John MacFarlane
595d2e25ea
cabal.project: don't explicitly set -trypandoc.
...
If we do, this can't be overridden on the command line.
2021-03-02 10:03:52 -08:00
John MacFarlane
af77241b17
cabal.project - more heap space
2021-02-02 14:47:27 -08:00
John MacFarlane
07c98eae50
Use citeproc >= 0.3.0.4.
2021-01-15 14:17:17 -08:00
John MacFarlane
3d6ebc9051
Use dev version of citeproc.
...
Change a citation test which had wrong disambiguation
(see jgm/citeproc#44 ).
2021-01-15 11:51:07 -08:00
John MacFarlane
19d4e43605
Require texmath 0.12.1.
2020-12-27 22:57:14 -08:00
John MacFarlane
211b6a1fc7
Remove .travis.yml and add CircleCI config.
2020-12-17 23:38:44 -08:00
John MacFarlane
791cb05b3e
Use released citeproc 0.3.
2020-12-16 23:57:12 -08:00
John MacFarlane
a27052da58
Use released doctemplates 0.9.
2020-12-16 23:45:23 -08:00
John MacFarlane
a1112c0da0
Add tests: True to cabal.project.
...
Hoping this fixes the odd new CI failure for cabal.
2020-12-16 21:00:46 -08:00
John MacFarlane
914cf0b602
Fix citeproc regression with duplicate references.
...
- 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-16 15:37:40 -08:00
John MacFarlane
41577a6656
Use latest dev version of doctemplates.
2020-12-16 07:56:37 -08:00
Albert Krewinkel
b15191aece
cabal.project: disable installation of citeproc from source
2020-12-10 08:11:05 +01:00
John MacFarlane
2e372ab921
Use dev version of citeproc.
2020-11-22 16:10:30 -08:00
John MacFarlane
22e5efe6a2
Comment out source-repository-package from cabal.project.
2020-11-06 09:26:09 -08:00
John MacFarlane
b5e9c2a7a6
Use citeproc 0.1.1.
2020-11-04 11:15:48 -08:00