Commit graph

167 commits

Author SHA1 Message Date
John MacFarlane
8b4728e284 Use latest pandoc-types (1.17.5). 2018-06-11 11:05:48 -07:00
John MacFarlane
edcfbccf5d Use skylighting 0.7.2. Adjust tests.
This should fix commercialhaskell/stackage#3719, once
a new release is made.
2018-06-09 13:34:21 -07:00
John MacFarlane
81ed7948da Use haddock-library 1.6.0. 2018-05-20 17:05:23 -07:00
John MacFarlane
c3d2572c5f Use texmath-0.11. 2018-05-10 12:10:35 -07:00
John MacFarlane
dba86dcceb Use texmath-0.10.1.2.
Closes #4597.
2018-04-26 12:23:25 -07:00
John MacFarlane
df452038f5 stack.yaml: use latest pandoc-citeproc. 2018-04-25 23:48:01 -07:00
John MacFarlane
4883f41f53 stack.lts9.yaml - use older haddock-library.
The newer version can't be compiled with the old stack/Cabal
we have on alpine.
2018-04-21 22:23:05 -07:00
John MacFarlane
26fdd40370 Added test-framework to stack.yaml deps. 2018-04-05 10:14:06 -07:00
John MacFarlane
6285c047c4 Don't depend on latest haddock-library in stack.yaml.
For now.  Because of a bug in the library, it must be
rebuilt every time we do 'stack install.

See #4482.
2018-03-24 11:00:29 -07:00
John MacFarlane
532cfcc59f Update stack.yaml to work with stackage nightly.
We now compile on nightly.
2018-03-20 08:53:47 -07:00
John MacFarlane
43677682d8 Use pandoc-citeproc 0.14.3. 2018-03-19 23:45:55 -07:00
John MacFarlane
d6f9715230 Bumped some versions in stack.yaml. 2018-03-18 15:25:55 -07:00
John MacFarlane
937bec95a9 Removed old-locale flag and Text.Pandoc.Compat.Time.
This is no longer necessary since we no longer support ghc 7.8.
2018-03-18 11:24:29 -07:00
John MacFarlane
7e389cb3db Use NoImplicitPrelude and explicitly import Prelude.
This seems to be necessary if we are to use our custom Prelude
with ghci.

Closes #4464.
2018-03-18 10:46:28 -07:00
John MacFarlane
1683185e98 Use pandoc-citeproc 0.14.2. 2018-03-17 22:50:58 -07:00
John MacFarlane
73f9ba4a00 stack.yaml - don't force latest haddock-library. 2018-03-17 21:50:16 -07:00
John MacFarlane
c166861ee6 Require haddock-libary 1.5 (with tables). 2018-03-16 21:21:41 -07:00
John MacFarlane
424d0df1f2 Use latest pandoc-types. 2018-03-16 21:20:52 -07:00
John MacFarlane
1b37e3b3c0 Require pandoc-types 1.17.4.
And a few tweaks related to the Semigroups/Monoid change.

Closes #4448.
2018-03-13 23:23:04 -07:00
Alexander Krotov
b6182afcfe stack.yaml: Add skylighting-core to extra-deps 2018-03-07 14:40:59 +03:00
John MacFarlane
54a6b75510 Use latest skylighting. 2018-03-06 10:57:49 -08:00
John MacFarlane
5823bdf560 Use latest pandoc-citeproc. 2018-03-02 10:17:26 -08:00
Alexander Krotov
83ce0a789d Update tagsoup to 0.14.6 2018-02-28 07:00:14 +03:00
Alexander Krotov
ab1bee58e5 Update tagsoup to 0.14.5 2018-02-27 15:02:59 +03:00
Alexander Krotov
19b4cb16f3 Update tagsoup to 0.14.4
Fixes #4282
2018-02-27 04:31:46 +03:00
John MacFarlane
e232faf5ee Use latest pandoc-citeproc. 2018-02-01 11:56:43 -08:00
John MacFarlane
4423f81079 Require tagsoup 0.14.3 - closes #4282.
This fixes an HTML tokenization bug whereby comments
were sometimes consumed with open tags.
2018-01-21 10:09:27 -08:00
John MacFarlane
3ca3ad8956 Use latest pandoc-citeproc. 2018-01-21 08:20:39 -08:00
John MacFarlane
3eac24c8cf Use latest texmath. 2018-01-19 17:21:40 -08:00
John MacFarlane
63b10cf157 More stack.yaml fixes for skylighting. 2018-01-18 10:05:41 -08:00
John MacFarlane
aaf2dbf897 Use latest pandoc-citeproc and skylighting. 2018-01-18 09:18:13 -08:00
John MacFarlane
551d8e8541 Reduce compiler noise (exact paths for compiled modules). 2018-01-15 20:59:21 -08:00
John MacFarlane
1d8f2edff0 Allow tasty 1.0. 2018-01-08 17:08:46 -08:00
John MacFarlane
ae6ba1533b Use latest skylighting and omit the 'missingincludes' check.
If you use a custom syntax definition that refers to a syntax
you haven't loaded, pandoc will now complain when it is highlighting
the text, rather than at the start.

This saves a huge performance hit from the `missingIncludes` check.

Closes #4226.
2018-01-07 19:24:08 -08:00
Albert Krewinkel
bdb911550c
Bump hslua version to 0.9.5
This version fixes a bug that made it difficult to handle failures while
getting lists or a Map from Lua. A bug in pandoc, which made it
necessary to always pass a tag when using MetaList or MetaBlock, is
fixed as a result. Using the pandoc module's constructor functions for
these values is now optional (if still recommended).
2018-01-04 23:15:28 +01:00
John MacFarlane
5af89c5e86 Use latest pandoc-citeproc. 2018-01-03 09:48:37 -08:00
John MacFarlane
ff6fd1a9b0 Use latest pandoc-citeproc. 2018-01-02 22:48:19 -08:00
John MacFarlane
11834216ef Use latest pandoc-citeproc. 2018-01-02 11:49:58 -08:00
John MacFarlane
710c658d4f Bump pandoc-citeproc to 0.12.2.2. 2017-12-28 22:56:29 -08:00
John MacFarlane
a8128831cf Use latest pandoc-citeproc. 2017-12-28 21:14:15 -08:00
John MacFarlane
ffa3d7160e Removed stack.pkg.yaml.
We only really need stack.yaml; we can put flag settings
for pandoc-citeproc there.

Also use ghc-8.0.2 in dockerized linux build.  This is
the only version available for alpine so far.
2017-12-27 20:21:37 -08:00
John MacFarlane
06ad9d08ea Use lts-10.1 resolver. 2017-12-26 22:07:00 -08:00
John MacFarlane
ac202e648b Stack builds with lts-10.0. 2017-12-19 22:28:25 -08:00
John MacFarlane
5e039d913f Changes for skylighting-0.5.
This fixes a bug in 2.0.4, whereby pandoc could not
read the theme files generated with `--print-highlight-style`.

It also fixes some CSS issues involving line numbers.
Highlighted code blocks are now enclosed in a div with class
sourceCode.

Highlighting CSS no longer sets a generic color for pre
and code; we only set these for class `sourceCode`.

This will close #4133 and #4128.
2017-12-10 21:13:05 -08:00
Albert Krewinkel
a7953a60b9
Bump lower bound of hslua
The release hslua 0.9.3 contains a new function which makes using
Haskell functions as package loaders much easier.
2017-12-04 13:34:10 +01:00
John MacFarlane
7a8c830734 Use latest tagsoup.
This fixes a bug in parsing tags with `&` following.

Closes #4094.  Closes #4088.
2017-11-30 15:59:06 -08:00
John MacFarlane
073bcae16c Use skylighting 0.4.4.1.
Closes #4103 (wrong color of unmarked code text when
numerLines is used).
2017-11-27 23:29:19 -08:00
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