aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-17Text.Pandoc.Data: store paths in dataFiles using posix separators.John MacFarlane1-1/+9
This way we have uniform separators, whether on Windows or Linux. This should solve a problem where on some Windows versions the data files weren't being found. Closes #2459.
2015-10-17Remove compiler warning with embed_data_files.John MacFarlane1-1/+1
2015-10-16Man page update.John MacFarlane1-1/+6
2015-10-16Typo in changelog.John MacFarlane1-1/+1
2015-10-16Fixed typo in make_osx_package.sh.John MacFarlane1-1/+1
2015-10-16make-windows-installer.bat: add copying to shared drive.John MacFarlane1-0/+3
2015-10-16make_osx_package.sh: use released version of pandoc-citeproc.1.John MacFarlane1-1/+4
2015-10-16stack.pkg.yaml: use latest versions of texmath & h-k.John MacFarlane1-1/+4
Also use cpphs in building h-k.
2015-10-16Use stack for make_osx_package.sh.John MacFarlane2-17/+26
Added stack.pkg.yaml for package creation.
2015-10-15LaTeX reader: fixed longtable support.John MacFarlane1-1/+1
2015-10-15Updated changelog.John MacFarlane1-42/+84
2015-10-15Updated pandoc.1.John MacFarlane1-43/+38
2015-10-15Support all frame attributes in Beamer.John MacFarlane2-4/+13
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.