aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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.
2015-03-17Bump criterion version bound.John MacFarlane1-1/+1
2015-03-16Merge pull request #1968 from lierdakil/issue1607John MacFarlane1-1/+3
Fixes for multiple docx writer style bugs.
2015-03-01Started moving StyleMap out of writer codeNikolay Yakimov1-1/+3
2015-02-28Bump blaze-html and blaze-markup upper version boundsRyanGlScott1-2/+2
2015-02-18Add Text.Pandoc.Error module with PandocError typeMatthew Pickering1-0/+1
2015-02-13Allow wildcards in `--epub-embed-font` arguments.John MacFarlane1-1/+2
Closes #1939.
2015-01-05Allow haddock-library 1.2Mark Wright1-1/+1
2014-12-26Version bump to 1.13.3.John MacFarlane1-1/+1
2014-12-19Require latest highlighting-kate and texmath.John MacFarlane1-4/+4
2014-12-19Added old-locale flag.John MacFarlane1-3/+10
This will ease transition to time 1.5. However, currently we can't build with time 1.5 because of dependencies.
2014-12-19Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5.John MacFarlane1-2/+3
2014-12-08Link the test suite using -threadedBryan O'Sullivan1-1/+1
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-08Merge pull request #1746 from shelf/dw-ext-imagesMatthew Pickering1-0/+2
DokuWiki writer: fix external images