aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2017-12-28Break-up org reader test fileAlbert Krewinkel14-1864/+2019
The org reader test file had grown large, to the point that editor performance was negatively affected in some cases. The tests are spread over multiple submodules, and re-combined into a tasty TestTree in the main org reader test file.
2017-12-28FB2 writer: add cover image specified by "cover-image" metaAlexander Krotov1-1/+10
Fixes #4195
2017-12-28PowerPoint writer: Obey slide level optionJesse Rosenthal1-0/+3
2017-12-27Travis: do a stack build with lts-9. Use system ghc.John MacFarlane1-0/+6
2017-12-27stack.lts9.yaml: added some necessary build-deps.John MacFarlane1-0/+1
2017-12-27Added stack.lts9.yaml for building with lts 9 and ghc 8.0.2.John MacFarlane1-0/+28
2017-12-27Update appveyor to use stack.yaml.John MacFarlane1-1/+1
2017-12-27Docker build: upgrade stack first.John MacFarlane1-3/+5
2017-12-27Removed stack.pkg.yaml.John MacFarlane5-21/+12
We only really need stack.yaml; we can put flag settings for pandoc-citeproc there. Also use ghc-8.0.2 in dockerized linux build. This is the only version available for alpine so far.
2017-12-27Added 'make trypandoc' targetJohn MacFarlane1-1/+4
2017-12-27Update RELEASE-CHECKLIST.John MacFarlane1-6/+3
2017-12-27Fix warning.John MacFarlane1-2/+1
2017-12-27Update changelog.John MacFarlane1-1/+2
2017-12-27Small improvement to figcaption parsing. #4184.John MacFarlane1-2/+0
2017-12-27Merge pull request #4184 from mb21/html-reader-figcaptionJohn MacFarlane2-4/+39
HTML Reader: be more forgiving about figcaption
2017-12-27Update man page and changelog.John MacFarlane2-2/+6
2017-12-27HTML reader: parse div with class `line-block` as LineBlock.John MacFarlane3-1/+24
See #4162.
2017-12-27Allow `--list-extensions` to take an optional FORMAT argument.John MacFarlane2-7/+9
This lists the extensions set by default for the selected FORMAT.
2017-12-27Update changelogJohn MacFarlane1-0/+3