aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2015-11-19Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵John MacFarlane1-4/+4
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-16Bump version to 1.15.2.1. Updated changelog.John MacFarlane1-1/+1
2015-11-16Added stack.yaml to other-source-files so it gets into tarball.John MacFarlane1-0/+2
2015-11-16Added two missing test cases to extra-source-files in pandoc.cabal.John MacFarlane1-0/+2
Otherwise they don't get into the tarball. Closes #2537.
2015-11-14Allow process 1.3.John MacFarlane1-2/+2
2015-11-13Added `emoji` extension to Markdown.John MacFarlane1-0/+1
This is enabled by default in `markdown_github`. Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change). Closes #2523.
2015-11-12Bump version to 1.15.2.John MacFarlane1-1/+1
2015-11-09Restored Text.Pandoc.Compat.Monoid.John MacFarlane1-12/+23
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-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-4/+4
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-09Revert "Use Default-extensions rather than ghc-options for NoImplicitPrelude."John MacFarlane1-8/+4
This reverts commit 67cabb2a0d09df17fa4f86b77f66e39a6f036c1d.
2015-11-09Revert "Give up support for ghc 7.4."John MacFarlane1-1/+1
This reverts commit e0c83f74f39ca94437d0b6f823c6f932aa663fe0.
2015-11-08Give up support for ghc 7.4.John MacFarlane1-1/+1
2015-11-08Use Default-extensions rather than ghc-options for NoImplicitPrelude.John MacFarlane1-4/+8
To satisfy 'cabal check'.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-4/+4
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-10-27Change default for old-locale flag to False.John MacFarlane1-1/+1
2015-10-24Added Paths_pandoc to other-modules for executable stanza.John MacFarlane1-0/+1
2015-10-17Version bump to 1.15.1.1, updated changelog.John MacFarlane1-1/+1
2015-10-14More changes to avoid compiler warnings on ghc 7.10.John MacFarlane1-1/+5
* CPP around deprecated `parseTime`. * Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time, now exports Data.Time.
2015-10-14Use custom Prelude to avoid compiler warnings.John MacFarlane1-6/+6
- 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-12Added ghc-prim to build-depends.John MacFarlane1-1/+2
This is needed for the Generic instance of PandocError. Closes #2448.
2015-10-10Merge pull request #2412 from frerich/reader/docbook/xref_supportJohn MacFarlane1-0/+1
Added support for <xref> tag in DocBook reader
2015-10-09Updated benchmark program.John MacFarlane1-1/+1
2015-10-09Test also on ghc 7.4.2.John MacFarlane1-1/+1
Made make_travis_yml.hs a bit more robust.
2015-10-08New .travis.yml.John MacFarlane1-1/+1
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-06Allow http-types 0.9.John MacFarlane1-1/+1
2015-10-03Allow HUnit 1.3John MacFarlane1-1/+1
2015-09-24Added proper support for DocBook 'xref' elementsFrerich Raabe1-0/+1
'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-23Allow syb 0.6.John MacFarlane1-3/+3
2015-09-20Allow aeson 0.10.John MacFarlane1-2/+2
2015-08-13Added `--bash-completion` option.John MacFarlane1-0/+2
This generates a bash completion script. To use: eval "$(pandoc --bash-completion)"
2015-08-10Update version to 1.15.1.John MacFarlane1-1/+1
2015-08-10Allow latest criterion version.John MacFarlane1-1/+1
2015-08-07Merge pull request #2327 from hftf/list-styleJohn MacFarlane1-1/+2
HTML Reader: Correctly parse inline list-style(-type) for <ol>
2015-07-27Require pandoc-types >= 1.14John MacFarlane1-3/+3
2015-07-24HTML Reader: Parse <ol> type, class, and inline list-style(-type) CSSOphir Lifshitz1-1/+2
2015-07-23Updated README and cabal description for ODT reader.John MacFarlane1-3/+4
2015-07-23Added odt readerMarLinn1-2/+17
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-15Version bump to 1.15.0.6.John MacFarlane1-1/+1
2015-07-14Updated to use cmark >= 0.4.John MacFarlane1-1/+1
2015-07-14Allow vector 0.11.John MacFarlane1-1/+1
2015-07-09Version bump to 1.15.0.5 and updated changelog.John MacFarlane1-1/+1
2015-07-05Make cabal require hsb2hs >= 0.3.1.John MacFarlane1-1/+1
This is done by adding `hookedPrograms` in `Setup.hs`, which allows us to include `hsb2hs` in Build-Tools in cabal.
2015-07-02Added pandoc.1 to repository. Don't build as part of cabal build.John MacFarlane1-1/+1
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-02Bump version to 1.15.0.4.John MacFarlane1-1/+1
2015-07-02Bump version to 1.15.0.3, updated changelog.John MacFarlane1-1/+1
2015-07-02Version bump to 1.15.0.2, updated changelog.John MacFarlane1-1/+1
2015-07-02Added man page source files to extra-source-files.John MacFarlane1-1/+6
2015-07-01Bump version to 1.15.0.1, update changelog.John MacFarlane1-1/+1
2015-07-01Install man pages as part of cabal 'copy' phase.John MacFarlane1-2/+1
2015-07-01Generate man page in cabal build process and include in data/.John MacFarlane1-0/+2
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