aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-13Template changes:John MacFarlane1-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-12RST writer: do header normalization only in "standalone" mode.John MacFarlane2-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-12Revert "RST writer: tweaks to header normalization."John MacFarlane1-22/+4
This reverts commit 476b383c578699567ac4630391a15855521ab3d4.
2015-10-12RST writer: tweaks to header normalization.John MacFarlane1-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-12Changed stack.yaml to use latest resolver (3.9).John MacFarlane1-2/+1
2015-10-12Added ghc-prim to build-depends.John MacFarlane1-1/+2
This is needed for the Generic instance of PandocError. Closes #2448.
2015-10-11Removed unnecessary import.John MacFarlane1-1/+1
2015-10-11Percent-encode more special characters in URLs.John MacFarlane3-9/+14
HTML, LaTeX writers adjusted. The special characters are '<','>','|','"','{','}','[',']','^', '`'. Closes #1640, #2377.
2015-10-11Define Typeable and Exception instances for PandocError.John MacFarlane1-1/+6
Closes #2386.
2015-10-11HTML reader/writer: better handling of "section" elements.John MacFarlane7-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-11Native writer: format Div properly, with blocks separated.John MacFarlane1-0/+2
2015-10-10Removed xltxtra, xunicode from LaTeX template.John MacFarlane5-10/+8
Thanks Andrew Dunning. Updated tests and changelog.
2015-10-10Organized changelog.John MacFarlane1-169/+146
2015-10-10Small tweak on CONTRIBUTING.md.John MacFarlane1-4/+5
2015-10-10Updated man page from README.John MacFarlane1-201/+357
2015-10-10Updated changelog (still needs reorganizing).John MacFarlane1-3/+39
2015-10-10Removed unneeded import.John MacFarlane1-1/+1
2015-10-10Merge pull request #2412 from frerich/reader/docbook/xref_supportJohn MacFarlane5-5/+139
Added support for <xref> tag in DocBook reader
2015-10-10reveal.js template: add controls, progress variables.John MacFarlane2-7/+13
Thanks to Grégoire Pineau.
2015-10-10Adjusted latex template for changes to polyglossia-lang variable.John MacFarlane1-7/+7
2015-10-10Merge pull request #2441 from mb21/polyglossia-langJohn MacFarlane2-22/+37
Change variable to polyglossia-lang.name and .options
2015-10-10Re-export pandocVersions from Text.Pandoc.John MacFarlane1-1/+2
The actual definition has been moved to Text.Pandoc.Shared, but to avoid breaking changes we reexport it here.
2015-10-10Adjusted man writer test for latest template changes.John MacFarlane1-0/+3
2015-10-10Man template improvements:John MacFarlane2-6/+14
- Added comment stating that the page is autogenerated by pandoc, giving version. - Added `adjusting` and `hyphenate` variables. - Documented new variables.
2015-10-10Merge pull request #2426 from alexvong1995/better-man-writerJohn MacFarlane4-10/+12
Better man writer (revised)
2015-10-09Merge pull request #2445 from adunning/patch-2John MacFarlane1-215/+306
Improve links and cross-references in README.
2015-10-09Added comment in .travis.yml to explain last change.John MacFarlane3-3/+7
2015-10-09Use dist/setup/setup/sdist instead of cabal sdist.John MacFarlane2-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-09Setup.hs: rewrite so as not to use process, directory, filepath.John MacFarlane1-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-09Removed unneeded imports in benchmark program.John MacFarlane1-2/+0
2015-10-09Updated benchmark program.John MacFarlane2-7/+4
2015-10-09Test also on ghc 7.4.2.John MacFarlane3-3/+6
Made make_travis_yml.hs a bit more robust.
2015-10-09LaTeX reader: don't eat excess whitespace after macros.John MacFarlane1-4/+4
Really close #2446.
2015-10-09benchmark: Use Criterion.Monad not Criterion.Config.John MacFarlane1-1/+1
2015-10-09LaTeX reader: don't eat whitespace after macro with only opt arg.John MacFarlane1-1/+3
Closes #2446.
2015-10-08New .travis.yml.John MacFarlane4-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-08Correct `setspace` package usage in README.Andrew Dunning1-1/+1
Template configured to set `setstretch` directly rather than package options.
2015-10-08Simplified travis.yml.John MacFarlane1-19/+17
- Follows template on hvr/multi-ghc-travis. - Don't build with ghc 7.4.2. - Build tarball after main build.
2015-10-08Travis: use cabal-install 1.22 not head.John MacFarlane1-2/+2
2015-10-08travis: use ghc 7.10.2 instead of 7.10.1.John MacFarlane1-2/+2
2015-10-08Improve CSL documentation in README.Andrew Dunning1-19/+40
2015-10-08Improve links and cross-references in README.Andrew Dunning1-215/+285
2015-10-07appveyor: don't cache HP or install wix toolset.John MacFarlane1-4/+1
2015-10-07Change variable to polyglossia-lang.name and .optionsmb212-22/+37
closes #2437
2015-10-07appveyor.yml: back to cabal/HP based build.John MacFarlane1-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.
2015-10-07Beamer template: Added space after colon in figure caption.John MacFarlane1-7/+6
2015-10-06appveyor.yml - try with 32bit version of stack.John MacFarlane1-2/+2
2015-10-06Updated changelog. Still need to organize this.John MacFarlane1-0/+227
2015-10-06Allow http-types 0.9.John MacFarlane1-1/+1
2015-10-05appveyor.yml: added 'echo "" |' to work around broken stdin.John MacFarlane1-1/+1