John MacFarlane
3004306c3d
Version to 1.16.0.2, updated changelog.
2016-01-12 23:48:06 -08:00
John MacFarlane
f34382ef2c
Depend on deepseq rather than deepseq-generics.
...
See fpco/stackage#1096 .
2016-01-11 12:49:28 -08:00
John MacFarlane
687c39e4c0
Version bump to 1.16.0.1
2016-01-09 13:13:28 -08:00
John MacFarlane
197f301795
Revert "Make file globbing work on windows."
...
This reverts commit 363ecfebc3
.
2016-01-06 11:11:59 -08:00
John MacFarlane
363ecfebc3
Make file globbing work on windows.
...
Windows cmd doesn't expand wildcards; the application has to
do this. So on windows we use 'glob' to expand.
2016-01-06 10:44:56 -08:00
John MacFarlane
a81b0932e5
Go back to testing with ghc 7.10.2.
...
Avoids the dreaded "the version of cabal being used has
changed" error.
https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/
2016-01-05 13:57:35 -08:00
John MacFarlane
694eb87b48
Updated .travis.yml, added ghc 7.10.3 to tested-with.
2016-01-05 10:51:16 -08:00
John MacFarlane
8908205fab
Allow process 1.4
2016-01-01 20:36:58 -08:00
John MacFarlane
cfa6f9f3ab
Allow binary 0.8
2016-01-01 20:35:38 -08:00
John MacFarlane
5f814b6376
Relax version bound on HTTP.
2016-01-01 20:23:42 -08:00
John MacFarlane
b27783e2ec
Use cmark 0.5.
...
Closes #2605 .
2015-12-29 19:52:06 -08:00
John MacFarlane
c16efea983
Removed "compatibility mode" when called as hsmarkdown.
2015-12-14 11:21:54 -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
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
0555d028b5
Bump version to 1.15.2.1. Updated changelog.
2015-11-16 07:40:08 -08:00
John MacFarlane
bfea92273d
Added stack.yaml to other-source-files so it gets into tarball.
2015-11-16 07:02:04 -08:00
John MacFarlane
23c6f0c4fe
Added two missing test cases to extra-source-files in pandoc.cabal.
...
Otherwise they don't get into the tarball. Closes #2537 .
2015-11-16 06:44:03 -08:00
John MacFarlane
a63cb7ea0b
Allow process 1.3.
2015-11-14 13:50:00 -08:00
John MacFarlane
0a6aaf5e1b
Added emoji
extension to Markdown.
...
This is enabled by default in `markdown_github`.
Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change).
Closes #2523 .
2015-11-13 12:14:24 -08:00
John MacFarlane
193f00bc33
Bump version to 1.15.2.
2015-11-12 18:52:12 -08:00
John MacFarlane
c1e474f005
Restored Text.Pandoc.Compat.Monoid.
...
Don't use custom prelude for latest ghc.
This is a better approach to making 'stack ghci' and 'cabal repl'
work. Instead of using NoImplicitPrelude, we only use the custom
prelude for older ghc versions. The custom prelude presents a
uniform API that matches the current base version's prelude.
So, when developing (presumably with latest ghc), we don't
use a custom prelude at all and hence have no trouble with ghci.
The custom prelude no longer exports (<>): we now want to
match the base 4.8 prelude behavior.
2015-11-09 11:19:25 -08:00
John MacFarlane
23b693c029
Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."
...
This reverts commit c423dbb5a3
.
2015-11-09 10:08:22 -08:00
John MacFarlane
777d717d22
Revert "Use Default-extensions rather than ghc-options for NoImplicitPrelude."
...
This reverts commit 67cabb2a0d
.
2015-11-09 10:08:14 -08:00
John MacFarlane
384d03dcfe
Revert "Give up support for ghc 7.4."
...
This reverts commit e0c83f74f3
.
2015-11-09 10:07:52 -08:00
John MacFarlane
e0c83f74f3
Give up support for ghc 7.4.
2015-11-08 21:43:31 -08:00
John MacFarlane
67cabb2a0d
Use Default-extensions rather than ghc-options for NoImplicitPrelude.
...
To satisfy 'cabal check'.
2015-11-08 21:10:31 -08:00
John MacFarlane
c423dbb5a3
Use -XNoImplicitPrelude and 'import Prelude' explicitly.
...
This is needed for ghci to work with pandoc, given that we
now use a custom prelude.
Closes #2503 .
2015-11-08 16:56:59 -08:00
John MacFarlane
3b4d5d26a5
Change default for old-locale flag to False.
2015-10-27 23:26:02 -07:00
John MacFarlane
a777c6e2ae
Added Paths_pandoc to other-modules for executable stanza.
2015-10-24 22:11:46 -07:00
John MacFarlane
7f5a677bbf
Version bump to 1.15.1.1, updated changelog.
2015-10-17 22:23:37 -07:00
John MacFarlane
6dc3b6585d
More changes to avoid compiler warnings on ghc 7.10.
...
* CPP around deprecated `parseTime`.
* Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time,
now exports Data.Time.
2015-10-14 10:06:18 -07:00
John MacFarlane
82b3e0ab97
Use custom Prelude to avoid compiler warnings.
...
- The (non-exported) prelude is in prelude/Prelude.hs.
- It exports Monoid and Applicative, like base 4.8 prelude,
but works with older base versions.
- It exports (<>) for mappend.
- It hides 'catch' on older base versions.
This allows us to remove many imports of Data.Monoid
and Control.Applicative, and remove Text.Pandoc.Compat.Monoid.
It should allow us to use -Wall again for ghc 7.10.
2015-10-14 09:09:10 -07:00
John MacFarlane
2c15b1fcac
Added ghc-prim to build-depends.
...
This is needed for the Generic instance of PandocError.
Closes #2448 .
2015-10-12 14:28:11 -07:00
John MacFarlane
72b038d201
Merge pull request #2412 from frerich/reader/docbook/xref_support
...
Added support for <xref> tag in DocBook reader
2015-10-10 14:18:28 -07:00
John MacFarlane
70ebccf93b
Updated benchmark program.
2015-10-09 18:08:47 -07:00
John MacFarlane
3687dc36d5
Test also on ghc 7.4.2.
...
Made make_travis_yml.hs a bit more robust.
2015-10-09 14:44:32 -07:00
John MacFarlane
c13494c808
New .travis.yml.
...
Autgenerated using make_travis_yml.hs.
This script has been modified to add GHCOPTS.
'make .travis.yml' regenerates it based on the tested-with
field of the cabal file.
2015-10-08 13:39:32 -07:00
John MacFarlane
db936f7233
Allow http-types 0.9.
2015-10-06 09:14:32 -07:00
John MacFarlane
747a7a4cf8
Allow HUnit 1.3
2015-10-03 16:19:53 -07:00
Frerich Raabe
35f12b5095
Added proper support for DocBook 'xref' elements
...
'xref' is used to create cross references to other parts of the
document. It is an empty element - the cross reference text depends on
various attributes. Quoting 'DocBook: The Definitive Guide':
1. If the endterm attribute is specified on xref, the content of the
element pointed to by endterm will be used as the text of the
cross-reference.
2. Otherwise, if the object pointed to has a specified XRefLabel, the
content of that attribute will be used as the cross-reference text.
2015-09-24 18:26:55 +02:00
John MacFarlane
0c7d6fbaba
Allow syb 0.6.
2015-09-23 12:30:14 -07:00
John MacFarlane
d25a37c122
Allow aeson 0.10.
2015-09-20 13:19:16 -07:00
John MacFarlane
73824908aa
Added --bash-completion
option.
...
This generates a bash completion script.
To use:
eval "$(pandoc --bash-completion)"
2015-08-13 15:27:47 -07:00
John MacFarlane
50dddecb53
Update version to 1.15.1.
2015-08-10 16:38:16 -07:00
John MacFarlane
609c8231da
Allow latest criterion version.
2015-08-10 16:02:00 -07:00
John MacFarlane
74c31abb1a
Merge pull request #2327 from hftf/list-style
...
HTML Reader: Correctly parse inline list-style(-type) for <ol>
2015-08-07 11:08:53 -07:00
John MacFarlane
b08330be86
Require pandoc-types >= 1.14
2015-07-27 21:53:09 +02:00
Ophir Lifshitz
7ef8700734
HTML Reader: Parse <ol> type, class, and inline list-style(-type) CSS
2015-07-24 02:53:17 -04:00
John MacFarlane
2b68f7af15
Updated README and cabal description for ODT reader.
2015-07-23 15:54:18 -07:00
MarLinn
f068093555
Added odt reader
...
Fully implemented features:
* Paragraphs
* Headers
* Basic styling
* Unordered lists
* Ordered lists
* External Links
* Internal Links
* Footnotes, Endnotes
* Blockquotes
Partly implemented features:
* Citations
Very basic, but pandoc can't do much more
* Tables
No headers, no sizing, limited styling
2015-07-23 15:37:01 -07:00