aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15Use unicode super/subscripts for digits in plain output.John MacFarlane2-5/+16
2015-10-14reveal.js template changes (Andrew Dunning).John MacFarlane1-7/+7
- Add width, height variables to reveal.js. - Update reveal.js template from 3.1 source. All configuration options are now available as variables, but are only be included if set (reveal.js uses defaults otherwise).
2015-10-14Merge pull request #2451 from adunning/patch-1John MacFarlane1-27/+13
Update slides variables in README.
2015-10-14Update slides variables in README.Andrew Dunning1-27/+13
This reflects the inclusion of all reveal.js variables in <https://github.com/jgm/pandoc-templates/pull/134>.
2015-10-14Merge pull request #2450 from adunning/patch-1John MacFarlane1-6/+22
Add new LaTeX variables to README.
2015-10-14Add new LaTeX variables to README.Andrew Dunning1-6/+22
2015-10-14LaTeX template: Add fontenc, indent, subparagraph variables.John MacFarlane1-7/+7
Thanks to Andrew Dunning.
2015-10-14More changes to avoid compiler warnings on ghc 7.10.John MacFarlane8-22/+42
* CPP around deprecated `parseTime`. * Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time, now exports Data.Time.
2015-10-14Merge pull request #2449 from adunning/patch-1John MacFarlane1-21/+29
Improve documentation of recent template changes.
2015-10-14travis: use -Werror even on ghc 7.10.John MacFarlane1-1/+1
2015-10-14Use custom Prelude to avoid compiler warnings.John MacFarlane60-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-14Improve documentation of recent template changes.Andrew Dunning1-21/+29
2015-10-13LaTeX writer: add `\protect` to `\hyperdef` in inline context.John MacFarlane1-1/+1
This way we don't get an error when this is used as a moveable argument. Closes #2136.
2015-10-13epub with `--webtex`: include image file rather than data: URI.John MacFarlane1-12/+8
Closes #2363.
2015-10-13Fixed tests for template changes.John MacFarlane3-5/+7
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.