John MacFarlane
bfb6b61084
Allow directory 1.3. Closes #3325 .
2016-12-23 14:14:10 -07:00
John MacFarlane
00e83be0cf
Version to 1.19.1
2016-12-10 11:29:48 +01:00
John MacFarlane
9b9ec99ee8
We no longer need the MathMLInHTML.js shim from 2004!
2016-12-09 21:18:02 +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
92a78d7d79
Version to 1.19.
2016-11-27 17:49:54 +01:00
John MacFarlane
aabf10b8bd
Added weigh-pandoc for memory usage diagnostics.
...
See #3169 .
2016-11-18 14:03:33 +01:00
John MacFarlane
3a255447fe
Version to 1.18.
2016-10-26 12:24:55 +02:00
John MacFarlane
bb20f919c3
Added INSTALL.md, incorporating INSTALL + installing page from website.
2016-10-25 16:36:17 +02:00
John MacFarlane
738806112b
Allow binary formats to be written to stdout unless tty output.
...
Only works on posix. On Windows, pandoc works as before and
requires an output file parameter for binary formats.
Closes #2677 .
2016-10-23 22:16:00 +02:00
John MacFarlane
4851986187
Merge pull request #3158 from ickc/COPY-LICENSE
...
Use the markdown version of COPYING from GNU
2016-10-19 14:08:56 +02:00
Kolen Cheung
4b51ed3823
Download markdown version of the license from GNU and rename to COPYING.md
...
From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
2016-10-19 04:11:36 -07:00
John MacFarlane
a85e8fe532
Allow latest HUnit.
2016-10-18 10:25:23 +02:00
Jesse Rosenthal
49b0b67b11
Remove Tests.Arbitrary
...
Use exported Arbitrary instances from pandoc-types instead.
2016-10-14 09:22:29 -04:00
John MacFarlane
6d13567ac5
Allow http-client 0.4.30, which is the version in stackage lts.
...
Previously we required 0.5.
Remove CPP conditionals for earlier versions.
2016-10-13 13:01:49 +02:00
Albert Krewinkel
63966f6375
Bump required pandoc-types version to 1.17
2016-10-13 08:46:45 +02:00
John MacFarlane
a99d81dce3
Revert overhasty bounds change for pandoc-types.
2016-10-02 20:58:24 +02:00
John MacFarlane
c28c16d463
Use doctemplates 0.1.0.2.
2016-10-02 12:29:37 +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
fd3520b97a
Bump to 1.17.3
2016-09-23 12:20:34 +02:00
Jesse Rosenthal
3f8d3d844f
Remove TagSoup compat
...
We already lower-bound tagsoup at 0.13.7, which means we were always
running the compatibility layer (it was conditional on min value
0.13). Better to just use `lookupEntity` from the library directly, and
convert a string to a char if need be.
2016-09-02 12:28:53 -04:00
Albert Krewinkel
c9a631e4eb
Remove GHC 7.6 from list of tested versions
...
GHC versions below 7.8 are no longer supported nor tested.
2016-09-02 16:58:59 +02:00
Jesse Rosenthal
eee780b943
Bump base lower bound to 4.7
...
We are dropping support for ghc < 7.8.
2016-09-02 09:18:10 -04:00
Jesse Rosenthal
99d5d1c5c7
Bump base lower bound to 4.6 (ghc 7.6)
2016-09-02 09:18:09 -04:00
Jesse Rosenthal
121e3dfb64
Change constraint on mtl.
2016-09-02 09:18:09 -04:00
Jesse Rosenthal
f72e3b58e8
Remove directory compat
...
directory 1.1 depends on base 4.5 (ghc 7.4) which we are no longer
supporting. So we don't have to use a compatibility layer for it.
2016-09-02 09:18:09 -04:00
Jesse Rosenthal
7f676b534a
Remove Text.Pandoc.Compat.Except
2016-09-02 09:18:09 -04:00
Jesse Rosenthal
45c7108b4f
Remove Compat.Monoid
...
This was only necessary for GHC versions with base below 4.5
(i.e., ghc < 7.4).
2016-09-02 09:18:08 -04:00
Albert Krewinkel
bed5f700ce
Org reader: extract meta parsing code to module
...
Parsing of meta-data is well separable from other block parsing tasks.
Moving into new module to get small files and clearly arranged code.
2016-08-29 14:10:51 +02:00
John MacFarlane
b7b5458450
Allow aeson 1.0.*.
2016-08-20 22:56:27 +02:00
John MacFarlane
d2464de2af
Use texmath 0.8.6.5. Closes #3040 .
2016-07-24 10:56:19 -07:00
Albert Krewinkel
a396003a31
Rename README to MANUAL.txt
2016-07-20 21:16:45 +02:00
John MacFarlane
d7396e73b4
Don't require haddock-library 1.4.
...
Instead use CPP to work around version differences.
2016-07-15 12:04:00 -07:00
John MacFarlane
d21701f66c
Require haddock-library >= 1.4.
...
This has math support, DocMathInline and DocMathDisplay.
2016-07-14 23:09:28 -07:00
John MacFarlane
d5c3551276
Version to 1.17.2.
2016-07-14 10:26:00 -07:00
John MacFarlane
418ad5cc81
Allow QuickCheck 2.9.
2016-07-11 08:34:35 +01:00
John MacFarlane
374614aaf7
Depend on http-client 0.5, http-client-tls 0.3
2016-07-04 10:23:37 -07:00
Albert Krewinkel
c1f6bd2640
Org reader: put export setting parser into module
...
Export option parsing is distinct enough from general block parsing to
justify putting it into a separate module.
2016-07-02 13:14:09 +02:00
Alex Ivkin
7fdcd9a6e2
Added ZimWiki format to documentation and cabal description.
2016-07-01 00:12:25 -07:00
Alex Ivkin
a73c95f61d
Added Zim Wiki writer, template and tests.
2016-06-30 23:59:43 -07:00
John MacFarlane
b06d6c1ff8
Update texmath lower bound.
2016-06-22 11:45:32 -07:00
Felix Yan
f0265d4f34
Allow tagsoup 0.14
...
Building with the new release went fine here, and it works correctly.
2016-06-14 07:44:09 -05:00
John MacFarlane
20c0366ad8
Removed -rtsopts from library stanza.
...
It has no effect, and Hackage wouldn't accept the package.
2016-06-04 15:21:56 -07:00
John MacFarlane
34510949ca
Travis: test with ghc 8.0.1, remove testing with ghc 7.4.
2016-06-04 07:36:15 -07:00
John MacFarlane
4bc0f121c9
Require latest highlighting-kate.
2016-06-03 13:13:47 -07:00
Albert Krewinkel
512bf2eebf
Org reader: undo code duplication
...
Some code was duplicated (copy-pasted) or placed in an inappropriate
module during the modularization refactoring. Those functions are moved
into a `Shared` module, as was originally intended but forgotten.
Better documentation of the respective functions is a positive
side-effect.
2016-06-02 15:30:20 +02:00
Albert Krewinkel
eea6d6568f
Org reader: extract blocks parser to module
...
Block parsing code is moved to a separate module.
This is part of the Org-mode reader cleanup effort.
2016-05-25 23:21:40 +02:00
Albert Krewinkel
39e8b4276e
Org reader: extract inline parser to module
...
Inline parsing code is moved to a separate module. Parsers for block
starts are extracted as well, as those are used in the `endline` parser.
This is part of the Org-mode reader cleanup effort.
2016-05-25 22:54:45 +02:00
Albert Krewinkel
a340c7249f
Org reader: extract parsing function to module
...
The Org-mode reader uses many functions defined in the
`Text.Pandoc.Parsing` utility module. Some of the functions are
overwritten with versions adapted to Org-mode idiosyncrasies. These
special functions, as well as the normal Pandoc versions, are combined
in a single module to increase the ease of use.
This leads to decoupling of Org-mode and Pandoc and hence to slightly
cleaner code. The downside is code-bloat due to repeated import/export
statements.
2016-05-25 22:53:55 +02:00
John MacFarlane
e3ca9793aa
Bumped upper-bounds to build with ghc 8.
2016-05-22 09:21:49 -07:00
John MacFarlane
054e6abd0d
Revert "New method for checking for presence of tex program."
...
This reverts commit 285bbf61cf
.
2016-05-12 21:01:30 -07:00
John MacFarlane
1b8d006ac8
Revert "Require process >= 1.2.1."
...
This reverts commit 07a4320ba9
.
2016-05-12 20:59:08 -07:00
John MacFarlane
07a4320ba9
Require process >= 1.2.1.
...
We need `createProcess_` to be exported.
2016-05-12 11:08:56 -07:00
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
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
John MacFarlane
0c83c391db
Version bump to 1.15.0.6.
2015-07-15 08:58:06 -07:00
John MacFarlane
6c32afc3c4
Updated to use cmark >= 0.4.
2015-07-14 22:51:23 -07:00
John MacFarlane
dce6a7388a
Allow vector 0.11.
2015-07-14 09:23:47 -07:00
John MacFarlane
5f730ee804
Version bump to 1.15.0.5 and updated changelog.
2015-07-09 22:50:13 -07:00
John MacFarlane
f1103f8f69
Make cabal require hsb2hs >= 0.3.1.
...
This is done by adding `hookedPrograms` in `Setup.hs`,
which allows us to include `hsb2hs` in Build-Tools in cabal.
2015-07-05 13:50:10 -07:00
John MacFarlane
79764df2d5
Added pandoc.1 to repository. Don't build as part of cabal build.
...
The process was too fragile. It made too many assumptions about
available libraries (which failed sometimes when sandboxes were
used). This is a low-tech solution. The only drawback is that
`man/pandoc.1` is a generated file in the repository. It will need
to be regenerated periodically when README changes.
2015-07-02 22:12:38 -07:00
John MacFarlane
a945d702c0
Bump version to 1.15.0.4.
2015-07-02 20:48:31 -07:00
John MacFarlane
9044229531
Bump version to 1.15.0.3, updated changelog.
2015-07-02 09:32:45 -07:00
John MacFarlane
f30b2d4629
Version bump to 1.15.0.2, updated changelog.
2015-07-02 08:13:28 -07:00
John MacFarlane
dce8dd6e6b
Added man page source files to extra-source-files.
2015-07-02 08:01:22 -07:00
John MacFarlane
49da3e70cd
Bump version to 1.15.0.1, update changelog.
2015-07-01 18:05:00 -07:00
John MacFarlane
9ffd1babc7
Install man pages as part of cabal 'copy' phase.
2015-07-01 18:01:21 -07:00
John MacFarlane
28cb50503b
Generate man page in cabal build process and include in data/.
...
The pandoc.1 man page is generated automatically after the cabal
build process. It goes in `data/pandoc.1`. It can be obtained
by the user who installs pandoc via cabal thus:
pandoc --print-default-data-file pandoc.1 > pandoc.1
2015-07-01 16:29:44 -07:00
John MacFarlane
a04c15a422
New method for building man pages.
...
+ Removed `--man1`, `--man5` options (breaking change).
+ Removed `Text.Pandoc.ManPages` module (breaking API change).
+ Version bump to 1.15 because of the breaking changes, even
though they involve features that have only been in pandoc
for a day.
+ Makefile target for `man/man1/pandoc.1`. This uses pandoc to
create the man page from README using a custom template and filters.
+ Added `man/` directory with template and filters needed to build
man page.
+ We no longer have two man pages: pandoc.1 and pandoc_markdown.5.
Now there is just pandoc.1, which has all the content from README.
This change was needed because of the extensive cross-references
between parts of the README.
+ Removed old `data/pandoc.1.template` and
`data/pandoc_markdown.5.template`.
2015-07-01 11:27:15 -07:00
John MacFarlane
fe625e053d
New method for producing man pages.
...
This change adds `--man1` and `--man5` options to pandoc, so
pandoc can generate its own man pages.
It removes the old overly complex method of building a separate
executable (but not installing it) just to create the man pages.
The man pages are no longer automatically created in the build
process.
The man/ directory has been removed. The man page templates
have been moved to data/.
New unexported module: Text.Pandoc.ManPages.
Text.Pandoc.Data now exports readmeFile, and `readDataFile`
knows how to find README.
Closes #2190 .
2015-06-28 14:39:17 -07:00
John MacFarlane
3e5b4faaf2
Version bump to 1.14.1.
...
Because of the addition of `Options.plainExtensions`.
2015-06-28 11:58:50 -07:00
John MacFarlane
ed9a118b54
Fixed regression in CSS parsing with --self-contained
.
...
In 1b44acf0c5
we replaced some
hackish CSS parsing with css-text, which I thought was a complete
CSS parser. It turns out that it is very buggy, which results
in lots of things being silently dropped from CSS when
`--self-contained` is used (#2224 ).
This commit replaces the use of css-text with a small but
more principled css preprocessor, which only removes whitespace
and replaces URLs with base 64 data when possible.
Closes #2224 .
2015-06-28 11:54:18 -07:00
Pablo Rodríguez
c18e93ca6e
replace old url with pandoc.org
2015-06-09 22:22:58 +02:00
John MacFarlane
70b76bb633
Bump cmark version to >= 0.3.4.
2015-06-08 13:37:11 -07:00
John MacFarlane
bbd429ae70
Version bump to 1.14.0.4, added commonmark template to data files.
2015-06-02 13:23:32 +02:00
John MacFarlane
a367107483
Bump version to 1.14.0.3; updated changelog.
2015-06-01 10:39:00 +02:00
John MacFarlane
a75998ba24
Allow compilation with syb 0.5.*.
2015-05-31 21:18:39 +02:00
John MacFarlane
cb339c7425
Bump to 1.14.0.2, updated changelog.
2015-05-31 14:10:25 +02:00
John MacFarlane
c327b283c1
Allow building with hslua 0.4.
2015-05-31 13:57:14 +02:00
John MacFarlane
b241472a90
Better fix for #2187 .
...
* Reverted kludgy change to make-windows-installer.bat.
* Removed make-reference-fiels.hs.
* Moved the individual ingredients of reference.docx and
reference.odt to the data directory.
* Removed reference.docx and reference.odt from data directory.
* We now build the reference archives from their ingredient pieces
in the docx and odt writers, instead of having a reference.docx
or reference.odt intermediary.
This should fix #2187 .
It also simplifies the bulid procedure.
The one thing users may notice is different is that you can
no longer get the reference.docx or reference.odt using
`--print-default-data-file`. Instead, simply generate a
docx or odt using pandoc with a blank or minimal input,
and use that (or a customized version) with `--reference-docx`
or `--reference-odt`.
2015-05-28 18:15:01 -07:00
John MacFarlane
3b2ca81b8d
Added filepath dependency to make-reference-files.
2015-05-28 10:12:37 -07:00
John MacFarlane
43371a96e5
Bump version to 1.14.0.1.
2015-05-28 10:00:20 -07:00
John MacFarlane
a10cf0d080
Don't include generated man pages in extra-source-files.
...
See 3f20fb3f9f
.
Closes #2189 .
2015-05-28 09:02:58 -07:00
John MacFarlane
ed43a90259
Bump upper bound for aeson.
2015-05-28 08:46:22 -07:00
John MacFarlane
1daa26468c
Require cmark-hs >= 0.3.3 ( fixes #2175 ).
2015-05-26 17:23:32 -07:00
John MacFarlane
21b83a14fa
Require highlighting-kate 0.6.
2015-05-26 16:52:33 -07:00
John MacFarlane
e06810499e
HTML reader: Support base tag.
...
We only support the href attribute, as there's no place for
"target" in the Pandoc document model for links.
Added HTML reader test module, with tests for this feature.
Closes #1751 .
2015-05-13 20:53:19 -07:00
John MacFarlane
1b44acf0c5
SelfContained: properly handle data URIs in css urls.
...
Also use a proper css parser (adds dependency on text-css).
Closes #2129 .
2015-05-04 16:00:28 -07:00
John MacFarlane
1868cb5e42
Updated copyright notices to -2015. Closes #2111 .
2015-04-26 10:18:29 -07:00
RyanGlScott
b65238b412
Bump zlib upper version bounds
2015-04-20 13:52:48 -05:00
John MacFarlane
44fcc5f96e
Merge pull request #2079 from lierdakil/rst-normalize-headings
...
RST Writer: Normalize headings to sequential levels
2015-04-17 19:06:25 -07:00
Nikolay Yakimov
4b7ddeb63f
RST Writer: Tests for rubrics and heading normalization
2015-04-16 19:27:33 +03:00
John MacFarlane
693bc5f50f
Bump texmath lower bound to 0.8.1
2015-04-13 21:25:06 -07:00
John MacFarlane
ccb828894b
Added CommonMark writer.
...
Added `Text.Pandoc.Writers.CommonMark`, exporting
`writeCommonMark`.
2015-03-29 23:42:42 -07:00
John MacFarlane
cbe32c2aeb
Require cmark 0.3.1.
2015-03-29 23:42:42 -07:00
John MacFarlane
3f20fb3f9f
Always build man pages. Removed make-pandoc-man-pages flag.
...
Updated INSTALL instructions.
Makefile: removed man target, now that we generate man pages by default.
2015-03-28 15:40:50 -07:00
John MacFarlane
524d284b88
Added images needed for docx tests to cabal extra-source-files.
2015-03-28 15:40:50 -07:00
John MacFarlane
07cc0079f7
Added source files for reference.docx/odt to extra-source-files.
2015-03-28 14:22:04 -07:00
John MacFarlane
db28a39ba6
Added Tests.Writers.Docx to cabal file.
2015-03-28 14:12:18 -07:00
John MacFarlane
f986d78c7c
Version bump to 1.14.
...
This is because of the significant API changes in the reader
types. (They now return an Either value.)
2015-03-28 13:48:53 -07:00
John MacFarlane
6a3a04c428
Merge branch 'errortype' of https://github.com/mpickering/pandoc into mpickering-errortype
...
Conflicts:
benchmark/benchmark-pandoc.hs
src/Text/Pandoc/Readers/Markdown.hs
src/Text/Pandoc/Readers/Org.hs
src/Text/Pandoc/Readers/RST.hs
tests/Tests/Readers/LaTeX.hs
2015-03-28 12:12:48 -07:00
Nikolay Yakimov
d744b83b61
Create reference files from unpacked archives with helper program
2015-03-28 10:36:53 -07:00
John MacFarlane
b5b11f31a6
Fixed ghc-prof-options.
2015-03-28 10:10:14 -07:00
John MacFarlane
3f89e3f332
Require highlighting-kate >= 0.5.14
...
This ensures that all code blocks will be wrapped in a div
with class sourceCode. Also, the default highlighting CSS
now adds `div.sourceCode { x-overflow: auto; }`, which means
that code blocks (even with line numbers) will acquire a scroll
bar on screens too small to display them (e.g. mobile phones).
See #1903 and jgm/highlighting-kate#65 .
2015-03-28 08:18:01 -07:00
John MacFarlane
12c9aa00de
pandoc.cabal: changed default profiling options.
...
Removed `-auto-all` and `-caf-all` at cabal's suggestion.
Use `-auto-exported` instead.
2015-03-27 22:12:42 -07:00
John MacFarlane
dd5d3379e8
Require highlighting-kate 0.5.13.
...
Closes #1903 .
2015-03-27 13:45:22 -07:00
John MacFarlane
8b8a613cd4
Bumped upper bounds for filepath, QuickCheck.
...
Bumped lower bounds for highlighting-kate, texmath.
2015-03-19 11:47:20 -07:00
John MacFarlane
e0d234e54d
Added CommonMark reader using cmark (libcmark bindings).
...
- Added commonmark as an input format.
- Added `Text.Pandoc.Readers.CommonMark.readCommonMark`.
- For now, we use the markdown writer to generate benchmark
text for the CommonMark reader. We can change this when we
get a writer.
2015-03-17 16:15:57 -07:00
John MacFarlane
5721a5d34b
Bump criterion version bound.
2015-03-17 16:15:56 -07:00
John MacFarlane
619b2e8ca2
Merge pull request #1968 from lierdakil/issue1607
...
Fixes for multiple docx writer style bugs.
2015-03-16 12:02:40 -07:00
Nikolay Yakimov
409111f647
Started moving StyleMap out of writer code
2015-03-01 22:57:35 +03:00
RyanGlScott
d649acc146
Bump blaze-html and blaze-markup upper version bounds
2015-02-28 16:55:23 -06:00
Matthew Pickering
8381ac3b02
Add Text.Pandoc.Error module with PandocError type
2015-02-18 21:09:05 +00:00
John MacFarlane
e32227f744
Allow wildcards in --epub-embed-font
arguments.
...
Closes #1939 .
2015-02-13 23:34:20 -08:00
Mark Wright
4c9ebf3c2b
Allow haddock-library 1.2
2015-01-05 14:15:10 +11:00
John MacFarlane
c30c96b422
Version bump to 1.13.3.
2014-12-26 10:05:31 -07:00
John MacFarlane
ccf081d32c
Require latest highlighting-kate and texmath.
2014-12-19 21:41:53 -08:00
John MacFarlane
c6ad01dc69
Added old-locale flag.
...
This will ease transition to time 1.5. However, currently we can't
build with time 1.5 because of dependencies.
2014-12-19 17:26:14 -08:00
John MacFarlane
2c3310a592
Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5.
2014-12-19 16:13:38 -08:00
Bryan O'Sullivan
dbfb2e1353
Link the test suite using -threaded
...
This allows the test suite to be run using "+RTS -N".
Doing so improves the performance of the test suite on my quad-core Mac laptop as follows:
Before: 8.2 seconds
After: 2.5 seconds
2014-12-08 22:42:45 -08:00
Matthew Pickering
48e2586ec8
Merge pull request #1746 from shelf/dw-ext-images
...
DokuWiki writer: fix external images
2014-12-08 23:55:36 +00:00
Vincent
dffdb87bec
Update pandoc.cabal, Bumping JuicyPixels upper bound
2014-12-06 15:41:34 +01:00
Timothy Humphries
98161afa1a
DokuWiki writer: add external_images test
...
Add test for #1739 .
2014-11-09 02:18:58 -05:00
John MacFarlane
0169e10344
Fixed README and pandoc.cabal for TWiki reader.
2014-10-31 12:07:19 -07:00
Alexander Sulfrian
2cf09aad55
TWiki Reader: update documentation
2014-10-30 20:02:17 +01:00
Alexander Sulfrian
79f25fb9ce
TWiki Reader: add basic syntax test
2014-10-30 20:02:05 +01:00
Alexander Sulfrian
c3780992ab
TWiki Reader: add new new twiki reader
2014-10-30 19:54:48 +01:00
John MacFarlane
e4c6997c81
Version bump to 1.13.2.
...
This is needed because of the addition of KaTeX to
HTMLMathMethod.
2014-10-20 21:21:18 -07:00
John MacFarlane
7ac1b6b022
Adde network dependency under network-uri flag in test section.
2014-09-28 09:10:42 -07:00
RyanGlScott
9cf9985ecf
Bump text, random, http-client upper bounds
2014-09-22 21:47:16 -05:00
John MacFarlane
6ce7081617
Version bump to 1.13.1.
2014-08-30 13:50:49 -07:00
John MacFarlane
8f53918ebe
Added new dokuwiki multiblock table tests to pandoc.cabal.
2014-08-30 13:14:50 -07:00
John MacFarlane
c956eb617d
Capitalized Build-Depends for consistency.
2014-08-24 08:34:30 -07:00
Gabor Pali
80af713743
Fix build dependencies for the trypandoc flag.
...
Build dependencies of the trypandoc executable are required, regardless of the
trypandoc flag was set to either True or False. Correct package description
to make them truly optional.
2014-08-24 16:49:26 +02:00
John MacFarlane
604e1da878
Added network-uri flag.
...
This addresses the split of network and network-uri.
2014-08-20 15:34:13 -07:00
John MacFarlane
915ff1c9d3
Added tables.dokuwiki and tables.icml to extra-source-files.
2014-08-17 16:23:26 -07:00
John MacFarlane
886cc0dd36
Added trypandoc flag to build trypandoc cgi executable.
...
Supporting files are in trypandoc/.
2014-08-17 16:11:09 -07:00
John MacFarlane
90e4603f8a
Bump version to 1.13.0.1.
2014-08-17 13:24:52 -07:00
John MacFarlane
4c8c63d89e
Added dokuwiki template to pandoc.cabal.
2014-08-13 16:56:57 -07:00
John MacFarlane
670441a5a4
Included Tests.Writers.Docbook in test modules.
2014-08-13 16:46:00 -07:00
John MacFarlane
3b7d276ab0
Added make-pandoc-man-pages flag
...
Previously we built this by default, but most users won't need
to build it, since we include built man pages with the package.
2014-08-13 13:52:46 -07:00
John MacFarlane
a0e795fc40
Added Makefile to rebuild man pages.
...
This should only be needed by developers.
2014-08-13 12:31:19 -07:00
John MacFarlane
40e67b8737
Revised tests directory.
...
Renamed some tests, introducing subsidiary directories
for fb2, docx, epub.
Cleaned up tests in cabal file.
Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
2014-08-13 11:16:50 -07:00
John MacFarlane
1d6e1cf9f3
Removed special testHook from Setup.
...
This was just too fragile and dependent on a changing Cabal API
(see #1526 ).
Instead of passing the bulid directory to the test program, we
now let the test program find itself (using executable-path)
and then find the pandoc executable relative to itself.
2014-08-13 08:12:07 -07:00
John MacFarlane
e883ef4eb9
Merge pull request #1527 from mpickering/juicypixels
...
Attempts to convert gif, tiff and bmp to png in pdf writer
2014-08-12 16:57:22 -07:00
Matthew Pickering
57bebe26df
PDF Writer: Attempts to convert images to pdf renderable formats
...
Now depends on the JuicyPixels library.
Will attempt to convert an image (gif, tiff, bmp) to png when converting
to pdf.
2014-08-13 00:37:18 +01:00
Matthew Pickering
063ba81622
EPUB Tests: Added wasteland test
...
This epub contains many epub:type elements including footnotes and
titlepage.
2014-08-13 00:25:18 +01:00
Jesse Rosenthal
0808449547
Docx: Add dropcap tests.
2014-08-11 23:10:50 -04:00
John MacFarlane
7ec953e31b
Require zip-archive 0.2.3.4, with normalized path comparison.
2014-08-11 12:13:32 -07:00
Matthew Pickering
f33ae631f3
Improved EPUB Tests
...
Rewrote features test to remove all unimplemented features.
There are now all three examples of where an image can be included in
the test.
1. Cover image
2. As a spine elemnt
3. In the document
Tests have also been added to make sure that the mediabag contains all
these images after processing.
2014-08-10 14:58:53 +01:00
John MacFarlane
7ec8dd956f
Removed OMath module, depend on texmath >= 0.8.
2014-08-10 06:19:41 -07:00
Matthew Pickering
edc57f77fc
Added Text.Pandoc.Readers.Docx.Fonts
2014-08-09 22:37:12 -04:00
John MacFarlane
10b662c120
EPUB test renaming.
...
Renamed epub test files so they're identified more clearly as
epub: features.{epub,native} -> epub.features.{epub,native},
and similarly with formatting.{epub,native}.
Added epub test files to cabal file, so they'll be included in
the tarball.
2014-08-07 22:25:06 -07:00
John MacFarlane
17e48ba81e
Merge pull request #1494 from jkr/math-module
...
Math module
2014-08-07 13:44:19 -07:00
Jesse Rosenthal
98d14b2b2a
Docx reader: Test inline image code.
2014-08-07 15:34:49 -04:00
Jesse Rosenthal
a7967d1aef
Docx reader: Split math out into math module.
...
Could use some cleanup, but this is the first step for getting
an OMML reader into TeXMath.
2014-08-07 12:20:22 -04:00
Jesse Rosenthal
cdd769624f
Remove now-unnecessary TexChar
...
TeXMath does the work now.
2014-08-06 11:20:41 -04:00
John MacFarlane
4630cff2a6
Merge branch 'epubend' of https://github.com/mpickering/pandoc into mpickering-epubend
...
Conflicts:
pandoc.cabal
2014-08-04 07:36:18 -07:00
Artyom Kazak
f6cf8e8b4b
Add plain writer testing module to .cabal file.
2014-08-03 18:32:31 +04:00
John MacFarlane
cbaaa17d49
Bump aeson upper bound.
2014-08-02 15:14:15 -07:00
Matthew Pickering
8460ea417f
EPUB Reader: Integrated into program
2014-07-31 21:39:50 +01:00
Jesse Rosenthal
ed71e9b31d
Docx tests: rewrite mediabag tests.
...
This will allow us to test the whole mediabag (making sure, for example,
that images are added with the correct keys) instead of just individual
extracted images. We compare each entry in the media bag to an image
extracted on the fly from the docx. As a result, we only need one file
to test with.
The image in the current tests was also replaced with a smaller one.
2014-07-31 15:47:45 -04:00
John MacFarlane
6dd2418476
New module, Text.Pandoc.MediaBag.
...
Moved `MediaBag` definition and functions from Shared:
`lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`.
Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag`
is a Monoid.
2014-07-31 12:00:21 -07:00
Jesse Rosenthal
16f88edb3b
Docx tests: Added media test comparison function.
...
Also tell pandoc.cabal that we'll be needing base64, since we want to
compare strings here.
2014-07-30 22:31:38 -04:00
Jesse Rosenthal
54708da371
Add and update docx tests in pandoc.cabal.
2014-07-29 13:05:19 -04:00
Matthew Pickering
9e4604fa0b
Added compatability layer to support directory-1.1
2014-07-27 00:36:23 +01:00
Matthew Pickering
00cb9836b8
Txt2Tags Reader: Updated README and package description
2014-07-27 00:12:57 +01:00
Matthew Pickering
e340a7da02
Txt2Tags Reader: Added tests
2014-07-27 00:12:57 +01:00
Matthew Pickering
7d04d383a6
Added txt2tags reader
...
http://txt2tags.org/
There are two points which currently do not match the official
implementation.
1. In the official implementation lists can not be nested like the
following but the reader would interpret this as a bullet list with the
first item being a numbered list.
```
- + This is not a list
```
2. The specification describes how URIs automatically becomes links.
Unfortunately as is often the case, their definitiong of URI is not
clear. I tried three solutions but was unsure about which to adopt.
* Using isURI from Network.URI, this matches far too many strings and is
therefore unsuitable
* Using uri from Text.Pandoc.Shared, this doesn't match all strings that
the reference implementation matches
* Try to simulate the regex which is used in the native code
I went with the third approach but it is not perfect, for example
trailing punctuation is captured in Urls.
2014-07-27 00:12:56 +01:00
John MacFarlane
999b952a21
Require highlighting-kate >= 0.5.8.5.
2014-07-19 17:16:41 -07:00
John MacFarlane
047f9b3714
Merge pull request #1430 from jkr/anchor-fix-2
...
Fix auto identified headers when already auto-id'ed
2014-07-15 20:27:28 -07:00
John MacFarlane
454d0e4d85
Require highlighting-kate 0.5.8.4.
...
For correct highlighting of identifiers in prolog and other languages.
2014-07-15 13:31:31 -07:00
Jesse Rosenthal
643435f1de
Docx reader: Add test
...
Test auto ident header anchors with pandoc-generated pandoc.
2014-07-15 18:32:19 +01:00
Jesse Rosenthal
fe2eda9d54
Docx Reader: Add a compatibility layer for Except.
...
mtl switched from ErrorT to ExceptT, but we're not sure which mtl we'll
be dealing with. This should make errors work with both.
The main difference (beside the name of the module and the monad
transformer) is that Except doesn't require an instance of an Error
Typeclass. So we define that for compatability. When we switch to a
later mtl, using Control.Monad.Exception, we can just erase the instance
declaration, and all should work fine.
2014-07-12 18:04:06 +01:00
John MacFarlane
7d9136edbb
Minor line wrapping.
2014-07-07 16:20:18 -06:00
John MacFarlane
616cf6c539
Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into claremacrae-dokuwiki
2014-07-07 16:15:35 -06:00
Jesse Rosenthal
9f4bacf86f
Docx Reader: Add new file, TexChar.
...
This will allow us to deal with unicode characters from word equations. This
part of the process will need to continue to be improved.
2014-07-02 16:53:28 -04:00
Clare Macrae
717e16660d
Merge remote-tracking branch 'jgm/master' into dokuwiki
2014-06-29 19:22:31 +01:00
John MacFarlane
b2127311cb
Require haddock-library >= 1.1 and simplify haddock reader code.
...
See #1346 .
2014-06-26 12:35:13 -07:00
Jesse Rosenthal
8517a4f2e5
Add Reducible to cabal file.
2014-06-23 17:08:17 -04:00
John MacFarlane
84391a887d
Require highlighting-kate >= 0.5.8.3.
...
This change to highlighting-kate means that PHP fragments no longer
need to start with `<?php`. Closes #1271 .
2014-06-19 11:52:58 -07:00
John MacFarlane
cf15b929f8
Added haddock writer tests.
2014-06-18 17:55:21 -07:00
John MacFarlane
0d364a284d
Added haddock template.
2014-06-18 17:49:32 -07:00
John MacFarlane
35e57db5c2
Finished first draft of Haddock writer.
2014-06-18 17:09:36 -07:00
John MacFarlane
ab390a10ec
Removed old haddock reader code. Add dependency on haddock-library.
...
This also removes the dependency on alex and happy.
2014-06-18 11:33:09 -07:00
John MacFarlane
bbe99003f8
Naming: Use Docx instead of DocX.
...
For consistency with the existing writer.
2014-06-16 22:44:40 -07:00
John MacFarlane
7c1d38ac7d
Bump version to 1.13
2014-06-16 22:18:01 -07:00
Jesse Rosenthal
cfd5290fc5
Reference new DocX tests in cabal file.
2014-06-16 07:18:52 -04:00
Jesse Rosenthal
7f4668d871
Add files to cabal.
...
Note there is a build warning for unused `makeImagesSelfContained`
function, since there isn't yet a command-line-option to make use of it.
2014-06-16 07:18:40 -04:00
John MacFarlane
f011d24165
Require aeson >= 0.7.0.5 to avoid build problems.
2014-06-06 22:20:21 -07:00
John MacFarlane
aff6ba921b
Require texmath >= 0.6.6.3. Closes #1324 .
...
This fixes \tilde{E}, especially in docx.
2014-06-03 17:17:33 -07:00
John MacFarlane
356a32e938
Version bump to 1.12.5.
2014-06-03 11:02:11 -07:00
John MacFarlane
4552555625
Require latest texmath. Closes #1319 .
...
This allows `\left` to be used with `]`, `)`, etc.
2014-06-02 13:50:58 -07:00
John MacFarlane
e1cf47efa0
Templates: Fail informatively on template syntax errors.
...
With the move from parsec to attoparsec, we lost good error
reporting. In fact, since we weren't testing for end of input,
malformed templates would fail silently. Here we revert back to
Parsec for better error messages.
2014-06-01 23:45:05 -07:00
John MacFarlane
9cf5f74e8f
PDF writer: Fixed treatment of data uris for images.
...
Closes #1062 .
2014-05-28 10:41:40 -07:00
John MacFarlane
2d90803b7c
Require latest highlighting-kate. Fixes #1317 .
2014-05-27 12:12:02 -07:00
John MacFarlane
fd11a5a5eb
Require latest zip-archive.
...
This has fixes for unicode path names. Note that compiling
pandoc against zip-archive 0.2.3 or 0.2.3.1 will lead to invalid
zip containers, causing LibreOffice (e.g.) to regard ODTs as corrupt.
2014-05-27 11:22:53 -07:00
John MacFarlane
ee8c8da8cc
Removed dependency on conduit.
...
* http-conduit flag is now https.
* Instead of http-conduit, we depend on http-client and http-client-tls.
2014-05-18 22:07:00 -07:00
John MacFarlane
650f831949
travis: Test with ghc 7.8.2 rather than 7.8.1.
2014-05-16 09:50:30 -07:00
Michael Snoyman
46e7bcae69
Allow scientific 0.3
2014-05-16 09:32:24 +03:00
John MacFarlane
8de5daed57
Require highlighting-kate 0.5.8.1.
...
0.5.8 has a serious bug that causes error failure with ocaml and fsharp.
2014-05-15 12:58:30 -07:00
John MacFarlane
cf533a1c2c
Bump version to 1.12.4.2.
2014-05-14 13:46:09 -07:00
John MacFarlane
06edff7402
Added default.icml to data-files so it installs with the package.
2014-05-12 12:30:30 -07:00
John MacFarlane
02b8608aab
Version bump to 1.12.4.1.
2014-05-12 12:08:36 -07:00
John MacFarlane
e52196691b
Require highlighting-kate >= 0.5.8.
...
This fixes a performance regression.
2014-05-12 09:21:16 -07:00
Albert Krewinkel
8fdbef841d
Update copyright notices for 2014, add missing notices
2014-05-09 00:46:08 +02:00
John MacFarlane
249c3e8c5a
Bumped version bound for mtl.
2014-05-07 11:21:04 -07:00
John MacFarlane
b71810d7e6
Require latest texmath.
2014-05-07 11:10:25 -07:00
John MacFarlane
985ba0b32b
Require latest highlighting-kate.
2014-05-07 11:09:45 -07:00
John MacFarlane
41c89d51c7
AsciiDoc writer: Added test for empty table cells.
2014-05-03 21:24:20 -07:00
John MacFarlane
7f86f95f36
Require pandoc-types 1.12.3.3.
...
Fixes #1269 .
2014-04-29 22:25:46 -07:00
John MacFarlane
a744e3868e
Bump version to 1.12.4.
2014-04-25 20:14:39 -07:00
John MacFarlane
aeec883e0e
Merge pull request #1260 from joehillen/tabs-in-cabalfile
...
change tabs to spaces in pandoc.cabal
2014-04-24 16:48:02 -07:00
John MacFarlane
58c9946cda
Bumped upper bounds for http-conduit and network.
2014-04-24 13:16:10 -07:00
John MacFarlane
b08de8fe35
Require aeson >= 0.7.
2014-04-24 11:55:20 -07:00
John MacFarlane
d16775e1c7
Render numbers in YAML metadata without decimals when possible.
...
The change to aeson > 0.7 caused numbers to be rendered with
decimals. This change causes them to be rendered without decimals
wehn possible.
2014-04-24 11:09:07 -07:00
Joe Hillenbrand
8b0279b4ac
change tabs to spaces in pandoc.cabal
2014-04-22 10:50:22 -07:00
John MacFarlane
d8d4ede4d6
Require yaml >= 0.8.8.2.
...
Otherwise we have problems with integers being rendered with
decimal points.
2014-04-14 17:06:38 -07:00
John MacFarlane
714d4707b5
Require tagsoup 0.13.1.
...
This fixes a bug in parsing of script tags.
See #1248 .
2014-04-14 17:05:20 -07:00
John MacFarlane
f48b564ac7
Updated GHC versions in tested-with field.
2014-04-10 11:04:05 -07:00
John MacFarlane
9f3f4298dd
Moved some doc files from data-files to extra-source-files.
...
They aren't needed at runtime.
We keep README and COPYRIGHT in data to ensure that they'll be
available on all systems on which pandoc is installed.
Closes #1123 .
2014-04-06 15:04:50 -07:00
Sergei Trofimovich
8890c2ba3d
pandoc.cabal: allow QuickCheck-2.7
...
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-04-04 23:49:21 +03:00
John MacFarlane
64a571775d
Updated README and pandoc.cabal with icml writer.
2014-03-04 10:29:13 -08:00
John MacFarlane
ae86e24ff6
Merge branch 'master' of https://github.com/mb21/pandoc into mb21-master
2014-03-04 10:15:43 -08:00
John MacFarlane
1046339755
Added org-mode to list of readers in cabal description.
2014-03-04 10:15:04 -08:00
Albert Krewinkel
24b2ac43b0
Add a simple Emacs Org-mode reader
...
The basic structure of org-mode documents is recognized; however,
org-mode features like todo markers, tags etc. are not supported yet.
2014-03-04 10:40:40 +01:00
mb21
80511f1b34
InDesign ICML Writer
2014-02-28 13:35:35 +01:00
John MacFarlane
19b127b898
PDF: Use ; for TEXINPUTS separator on Windows.
...
Closes #1151 , I hope. Testing needed.
2014-02-23 20:36:21 -08:00
John MacFarlane
4a84e9691e
Version bump to 1.12.3.3.
...
No changes to source: just to regenerate tarball with latest alex,
happy, to satisfy GHC 7.8.
2014-02-03 14:08:13 -08:00
John MacFarlane
406c311115
Version bump to 1.12.3.2.
2014-02-03 13:32:50 -08:00
John MacFarlane
dc2c23a25f
Bumped version bounds for blaze-html, blaze-markup.
2014-01-27 21:08:56 -08:00
John MacFarlane
a1abb3eeea
Allow binary 0.5. Version bump to 1.12.3.1.
2014-01-14 10:13:08 -08:00
John MacFarlane
32c82903f3
Require latest texmath, highlighting-kate.
2014-01-09 23:12:19 -08:00