Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-14 | travis: use -Werror even on ghc 7.10. | John MacFarlane | 1 | -1/+1 | |
2015-10-14 | Use custom Prelude to avoid compiler warnings. | John MacFarlane | 60 | -113/+59 | |
- 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-13 | LaTeX writer: add `\protect` to `\hyperdef` in inline context. | John MacFarlane | 1 | -1/+1 | |
This way we don't get an error when this is used as a moveable argument. Closes #2136. | |||||
2015-10-13 | epub with `--webtex`: include image file rather than data: URI. | John MacFarlane | 1 | -12/+8 | |
Closes #2363. | |||||
2015-10-13 | Fixed tests for template changes. | John MacFarlane | 3 | -5/+7 | |
2015-10-13 | Template changes: | John MacFarlane | 1 | -7/+7 | |
- Move HTML5 shiv after CSS (Andrew Dunning). - Fix HTML5 shiv URL (Andrew Dunning). - Add dir attribute in html5 (Andrew Dunning). - Realign beamer and LaTeX templates (Andrew Dunning). | |||||
2015-10-12 | RST writer: do header normalization only in "standalone" mode. | John MacFarlane | 2 | -16/+18 | |
If we're producing a fragment, just skip normalization. After all, the fragment might be somewhere in the middle of the document. It's more important for fragments to have consistency in rendering (so they can be pieced together) than to normalize. This closes #2394. It's simpler and more robust than my earlier fix. | |||||
2015-10-12 | Revert "RST writer: tweaks to header normalization." | John MacFarlane | 1 | -22/+4 | |
This reverts commit 476b383c578699567ac4630391a15855521ab3d4. | |||||
2015-10-12 | RST writer: tweaks to header normalization. | John MacFarlane | 1 | -4/+22 | |
These changes are intended to make the writer more useful to people who are processing small fragments, which may for example look like this: ### third level header from previous section ## second level header Previously such fragments got turned into two headers of the same level. The new algorithm avoids doing any normalization until we hit the minimal-level header in the fragment (here, the second level header). Closes #2394. | |||||
2015-10-12 | Changed stack.yaml to use latest resolver (3.9). | John MacFarlane | 1 | -2/+1 | |
2015-10-12 | Added ghc-prim to build-depends. | John MacFarlane | 1 | -1/+2 | |
This is needed for the Generic instance of PandocError. Closes #2448. | |||||
2015-10-11 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2015-10-11 | Percent-encode more special characters in URLs. | John MacFarlane | 3 | -9/+14 | |
HTML, LaTeX writers adjusted. The special characters are '<','>','|','"','{','}','[',']','^', '`'. Closes #1640, #2377. | |||||
2015-10-11 | Define Typeable and Exception instances for PandocError. | John MacFarlane | 1 | -1/+6 | |
Closes #2386. | |||||
2015-10-11 | HTML reader/writer: better handling of "section" elements. | John MacFarlane | 7 | -564/+1466 | |
Previously `<section>` tags were just parsed as raw HTML blocks. With this change, section elements are parsed as Div elements with the class "section". The HTML writer will use `<section>` tags to render these Divs in HTML5; otherwise they will be rendered as `<div class="section">`. Closes #2438. | |||||
2015-10-11 | Native writer: format Div properly, with blocks separated. | John MacFarlane | 1 | -0/+2 | |
2015-10-10 | Removed xltxtra, xunicode from LaTeX template. | John MacFarlane | 5 | -10/+8 | |
Thanks Andrew Dunning. Updated tests and changelog. | |||||
2015-10-10 | Organized changelog. | John MacFarlane | 1 | -169/+146 | |
2015-10-10 | Small tweak on CONTRIBUTING.md. | John MacFarlane | 1 | -4/+5 | |
2015-10-10 | Updated man page from README. | John MacFarlane | 1 | -201/+357 | |
2015-10-10 | Updated changelog (still needs reorganizing). | John MacFarlane | 1 | -3/+39 | |
2015-10-10 | Removed unneeded import. | John MacFarlane | 1 | -1/+1 | |
2015-10-10 | Merge pull request #2412 from frerich/reader/docbook/xref_support | John MacFarlane | 5 | -5/+139 | |
Added support for <xref> tag in DocBook reader | |||||
2015-10-10 | reveal.js template: add controls, progress variables. | John MacFarlane | 2 | -7/+13 | |
Thanks to Grégoire Pineau. | |||||
2015-10-10 | Adjusted latex template for changes to polyglossia-lang variable. | John MacFarlane | 1 | -7/+7 | |
2015-10-10 | Merge pull request #2441 from mb21/polyglossia-lang | John MacFarlane | 2 | -22/+37 | |
Change variable to polyglossia-lang.name and .options | |||||
2015-10-10 | Re-export pandocVersions from Text.Pandoc. | John MacFarlane | 1 | -1/+2 | |
The actual definition has been moved to Text.Pandoc.Shared, but to avoid breaking changes we reexport it here. | |||||
2015-10-10 | Adjusted man writer test for latest template changes. | John MacFarlane | 1 | -0/+3 | |
2015-10-10 | Man template improvements: | John MacFarlane | 2 | -6/+14 | |
- Added comment stating that the page is autogenerated by pandoc, giving version. - Added `adjusting` and `hyphenate` variables. - Documented new variables. | |||||
2015-10-10 | Merge pull request #2426 from alexvong1995/better-man-writer | John MacFarlane | 4 | -10/+12 | |
Better man writer (revised) | |||||
2015-10-09 | Merge pull request #2445 from adunning/patch-2 | John MacFarlane | 1 | -215/+306 | |
Improve links and cross-references in README. | |||||
2015-10-09 | Added comment in .travis.yml to explain last change. | John MacFarlane | 3 | -3/+7 | |
2015-10-09 | Use dist/setup/setup/sdist instead of cabal sdist. | John MacFarlane | 2 | -2/+2 | |
This should help with older versions of cabal which can't handle custom preprocessors. See http://stackoverflow.com/questions/16256987/haskell-packaging-cabal-package-with-custom-preprocessors | |||||
2015-10-09 | Setup.hs: rewrite so as not to use process, directory, filepath. | John MacFarlane | 1 | -25/+10 | |
Using anything outside base is dangerous, since older versions of ghc will link against two different versions. See e.g. - https://groups.google.com/forum/#!topic/pandoc-discuss/0r9Hhl730LY - https://www.reddit.com/r/haskell/comments/3634x2/cabal_is_giving_a_weird_error_when_attempting_to/ - jaspervdj/hakyll#356 | |||||
2015-10-09 | Removed unneeded imports in benchmark program. | John MacFarlane | 1 | -2/+0 | |
2015-10-09 | Updated benchmark program. | John MacFarlane | 2 | -7/+4 | |
2015-10-09 | Test also on ghc 7.4.2. | John MacFarlane | 3 | -3/+6 | |
Made make_travis_yml.hs a bit more robust. | |||||
2015-10-09 | LaTeX reader: don't eat excess whitespace after macros. | John MacFarlane | 1 | -4/+4 | |
Really close #2446. | |||||
2015-10-09 | benchmark: Use Criterion.Monad not Criterion.Config. | John MacFarlane | 1 | -1/+1 | |
2015-10-09 | LaTeX reader: don't eat whitespace after macro with only opt arg. | John MacFarlane | 1 | -1/+3 | |
Closes #2446. | |||||
2015-10-08 | New .travis.yml. | John MacFarlane | 4 | -19/+275 | |
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-08 | Correct `setspace` package usage in README. | Andrew Dunning | 1 | -1/+1 | |
Template configured to set `setstretch` directly rather than package options. | |||||
2015-10-08 | Simplified travis.yml. | John MacFarlane | 1 | -19/+17 | |
- Follows template on hvr/multi-ghc-travis. - Don't build with ghc 7.4.2. - Build tarball after main build. | |||||
2015-10-08 | Travis: use cabal-install 1.22 not head. | John MacFarlane | 1 | -2/+2 | |
2015-10-08 | travis: use ghc 7.10.2 instead of 7.10.1. | John MacFarlane | 1 | -2/+2 | |
2015-10-08 | Improve CSL documentation in README. | Andrew Dunning | 1 | -19/+40 | |
2015-10-08 | Improve links and cross-references in README. | Andrew Dunning | 1 | -215/+285 | |
2015-10-07 | appveyor: don't cache HP or install wix toolset. | John MacFarlane | 1 | -4/+1 | |
2015-10-07 | Change variable to polyglossia-lang.name and .options | mb21 | 2 | -22/+37 | |
closes #2437 | |||||
2015-10-07 | appveyor.yml: back to cabal/HP based build. | John MacFarlane | 1 | -20/+35 | |
Can't get stack build to work. With 64 bit, we run into problems building hslua. https://github.com/osa1/hslua/issues/22 With 32 bit, we run into problems with missing symbol __mingw_vsprintf in building cmark. |