Commit graph

402 commits

Author SHA1 Message Date
John MacFarlane
4ef23623d3 Use pandoc-citeproc-0.16.0.2 2019-02-07 10:00:21 -08:00
John MacFarlane
5e1dc5809b stack.yaml - use latest pandoc-citeproc. 2019-02-06 10:56:11 -08:00
John MacFarlane
13c1cb82b6 stack.yaml - use latest texmath. 2019-01-30 22:10:20 -08:00
John MacFarlane
18a9c7c0e0 Update stack.yaml to use lts-13. 2019-01-30 14:38:35 -08:00
John MacFarlane
1c8097136b Update pandoc-citeproc commit in stack.yaml. 2019-01-25 06:58:28 -08:00
John MacFarlane
395ea03069 Support ipynb (Jupyter notebook) as input and output format.
[API change]

* Depend on ipynb library.

* Add `ipynb` as input and output format.

* Added Text.Pandoc.Readers.Ipynb (supports both nbformat v3 and v4).

* Added Text.Pandoc.Writers.Ipynb (supports nbformat v4).

* Added ipynb readers and writers to T.P.Readers,
  T.P.Writers, and T.P.Extensions.  Register the
  file extension .ipynb for this format.

* Add `PandocIpynbDecodingError` constructor to Text.Pandoc.Error.Error.

* Note: there is no template for ipynb.
2019-01-22 21:45:59 -08:00
John MacFarlane
4dc732f28f Update stack resolver. 2018-12-16 08:19:11 -08:00
John MacFarlane
80e86109a2 Use compatible version of pandoc-citeproc. 2018-12-02 09:33:50 -08:00
John MacFarlane
6513de055a stack.yaml - use skylighting 0.7.5. 2018-12-01 15:54:57 -08:00
John MacFarlane
8ae18138df Use latest dev version of pandoc-citeproc.
IT allows pandoc 2.5.
2018-11-23 10:21:24 -05:00
John MacFarlane
5d8289665a Clean up stack.yaml, allow latest pandoc-citeproc. 2018-11-13 07:53:29 -08:00
John MacFarlane
16af096a68 stack.yaml - use latest versions of packages.
pandoc-citeproc, HsYaml, yaml.
2018-11-11 14:45:59 -08:00
John MacFarlane
123381765c Use latest texmath. 2018-10-24 12:06:37 -07:00
John MacFarlane
4333556bcf stack.yaml - use latest cmark-gfm, pandoc-citeproc. 2018-10-19 20:28:35 -07:00
John MacFarlane
ebdb2deb0d Updated version bounds for containers and haddock-library.
Allow haddock-library 1.7 and containers 0.6.*.

Closes #4974.
2018-10-17 17:30:14 -07:00
John MacFarlane
ab3e41c822 Use pandoc-citeproc 0.14.7. 2018-10-14 14:49:34 -07:00
John MacFarlane
78871c9b96 Use pandoc-citeproc 0.14.6. 2018-10-13 09:37:45 -07:00
John MacFarlane
2e9a8d207b Require skylighting 0.7.4.
Closes #4920.
2018-10-08 22:48:13 -07:00
Albert Krewinkel
9abdbb2783
Lua filters: report traceback when an error occurs
A proper Lua traceback is added if either loading of a file or execution
of a filter function fails. This should be of help to authors of Lua
filters who need to debug their code.
2018-10-01 16:32:11 +02:00
Albert Krewinkel
56fe5b559e
Use hslua v1.0.0 2018-09-24 20:11:27 +02:00
John MacFarlane
47034fd781 Use released version of pandoc-citeproc (0.14.4). 2018-09-16 20:00:26 -07:00
John MacFarlane
5df45fd1fe Use latest texmath. 2018-09-09 14:38:11 -07:00
John MacFarlane
01f39c5991 stack.yaml tweaks.
Use a patched version of foundation until
https://github.com/haskell-foundation/foundation/pull/503
is fixed.

Use latest pandoc-citeproc.
2018-09-06 23:09:17 -07:00
John MacFarlane
97a176aaaa stack.yaml: use latest dev version of pandoc-citeproc. 2018-09-03 23:50:50 -07:00
John MacFarlane
d0072002f5 Use yaml-0.9.0 in stack.yaml. 2018-08-22 13:40:54 -07:00
John MacFarlane
df22464434 Use latest pandoc-citeproc.
This should fix build failure on appveyor.
2018-08-22 08:33:38 -07:00
John MacFarlane
0d9c0b1b5b stack.yaml: use lts 12.6 and latest git pandoc-citeproc. 2018-08-16 22:03:44 -07:00
John MacFarlane
3e35292707 Revert "Try limiting to aeson-pretty-0.8.5."
This reverts commit ceec41072a.
2018-07-14 12:27:07 -07:00
John MacFarlane
ceec41072a Try limiting to aeson-pretty-0.8.5.
That built before on appveyor...
2018-07-14 12:10:21 -07:00
John MacFarlane
71e55f520e Use latest network.
Hopefully this will build on Windows.
See https://ci.appveyor.com/project/jgm/pandoc/build/1.0.2625/job/tfpvh7rxue26phoq
2018-07-13 10:54:21 -07:00
John MacFarlane
23e6e8e221 Add pandoc-citeproc to stack.yaml. 2018-07-13 10:15:29 -07:00
John MacFarlane
f7485f8850 Use lts-12 for stack.yaml, add stack.lts11.yaml.
Also adjusted some minor versions in extra-deps.
2018-07-13 09:51:13 -07:00
John MacFarlane
b153d028ee Add stack.lts10.yaml, switch to lts11 in stack.yaml. 2018-07-13 09:20:28 -07:00
John MacFarlane
e49b8304e4 Use HsYAML instead of yaml for translations, YAML metadata.
yaml wraps a C library; HsYAML is pure Haskell.
Closes #4747.  Advances #4535.
2018-06-29 23:21:25 +02:00
John MacFarlane
06bcb7c872 Remove network-uri flag and use 'Network.Socket'.
This removes a compiler warning.
There is no need for the old network-uri flag, since
network 2.6 was released in 2014.
2018-06-28 11:51:52 +02:00
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
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
856587ff63 Use latest skylighting; ensure no duplicate ids on code lines.
The line identifiers are built using the code block's identifier
as a prefix. If the code block has null identifier, we use
"cb1", "cb2", etc.

Closes #4031.
2017-11-02 16:03:40 -07:00
John MacFarlane
76886678a6 Use skylighting 0.4.2.
This prevents the problem with extra space around highlighted
code blocks (closes #3996).

Note that we no longer put an enclosing div around highlighted
code blocks.  The pre is the outer element, just as for unhighlighted
blocks.
2017-10-26 15:57:55 -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
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
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
438193197d stack.yaml - use new pandoc-citeproc (from git repo). 2017-09-23 23:02:15 -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
f297659d50 Use lts-9.1 in travis. 2017-08-23 07:11:57 -07:00
John MacFarlane
d70b89c0d9 Use pandoc-types 1.17.1. Tests updated for new simpleTable behavior...
with empty headers.
2017-08-20 23:24:51 -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
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
9c34bb1137 Remove cmark from stack.yaml. 2017-08-09 09:52:40 -07:00
John MacFarlane
2c81c4c218 Added gfm (GitHub-flavored CommonMark) as an input and output format.
This uses bindings to GitHub's fork of cmark, so it should parse
gfm exactly as GitHub does (excepting certain postprocessing
steps, involving notifications, emojis, etc.).

* Added Text.Pandoc.Readers.GFM (exporting readGFM)
* Added Text.Pandoc.Writers.GFM (exporting writeGFM)
* Added `gfm` as input and output forma

Note that tables are currently always rendered as HTML
in the writer; this can be improved when CMarkGFM supports
tables in output.
2017-08-07 16:59:31 -07:00
John MacFarlane
9932d52b53 Use latest cmark. 2017-08-02 09:20:06 -07:00
John MacFarlane
69388d52e3 Use latest texmath. 2017-06-30 20:39:53 +02:00
John MacFarlane
1bf38851dc stack.yaml - Use lts-8.16 resolver. 2017-06-04 18:18:24 +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
Alexander Krotov
9ac9e8d278 stack.yaml: update foundation to 0.0.6 (#3565)
foundation-0.0.4 from lts-8.8 does not build on FreeBSD
2017-04-09 18:19:33 +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
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
John MacFarlane
0e68c55955 stack.yaml: Use texmath-0.9.4. 2017-03-22 15:36:41 +01:00
Albert Krewinkel
f2f6851713 Lua filters (#3514)
* Add `--lua-filter` option.  This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed.  Note that lua filters are all applied after regular filters, regardless of their position on the command line.
* Add Text.Pandoc.Lua, exporting `runLuaFilter`.  Add `pandoc.lua` to data files.
* Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module.
* Add Tests.Lua to tests.
* Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters.
* Document in MANUAL.txt.
2017-03-20 15:17:03 +01:00
John MacFarlane
ebb2acb890 stack.yaml: Use texmath 0.9.3. 2017-03-10 10:15:39 +01:00
John MacFarlane
5418f202df stack.yamls: use lts-8.4 and texmath-0.9.1.1. 2017-03-07 16:47:38 +01:00
John MacFarlane
9925739ba9 Require skylighting 0.3.1. 2017-03-04 10:33:52 +01:00
John MacFarlane
59666f79f3 Use latest skylighting (0.3). 2017-02-20 13:31:15 +01:00
John MacFarlane
42e2ac8536 Use new skylighting-0.2. 2017-02-20 00:31:57 +01:00
John MacFarlane
1e694805a1 stack.yamls: Use lts-8.0. 2017-02-12 19:16:53 +01:00
John MacFarlane
99c2a31749 Version bounds: require skylighting 0.1.1.4, bump bounds for blaze-*. 2017-01-31 14:45:36 +01:00
John MacFarlane
ae8ac926a4 Merge branch 'typeclass' 2017-01-29 22:13:03 +01:00
John MacFarlane
1b416dd12b Use latest skylighting. 2017-01-29 20:53:22 +01:00
John MacFarlane
2bac035632 Rely on skylighting 0.1.1.2. 2017-01-28 23:27:59 +01:00
John MacFarlane
01483f91bd Revert "Added page breaks into Pandoc."
This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14.
2017-01-25 17:07:43 +01:00
John MacFarlane
00f6549629 Added extra-dep: true to stack.yaml for url deps. 2017-01-25 17:07:43 +01:00
John MacFarlane
85b9abc7a3 Compile against pandoc-types 1.18.*. 2017-01-25 17:07:43 +01:00
John MacFarlane
faf4f7818b Use skylighting 0.1.1.1 in stack.yaml. 2017-01-21 23:30:24 +01:00
John MacFarlane
937b502923 Use skylighting 0.1.1.
Closes #3363.
2017-01-19 15:56:19 +01:00
John MacFarlane
9d781b1454 Updates to use skylighting rather than highlighting-kate.
So far this just reproduces capacity.

Later we'll be able to add features like warning
messages, dynamic loading of xml syntax definitions,
and dynamic loading of themes.
2016-12-23 18:07:49 -07:00
John MacFarlane
804bba1b64 stack.yaml - use texmath 0.9 release. 2016-11-30 12:43:23 +01:00
John MacFarlane
ac83d4b806 Use new module from texmath to lookup MS font codepoints.
+ Removed Text.Pandoc.Readers.Docx.Fonts
+ Moved its code to texmath; we now use (from texmath 0.9)
  Text.TeXMath.Unicode.Fonts
+ Use texmath 0.9 (currently from git).
+ Updated epub tests because texmath now handles more mathml.
2016-11-30 00:43:55 +01:00
John MacFarlane
08bf8f2e9d Updated stack.yaml to use lts 7.9 + latest pandoc-citeproc dev. 2016-11-27 20:24:23 +01:00
John MacFarlane
bd71569483 Use lts-7.5 resolver. 2016-10-26 12:32:30 +02:00
John MacFarlane
ea31c9e88b Use lts-7.4 resolver. 2016-10-18 14:46:17 +02:00
John MacFarlane
7a2d9a2646 stack.yaml - use latest pandoc-types. 2016-10-18 14:43:47 +02:00
John MacFarlane
f8603e6df5 Bump pandoc-types versions to 1.17.0.3 in stack.yaml. 2016-10-17 15:05:38 +02:00
John MacFarlane
54d54fc57f Use pandoc-types 1.17.0.2 in stack.yaml. 2016-10-17 13:59:58 +02:00
John MacFarlane
15902b31ab Try travis build with latest dev pandoc-types. 2016-10-17 13:48:20 +02:00
John MacFarlane
e298dc2065 BUmp pandoc-types version in stack.yamls. 2016-10-17 09:57:55 +02:00
John MacFarlane
8625ff21a9 Update stack.yamls to use pandoc-types 1.17 release. 2016-10-16 22:18:03 +02:00
John MacFarlane
b5c0eeb3ca Use newest pandoc-types from repo. 2016-10-13 21:01:28 +02:00
John MacFarlane
6156cdda13 Update stack.yaml files. 2016-10-13 13:02:18 +02:00
John MacFarlane
354c4ab04f Updated stack.yaml and windows/stack.yaml to use latest pandoc-types. 2016-10-13 11:51:44 +02:00
John MacFarlane
c28c16d463 Use doctemplates 0.1.0.2. 2016-10-02 12:29:37 +02:00
John MacFarlane
fcb45c3505 Use doctemplates 0.1.0.1. 2016-10-02 11:07:10 +02:00
John MacFarlane
5ec9b6352c Moved template compiling/rendering code to a separate library.
jgm/doctemplates.

This allows the pandoc templating system to be used independently.
2016-10-02 09:30:26 +02:00
John MacFarlane
c1d26a20cc Use lts-7.0 in stack.yaml files. 2016-09-23 12:50:56 +02:00
John MacFarlane
d2464de2af Use texmath 0.8.6.5. Closes #3040. 2016-07-24 10:56:19 -07:00
John MacFarlane
e9c20314d0 Use cmark-0.5.3.1 in stack.yaml. 2016-07-16 08:49:46 -07:00
John MacFarlane
c2bcefb39e Use cmark-0.5.3 in stack.yaml. 2016-07-15 12:32:25 -07:00
John MacFarlane
75a9ba5dca Use pandoc-citeproc-0.10.1 for packages. 2016-07-14 22:57:58 -07:00
John MacFarlane
106786ef1b stack.yaml - use ghc 8.01 and nightly. 2016-07-13 23:03:08 -07:00
John MacFarlane
374614aaf7 Depend on http-client 0.5, http-client-tls 0.3 2016-07-04 10:23:37 -07:00
John MacFarlane
44ce21e134 stack.yaml: use 6.5 resolver. 2016-07-03 11:54:11 -07:00
John MacFarlane
b06d6c1ff8 Update texmath lower bound. 2016-06-22 11:45:32 -07:00
John MacFarlane
dc0ade3513 Use windows/stack.yaml for appveyor build.
Use released pandoc-citeproc, not git.
2016-06-03 13:41:48 -07:00
John MacFarlane
a0fae92847 Require texmath 0.8.6.2.
Closes several texmath-related bugs:  #2775, #2310, #2310.

This fixes issues with sub/superscript positioning and
matrix column alignment in docx.
2016-04-20 15:05:41 -07:00
John MacFarlane
b8ce756b41 rtack.yaml: use data-default 0.6.0. 2016-04-18 15:33:30 -07:00
John MacFarlane
32ecd195bd Use texmath >= 0.8.6.1.
This fixes behavior of roots, e.g. `\sqrt[3]{x}`.
See #2824.
2016-03-29 22:57:37 -07:00
John MacFarlane
3dadc1b1bd Use lts-5.8 resolver. 2016-03-19 14:16:08 -07:00
John MacFarlane
134a5e52a1 Fixed stack.yaml. 2016-02-17 11:10:12 -08:00
John MacFarlane
09bc31a7cc stack.yaml: Added commented-out commands to compile against aeson 0.11.
This has been tested.
2016-02-10 10:29:35 -08:00
John MacFarlane
52794d8d52 Removed aeson extra-dep from stack.yaml. 2016-02-09 17:28:37 -08:00
John MacFarlane
1aaf4b8c83 Changed aeson version in stack.yaml to 0.11.0.0. 2016-02-09 14:08:51 -08:00
John MacFarlane
522f8f3b47 Updated to lts-5.2 resolver, aeson 0.11 in stack.yaml. 2016-02-09 09:34:51 -08:00
John MacFarlane
d0152847d7 stack.yaml - use cmark 0.5.1. 2016-01-22 21:18:19 -08:00
Matthew Eddey
1730e63950 Update stack.yaml
Another typo?
2016-01-07 16:22:53 -08:00
John MacFarlane
c30ad6f1ce stack.yaml - use older aeson to avoid excessive memory use on compile. 2016-01-07 14:16:37 -08:00
John MacFarlane
f6fe430400 stack.yaml, stack.full.yaml - use lts-4.0 resolver. 2016-01-06 14:52:30 -08:00
John MacFarlane
73d1175838 stack.yaml: bump pandoc-types version to 1.16.0.1. 2016-01-06 10:44:38 -08:00
John MacFarlane
4edd1a7873 Updated stack.yaml files.
Use latest resolver.
Use latest pandoc-citeproc and pandoc-types release.
2016-01-02 12:37:23 -08:00
John MacFarlane
a2fa46065d stack.yaml - use simpler extra-deps field. 2015-12-30 13:27:17 -08:00
John MacFarlane
b27783e2ec Use cmark 0.5.
Closes #2605.
2015-12-29 19:52:06 -08:00
John MacFarlane
36c589a21e Use lts-3.18 in stack.yamls. 2015-12-13 16:35:16 -08:00
John MacFarlane
60d383e27e Update to use latest releases of highlighting-kate and texmath. 2015-12-12 16:35:25 -08:00
John MacFarlane
9ce70291c8 stack.yaml - use latest pandoc-types. 2015-12-12 13:25:56 -08:00
John MacFarlane
af7e782436 Modified readers to emit SoftBreak when appropriate. 2015-12-12 09:31:51 -08:00
John MacFarlane
d9c2f500bf Updated pandoc-types commit in stack.yaml 2015-12-12 01:00:41 -08:00
John MacFarlane
83c56bd1ef stack.yaml: Use pandoc-types commit with SoftBreak. 2015-12-11 15:28:56 -08:00
John MacFarlane
b288884ed9 Update texmath version in stack.yaml. 2015-12-11 13:59:55 -08:00
John MacFarlane
cf476fbc37 Use latest texmath dev version in stack.yaml. 2015-12-11 13:33:13 -08:00
John MacFarlane
ad6578f673 Use lts-3.16. 2015-12-01 22:55:42 -08:00
John MacFarlane
244cd5644b Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into mb21-new-image-attributes
* Bumped version to 1.16.
* Added Attr field to Link and Image.
* Added `common_link_attributes` extension.
* Updated readers for link attributes.
* Updated writers for link attributes.
* Updated tests
* Updated stack.yaml to build against unreleased versions of
  pandoc-types and texmath.
* Fixed various compiler warnings.

Closes #261.

TODO:

* Relative (percentage) image widths in docx writer.
* ODT/OpenDocument writer (untested, same issue about percentage widths).
* Update pandoc-citeproc.
2015-11-19 23:14:23 -08:00
John MacFarlane
cc062e7a23 Use lts-3.13 resolver. 2015-11-14 13:50:00 -08:00
John MacFarlane
ea8da02cc7 stack.yaml : use 3.10 resolver. 2015-10-18 11:30:45 -07:00
John MacFarlane
0715c5cbed Changed stack.yaml to use latest resolver (3.9). 2015-10-12 22:04:30 -07:00
John MacFarlane
d25a37c122 Allow aeson 0.10. 2015-09-20 13:19:16 -07:00
John MacFarlane
7f515add58 stack.yaml - bump to latest LTS Stackage. 2015-09-09 09:58:09 -07:00
John MacFarlane
a0ddabb206 stack-yaml: use lts 3.1 resolver. 2015-08-16 20:48:06 -07:00
John MacFarlane
e380cc7f7a Added a stack.yaml. 2015-08-13 09:22:08 -07:00