aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-29Powerpoint Writer tests: Add quickcheck tests for content types.Jesse Rosenthal2-15/+79
We want to make sure we always have an override for each xml file in the content types file.
2017-12-29MANUAL.txt move fenced_divs down to bracketed_spansmb211-42/+49
2017-12-29Powerpoint writer test: more slide number testsJesse Rosenthal1-4/+9
Add test for custom slide-level header, and notes slides.
2017-12-29MANUAL.txt simplify and add more structuremb211-77/+84
2017-12-29Lua filters: stop exporting pushPandocModuleAlbert Krewinkel1-6/+0
The function `pushPandocModule` was exported by Text.Pandoc.Lua to enable simpler testing. The introduction of `runPandocLua` renders direct use of this function obsolete. (API change)
2017-12-29Update tool which generates lua module docsAlbert Krewinkel2-9/+9
All "helper functions" are not part of the Lua code for module pandoc, but are added in Haskell. The respective documentation section must therefore be excluded from automatic regeneration.
2017-12-29data/pandoc.lua: drop function pandoc.global_filterAlbert Krewinkel5-68/+9
The function `global_filter` was used internally to get the implicitly defined global filter. It was of little value to end-users, but caused unnecessary code duplication in pandoc. The function has hence been dropped. Internally, the global filter is now received by interpreting the global table as lua filter. This is a Lua API change.
2017-12-29doc/lua-filters.md: re-add docs for helper functionsAlbert Krewinkel1-0/+75
These docs are dropped, as the functions are no longer part of data/pandoc.lua, from which this section is generated. This is only a temporary fix: a proper fix will have to re-think how this section is updated.
2017-12-29data/pandoc.lua: fix documentation for global_filterAlbert Krewinkel2-20/+9
2017-12-28Update changelog.John MacFarlane1-5/+5
2017-12-28Bump pandoc-citeproc to 0.12.2.2.John MacFarlane2-2/+2
2017-12-28Update man page.John MacFarlane1-1/+4
2017-12-28Changelog typo.John MacFarlane1-1/+1
2017-12-28Update lua-filters.md and the tool that generates it.John MacFarlane2-182/+108
2017-12-28Fixed some doc comments in data/pandoc.lua.John MacFarlane1-10/+10
2017-12-28Remove redundant import.John MacFarlane1-1/+0
2017-12-28Merge pull request #4170 from oltolm/opendocumentJohn MacFarlane3-9/+51
improve formatting of formulas in OpenDocument
2017-12-28Update changelog.John MacFarlane1-0/+12
2017-12-28Revised benchmark so it doesn't use FileTree constructor.John MacFarlane1-4/+5
2017-12-28Use latest pandoc-citeproc.John MacFarlane2-2/+3
2017-12-28Class: make FileTree opaque.John MacFarlane1-1/+1
This forces uses to interact with it using `insertInFileTree` and `getFileInfo`, which normalize file names.
2017-12-28Update docs on filters.John MacFarlane2-5/+7
2017-12-28Filter changes.John MacFarlane2-35/+47
* Previously we ran all lua filters before JSON filters. * Now we run filters in the order they are presented on the command line, whether lua or JSON. * The type of `applyFilters` has changed (incompatible API change). * `applyLuaFilters` has been removed (incompatible API change). * Bump version to 2.1. See #4196.
2017-12-28Makefile tweaksJohn MacFarlane1-2/+2
2017-12-28Update RELEASE_CHECKLIST.John MacFarlane1-1/+1
2017-12-28Makefile: add update-website targetJohn MacFarlane1-0/+6
2017-12-28Update man page.John MacFarlane1-8/+10
2017-12-28Update changelog.John MacFarlane1-0/+37
2017-12-28Merge pull request #4212 from iredwards/masterJohn MacFarlane1-5/+5
clarify default html output for --section-divs
2017-12-28Revert "Revert "Travis: removed lts-9 build.""John MacFarlane1-3/+3
This reverts commit 915775b8b08cdd2b0c51447a034f0dbeb6d59cec.
2017-12-28Merge pull request #1 from iredwards/iredwards-patch-1Richard Edwards1-5/+5
clarify default html output for --section-divs
2017-12-28Revert "Travis: removed lts-9 build."John MacFarlane1-3/+3
This reverts commit 2278cd5e772a9b8858b91c336c043a696480d25f.
2017-12-28clarify default html output for --section-divsRichard Edwards1-5/+5
In Pandoc v2 using --section-divs and -t html results in <section>s, not <div>s, by default, as was the case for v1.9. This change to the Manual emphasizes that you must use -t html4 if you want divs, otherwise you get sections.
2017-12-28improve formatting of formulas in OpenDocumentoltolm3-9/+51
2017-12-28Alphabetical order Extension constructors.John MacFarlane1-61/+61
This makes them appear in order in `--list-extensions`.
2017-12-28Changed format of --list-extensions.John MacFarlane2-6/+6
Now the + or - occurs first.
2017-12-28Powerpoint writer tests: use IO.John MacFarlane4-339/+20
Otherwise we can't find the data files when compiled with -embed_data_files.
2017-12-28Moved makeCanoncial definition out of ifdef!John MacFarlane2-20/+22
Also added slide2 to the default pptx, and reordered the data files in pandoc.cabal.
2017-12-28Class: use makeCanonical for normalization in FileTree and data files.John MacFarlane1-8/+11
2017-12-28Added data/docx/word/comments.xml to pandoc.cabal data files.John MacFarlane1-0/+1
2017-12-28Use insertInFileTree in powerpoint test.John MacFarlane1-2/+1
2017-12-28Text.Pandoc.Class: add insertInFileTree (API change).John MacFarlane2-14/+15
This gives a pure way to insert an ersatz file into a FileTree. In addition, we normalize paths both on insertion and on lookup, so that "foo" and "./foo" will be judged equivalent.
2017-12-28linux package build: use stack lts-9.John MacFarlane1-5/+22
Also break up the build into three chunks for better cacheability.
2017-12-28Fixed warning in powerpoint writer test.John MacFarlane1-3/+0
2017-12-28LaTeX writer: Use \endhead after \toprule in headerless tables.John MacFarlane2-4/+5
Closes #4207.
2017-12-28LaTeX reader: be more tolerant of `&` character.John MacFarlane2-1/+19
This allows us to parse unknown tabular environments as raw LaTeX. Closes #4208.
2017-12-28Travis: removed lts-9 build.John MacFarlane1-3/+3
2017-12-28PowerPoint writer: Introduce beginning of testsJesse Rosenthal4-0/+433
This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0.
2017-12-28Org smart test: drop superfluous importAlbert Krewinkel1-1/+1
Keeps GHC 7.8 and GHC 7.10 happy.
2017-12-28Org reader: support minlevel option for includesAlbert Krewinkel3-15/+115
The level of headers in included files can be shifted to a higher level by specifying a minimum header level via the `:minlevel` parameter. E.g. `#+include: "tour.org" :minlevel 1` will shift the headers in tour.org such that the topmost headers become level 1 headers. Fixes: #4154