aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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`.
2015-05-28Added filepath dependency to make-reference-files.John MacFarlane1-0/+1
2015-05-28Bump version to 1.14.0.1.John MacFarlane1-1/+1
2015-05-28Don't include generated man pages in extra-source-files.John MacFarlane1-3/+0
See 3f20fb3f9f8ccb2e6476e116e196b7e70ac559bb. Closes #2189.
2015-05-28Bump upper bound for aeson.John MacFarlane1-2/+2
2015-05-26Require cmark-hs >= 0.3.3 (fixes #2175).John MacFarlane1-1/+1
2015-05-26Require highlighting-kate 0.6.John MacFarlane1-3/+3
2015-05-13HTML reader: Support base tag.John MacFarlane1-0/+1
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-04SelfContained: properly handle data URIs in css urls.John MacFarlane1-0/+1
Also use a proper css parser (adds dependency on text-css). Closes #2129.
2015-04-26Updated copyright notices to -2015. Closes #2111.John MacFarlane1-1/+1
2015-04-20Bump zlib upper version boundsRyanGlScott1-1/+1
2015-04-17Merge pull request #2079 from lierdakil/rst-normalize-headingsJohn MacFarlane1-0/+1
RST Writer: Normalize headings to sequential levels
2015-04-16RST Writer: Tests for rubrics and heading normalizationNikolay Yakimov1-0/+1
2015-04-13Bump texmath lower bound to 0.8.1John MacFarlane1-1/+1
2015-03-29Added CommonMark writer.John MacFarlane1-0/+1
Added `Text.Pandoc.Writers.CommonMark`, exporting `writeCommonMark`.