John MacFarlane
3f89e3f332
Require highlighting-kate >= 0.5.14
...
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-28 08:18:01 -07:00
John MacFarlane
12c9aa00de
pandoc.cabal: changed default profiling options.
...
Removed `-auto-all` and `-caf-all` at cabal's suggestion.
Use `-auto-exported` instead.
2015-03-27 22:12:42 -07:00
John MacFarlane
dd5d3379e8
Require highlighting-kate 0.5.13.
...
Closes #1903 .
2015-03-27 13:45:22 -07:00
John MacFarlane
8b8a613cd4
Bumped upper bounds for filepath, QuickCheck.
...
Bumped lower bounds for highlighting-kate, texmath.
2015-03-19 11:47:20 -07:00
John MacFarlane
e0d234e54d
Added CommonMark reader using cmark (libcmark bindings).
...
- 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-17 16:15:57 -07:00
John MacFarlane
5721a5d34b
Bump criterion version bound.
2015-03-17 16:15:56 -07:00
John MacFarlane
619b2e8ca2
Merge pull request #1968 from lierdakil/issue1607
...
Fixes for multiple docx writer style bugs.
2015-03-16 12:02:40 -07:00
Nikolay Yakimov
409111f647
Started moving StyleMap out of writer code
2015-03-01 22:57:35 +03:00
RyanGlScott
d649acc146
Bump blaze-html and blaze-markup upper version bounds
2015-02-28 16:55:23 -06:00
John MacFarlane
e32227f744
Allow wildcards in --epub-embed-font
arguments.
...
Closes #1939 .
2015-02-13 23:34:20 -08:00
Mark Wright
4c9ebf3c2b
Allow haddock-library 1.2
2015-01-05 14:15:10 +11:00
John MacFarlane
c30c96b422
Version bump to 1.13.3.
2014-12-26 10:05:31 -07:00
John MacFarlane
ccf081d32c
Require latest highlighting-kate and texmath.
2014-12-19 21:41:53 -08:00
John MacFarlane
c6ad01dc69
Added old-locale flag.
...
This will ease transition to time 1.5. However, currently we can't
build with time 1.5 because of dependencies.
2014-12-19 17:26:14 -08:00
John MacFarlane
2c3310a592
Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5.
2014-12-19 16:13:38 -08:00
Bryan O'Sullivan
dbfb2e1353
Link the test suite using -threaded
...
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-08 22:42:45 -08:00
Matthew Pickering
48e2586ec8
Merge pull request #1746 from shelf/dw-ext-images
...
DokuWiki writer: fix external images
2014-12-08 23:55:36 +00:00
Vincent
dffdb87bec
Update pandoc.cabal, Bumping JuicyPixels upper bound
2014-12-06 15:41:34 +01:00
Timothy Humphries
98161afa1a
DokuWiki writer: add external_images test
...
Add test for #1739 .
2014-11-09 02:18:58 -05:00
John MacFarlane
0169e10344
Fixed README and pandoc.cabal for TWiki reader.
2014-10-31 12:07:19 -07:00
Alexander Sulfrian
2cf09aad55
TWiki Reader: update documentation
2014-10-30 20:02:17 +01:00
Alexander Sulfrian
79f25fb9ce
TWiki Reader: add basic syntax test
2014-10-30 20:02:05 +01:00
Alexander Sulfrian
c3780992ab
TWiki Reader: add new new twiki reader
2014-10-30 19:54:48 +01:00
John MacFarlane
e4c6997c81
Version bump to 1.13.2.
...
This is needed because of the addition of KaTeX to
HTMLMathMethod.
2014-10-20 21:21:18 -07:00
John MacFarlane
7ac1b6b022
Adde network dependency under network-uri flag in test section.
2014-09-28 09:10:42 -07:00
RyanGlScott
9cf9985ecf
Bump text, random, http-client upper bounds
2014-09-22 21:47:16 -05:00
John MacFarlane
6ce7081617
Version bump to 1.13.1.
2014-08-30 13:50:49 -07:00
John MacFarlane
8f53918ebe
Added new dokuwiki multiblock table tests to pandoc.cabal.
2014-08-30 13:14:50 -07:00
John MacFarlane
c956eb617d
Capitalized Build-Depends for consistency.
2014-08-24 08:34:30 -07:00
Gabor Pali
80af713743
Fix build dependencies for the trypandoc flag.
...
Build dependencies of the trypandoc executable are required, regardless of the
trypandoc flag was set to either True or False. Correct package description
to make them truly optional.
2014-08-24 16:49:26 +02:00
John MacFarlane
604e1da878
Added network-uri flag.
...
This addresses the split of network and network-uri.
2014-08-20 15:34:13 -07:00
John MacFarlane
915ff1c9d3
Added tables.dokuwiki and tables.icml to extra-source-files.
2014-08-17 16:23:26 -07:00
John MacFarlane
886cc0dd36
Added trypandoc flag to build trypandoc cgi executable.
...
Supporting files are in trypandoc/.
2014-08-17 16:11:09 -07:00
John MacFarlane
90e4603f8a
Bump version to 1.13.0.1.
2014-08-17 13:24:52 -07:00
John MacFarlane
4c8c63d89e
Added dokuwiki template to pandoc.cabal.
2014-08-13 16:56:57 -07:00
John MacFarlane
670441a5a4
Included Tests.Writers.Docbook in test modules.
2014-08-13 16:46:00 -07:00
John MacFarlane
3b7d276ab0
Added make-pandoc-man-pages flag
...
Previously we built this by default, but most users won't need
to build it, since we include built man pages with the package.
2014-08-13 13:52:46 -07:00
John MacFarlane
a0e795fc40
Added Makefile to rebuild man pages.
...
This should only be needed by developers.
2014-08-13 12:31:19 -07:00
John MacFarlane
40e67b8737
Revised tests directory.
...
Renamed some tests, introducing subsidiary directories
for fb2, docx, epub.
Cleaned up tests in cabal file.
Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
2014-08-13 11:16:50 -07:00
John MacFarlane
1d6e1cf9f3
Removed special testHook from Setup.
...
This was just too fragile and dependent on a changing Cabal API
(see #1526 ).
Instead of passing the bulid directory to the test program, we
now let the test program find itself (using executable-path)
and then find the pandoc executable relative to itself.
2014-08-13 08:12:07 -07:00
John MacFarlane
e883ef4eb9
Merge pull request #1527 from mpickering/juicypixels
...
Attempts to convert gif, tiff and bmp to png in pdf writer
2014-08-12 16:57:22 -07:00
Matthew Pickering
57bebe26df
PDF Writer: Attempts to convert images to pdf renderable formats
...
Now depends on the JuicyPixels library.
Will attempt to convert an image (gif, tiff, bmp) to png when converting
to pdf.
2014-08-13 00:37:18 +01:00
Matthew Pickering
063ba81622
EPUB Tests: Added wasteland test
...
This epub contains many epub:type elements including footnotes and
titlepage.
2014-08-13 00:25:18 +01:00
Jesse Rosenthal
0808449547
Docx: Add dropcap tests.
2014-08-11 23:10:50 -04:00
John MacFarlane
7ec953e31b
Require zip-archive 0.2.3.4, with normalized path comparison.
2014-08-11 12:13:32 -07:00
Matthew Pickering
f33ae631f3
Improved EPUB Tests
...
Rewrote features test to remove all unimplemented features.
There are now all three examples of where an image can be included in
the test.
1. Cover image
2. As a spine elemnt
3. In the document
Tests have also been added to make sure that the mediabag contains all
these images after processing.
2014-08-10 14:58:53 +01:00
John MacFarlane
7ec8dd956f
Removed OMath module, depend on texmath >= 0.8.
2014-08-10 06:19:41 -07:00
Matthew Pickering
edc57f77fc
Added Text.Pandoc.Readers.Docx.Fonts
2014-08-09 22:37:12 -04:00
John MacFarlane
10b662c120
EPUB test renaming.
...
Renamed epub test files so they're identified more clearly as
epub: features.{epub,native} -> epub.features.{epub,native},
and similarly with formatting.{epub,native}.
Added epub test files to cabal file, so they'll be included in
the tarball.
2014-08-07 22:25:06 -07:00
John MacFarlane
17e48ba81e
Merge pull request #1494 from jkr/math-module
...
Math module
2014-08-07 13:44:19 -07:00