aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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`.
2015-03-29Require cmark 0.3.1.John MacFarlane1-1/+1
2015-03-28Always build man pages. Removed make-pandoc-man-pages flag.John MacFarlane1-8/+1
Updated INSTALL instructions. Makefile: removed man target, now that we generate man pages by default.
2015-03-28Added images needed for docx tests to cabal extra-source-files.John MacFarlane1-0/+3
2015-03-28Added source files for reference.docx/odt to extra-source-files.John MacFarlane1-0/+25
2015-03-28Added Tests.Writers.Docx to cabal file.John MacFarlane1-0/+1
2015-03-28Version bump to 1.14.John MacFarlane1-1/+1
This is because of the significant API changes in the reader types. (They now return an Either value.)
2015-03-28Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵John MacFarlane1-0/+1
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-28Create reference files from unpacked archives with helper programNikolay Yakimov1-0/+9
2015-03-28Fixed ghc-prof-options.John MacFarlane1-2/+2
2015-03-28Require highlighting-kate >= 0.5.14John MacFarlane1-3/+3
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-27pandoc.cabal: changed default profiling options.John MacFarlane1-2/+2
Removed `-auto-all` and `-caf-all` at cabal's suggestion. Use `-auto-exported` instead.
2015-03-27Require highlighting-kate 0.5.13.John MacFarlane1-3/+3
Closes #1903.
2015-03-19Bumped upper bounds for filepath, QuickCheck.John MacFarlane1-9/+9
Bumped lower bounds for highlighting-kate, texmath.
2015-03-17Added CommonMark reader using cmark (libcmark bindings).John MacFarlane1-1/+3
- 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.