John MacFarlane
3800cb3d42
Merge pull request #2912 from tarleb/org-export-settings
...
Org reader: basic support for export settings
2016-05-11 13:36:02 -07:00
Albert Krewinkel
7a0729ea09
Org reader: move parser state into separate module
...
The org reader code has become large and confusing. Extracting smaller
parts into submodules should help to clean things up.
2016-05-11 19:13:42 +02:00
John MacFarlane
285bbf61cf
New method for checking for presence of tex program.
...
Now instead of using `findExecutable`, which has limitations
on Windows, we just do `progname --version` and see if it
returns successfully. Closes #2903 .
2016-05-09 20:52:20 -07:00
John MacFarlane
cc9a9c7150
Added docbook5 templates, test files to pandoc.cabal.
2016-05-01 23:02:22 -07:00
John MacFarlane
52f94cff48
Bump version to 1.17.1.
...
We need a minor version bump because of the addition
of `writerDocbook5` to `WriterOptions`.
2016-05-01 22:48:49 -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
e053865746
Allow data-default 0.6.0.
2016-04-18 15:00:00 -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
1de993c64a
Bump version to 1.17.0.3.
2016-03-24 08:59:06 -07:00
Mauro Bieg
30ceb235ce
include .tei files in pandoc.cabal
...
closes #2811
2016-03-24 13:41:12 +01:00
John MacFarlane
499985c1a3
Updated copyright dates to include 2016.
2016-03-22 17:20:39 -07:00
John MacFarlane
e36e692e6b
Version bump to 1.17.0.2.
2016-03-22 17:05:22 -07:00
John MacFarlane
edcb8b6169
Version to 1.17.0.1.
2016-03-21 15:34:56 -07:00
Jesse Rosenthal
a7a0b452a5
Docx Reader: Get rid of Modifiable typeclass.
...
The docx reader used to use a Modifiable typeclass to combine both
Blocks and Inlines. But all the work was in the inlines. So most of the
generality was wasted, at the expense of making the code harder to
understand. This gets rid of the generality, and adds functions for
Blocks and Inlines. It should be a bit easier to work with going forward.
2016-02-26 08:57:53 -05:00
John MacFarlane
38bd4162fe
Allow zip-archive 0.3.
2016-02-24 20:42:28 -08:00
John MacFarlane
0180807a6c
Raise tagsoup lower bound to 0.13.7.
...
This fixes entity-related problems.
Closes #2734 .
2016-02-22 09:59:11 -08:00
John MacFarlane
e552a14bf9
Allow aeson 0.11.
2016-02-09 09:30:36 -08:00
John MacFarlane
f35fa88e21
Bump version to 1.17.
...
API change in type of Text.Pandoc.Shared.uniqueIdent.
2016-01-22 10:20:58 -08:00
John MacFarlane
5b31790199
Added TEI to description and default.tei to data files.
2016-01-21 15:31:12 -08:00
csforste
25a9ca697a
Add TEI Writer.
2016-01-19 14:03:57 -05:00
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