aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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
2015-07-01New method for building man pages.John MacFarlane1-6/+2
+ 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-06-28New method for producing man pages.John MacFarlane1-18/+5
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-28Version bump to 1.14.1.John MacFarlane1-1/+1
Because of the addition of `Options.plainExtensions`.
2015-06-28Fixed regression in CSS parsing with `--self-contained`.John MacFarlane1-1/+0
In 1b44acf0c59b70cc63f48a23c6f77e45a982aaf9 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-09replace old url with pandoc.orgPablo Rodríguez1-1/+1
2015-06-08Bump cmark version to >= 0.3.4.John MacFarlane1-1/+1
2015-06-02Version bump to 1.14.0.4, added commonmark template to data files.John MacFarlane1-1/+2
2015-06-01Bump version to 1.14.0.3; updated changelog.John MacFarlane1-1/+1
2015-05-31Allow compilation with syb 0.5.*.John MacFarlane1-3/+3
2015-05-31Bump to 1.14.0.2, updated changelog.John MacFarlane1-1/+1
2015-05-31Allow building with hslua 0.4.John MacFarlane1-1/+1
2015-05-28Better fix for #2187.John MacFarlane1-33/+19
* 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`.