Commit graph

67 commits

Author SHA1 Message Date
John MacFarlane
51027cff29 Use skylighting 0.4.4. 2017-11-21 20:47:00 -08:00
Albert Krewinkel
53aafd6643 Lua filters: preload text module (#4077)
The `text` module is preloaded in lua. The module contains some UTF-8
aware string functions, implemented in Haskell.  The module is loaded on
request only, e.g.:

    text = require 'text'
    function Str (s)
      s.text = text.upper(s.text)
      return s
    end
2017-11-18 13:24:06 -08:00
John MacFarlane
5bedd6219a Use pandoc-types 1.17.3 2017-11-11 13:40:01 -08:00
John MacFarlane
8cf9b23b45 Change to using pandoc-citeproc 0.12.1 in binary packages. 2017-11-08 08:45:36 -08:00
John MacFarlane
32d95aa9f6 Use skylighting 0.4.3.2. 2017-11-04 22:01:03 -07:00
John MacFarlane
25f24af068 Use texmath 0.10. 2017-11-03 23:26:37 -07:00
John MacFarlane
d0548fe29c Use latest skylighting. 2017-11-03 11:29:15 -07:00
John MacFarlane
5282688126 Update skylighting version in stack.pkg.yaml. 2017-11-02 20:15:34 -07:00
John MacFarlane
d06bbeeaac Use latest pandoc-citeproc release for binary package. 2017-10-28 10:34:42 -07:00
John MacFarlane
932fe007fc use skylighting 0.4.2 in stack.pkg.yaml. 2017-10-26 16:37:05 -07:00
John MacFarlane
0463a57a5c Back to using alpine-based Dockerfile for linux build. 2017-10-22 15:04:49 -07:00
John MacFarlane
dc92c34827 Use doctemplates 0.2.1: allows $-- line comments in templates.
Closes #3806.
2017-10-20 22:44:49 -07:00
John MacFarlane
18affd488e Use latest pandoc-citeproc. 2017-10-11 09:54:17 -07:00
John MacFarlane
c9bd77736b Added hs-bibutils to stack.pgk.yaml. 2017-10-11 08:57:30 -07:00
John MacFarlane
0ff96117d3 Use latest pandoc-citeproc in stack.pkg.yaml. 2017-10-10 13:06:26 -07:00
Albert Krewinkel
2262f005ce
Use hslua v0.9.0 2017-10-05 11:30:44 +02:00
John MacFarlane
e7ee5413b5 Use latest texmath. 2017-10-03 17:48:45 -07:00
John MacFarlane
c936714197 Use latest texmath. 2017-10-03 13:57:36 -07:00
John MacFarlane
d259e7e5b5 Use latest pandoc-citeproc for pkg build. 2017-10-03 12:00:15 -07:00
John MacFarlane
950c68c835 Use latest skylighting. 2017-09-28 09:22:32 -07:00
John MacFarlane
5a3fa5207d Use pandoc-types 1.17.2. 2017-09-24 13:12:14 -07:00
John MacFarlane
7c20fab3a7 stack.pkg.yaml - use latest pandoc-citeproc. 2017-09-17 20:29:41 -07:00
John MacFarlane
04aba6bd51 Use skylighting 0.4. 2017-09-15 09:36:54 -07:00
John MacFarlane
64472a468c FromJSON/ToJSON instances for Reader, WriterOptions.
Depends on skylighting 0.3.5.
2017-09-14 22:38:23 -07:00
John MacFarlane
5849b89e52 Use texmath 0.9.4.2 in stack.yaml. 2017-09-13 10:05:47 -07:00
John MacFarlane
8c8630c138 Use skylighting 0.3.4.1. 2017-09-09 21:05:02 -07:00
John MacFarlane
76e580d571 Use latest pandoc-citeproc in stack.pkg.yaml. 2017-09-04 17:11:01 -07:00
John MacFarlane
f297659d50 Use lts-9.1 in travis. 2017-08-23 07:11:57 -07:00
John MacFarlane
cefdc01a93 Updated stack.pkg.yaml. 2017-08-21 22:27:26 -07:00
Albert Krewinkel
9b31835530 Update to hslua-0.8.0
hslua no longer provides lua stack instances for Int and Double, the
necessary instances are added to the Custom writer and the lua filtering
system.
2017-08-16 15:47:05 +02:00
John MacFarlane
23d29ee10c Use latest commit for pandoc-citeproc. 2017-08-14 15:45:18 -07:00
Albert Krewinkel
2dc3dbd68b Use hslua >= 0.7, update Lua code 2017-08-13 14:23:54 +02:00
John MacFarlane
f92ca2993c Use haddock-library 1.4.3, since 1.4.5 requirse cabal 2. 2017-08-09 12:48:00 -07:00
John MacFarlane
fad784affa Added haddock-library-1.4.5 to stack.yaml for nightly. 2017-08-09 12:30:27 -07:00
John MacFarlane
14a44f53c8 Build config that works with lts-9.0 and nightly. 2017-08-09 12:14:35 -07:00
John MacFarlane
8a4a5e506d stack.pkg.yaml - add cmark-gfm. 2017-08-09 10:00:19 -07:00
John MacFarlane
9932d52b53 Use latest cmark. 2017-08-02 09:20:06 -07:00
John MacFarlane
57122f3760 Updated stack.pkg.yaml. 2017-06-30 23:26:17 +02:00
John MacFarlane
850105e8db stack.pkg.yaml - update pandoc-citeproc commit. 2017-06-11 08:08:07 +02:00
John MacFarlane
2d0151d14b Updated to lts-8.16 in stack.pkg.yaml. 2017-06-04 21:33:13 +02:00
John MacFarlane
c965770c3d Use latest pandoc-citeproc in binary packages. 2017-06-04 20:39:33 +02:00
John MacFarlane
d414b2543a Remove https flag.
Supporting two completely different libraries for fetching
from URLs makes it difficult to trap errors, because of
different error types expected from the libraries.

There's no clear reason not to build with these https-capable
libraires.
2017-05-07 12:49:25 +02:00
John MacFarlane
022d58e02a stack.yaml: use lts-8.12.
This should fix the build failure on travis.
2017-05-02 09:24:33 +02:00
John MacFarlane
c5f4a0b9c5 Use foundation-0.0.7.
See https://github.com/haskell-foundation/foundation/issues/238
for the bug on Windows with 0.0.6.
2017-04-22 22:17:57 +02:00
John MacFarlane
ba27620e4f Use latest skylighting, lts. 2017-04-22 10:54:56 +02:00
Albert Krewinkel
0516b5127c
Drop dependency on hslua-aeson
Pushing values to the lua stack via custom functions is faster and more
flexible.
2017-04-14 11:21:12 +02:00
John MacFarlane
1778f23292 Use stack lts-8.8.
This gives us a newer verison of executable-path, which we need
for FreeBSD.
2017-04-09 10:16:55 +02:00
John MacFarlane
1c7f4e97e2 Use latest skylighting.
This means we no longer need language.dtd when loading
custom highlighting definitions.

See #3334.
2017-04-01 12:54:26 +02:00
John MacFarlane
bf651b966b Compile with latest pandoc-citeproc. 2017-03-30 15:39:52 +02:00
Albert Krewinkel
1e13e98ecf
Ensure compatibility with hslua 0.5.*
The 0.5.0 release of hslua fixes problems with lua C modules on linux.
The signature of the `loadstring` function changed, so a compatibility
wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
2017-03-24 21:31:35 +01:00