aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2017-12-27Allow lenient decoding of *latex error logs.John MacFarlane1-1/+6
These sometimes aren't properly UTF8 encoded, and it's confusing if we get an encoding error due to the error log. Closes #4200.
2017-12-27data/sample.lua: use `next` instead of for loopAlbert Krewinkel1-4/+3
Each definition list item contains just a single key and the associated value. Using `next` to get the key/value pair is more idiomatic than iterating over the single-element table.
2017-12-27Removed extra comment.John MacFarlane1-1/+0
2017-12-27Revert "data/sample.lua: Fixed problem with definition lists."John MacFarlane1-3/+5
This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix.
2017-12-27Add custom tests to pandoc.cabalJohn MacFarlane1-0/+2
2017-12-27Update changelog.John MacFarlane1-0/+2
2017-12-27Updated man page.John MacFarlane1-249/+358
2017-12-27Update manual date and man page.John MacFarlane2-23/+37
2017-12-27Merge pull request #4204 from mb21/extension-docsJohn MacFarlane1-187/+284
MANUAL introduce dedicated extensions section
2017-12-27Fix regression of DefinitionLists in custom writerAlbert Krewinkel1-1/+11
Pairs where serialized as two-element lists instead, and are now pushed again as a table with a single key/value pair. Fixes: #4202
2017-12-27Makefile: Add 'pandoc-templates' target.John MacFarlane2-4/+11
2017-12-27Update changelog.John MacFarlane1-5/+11
2017-12-27data/sample.lua: fixed problem with tables.John MacFarlane1-1/+1
Closes #4202.
2017-12-27data/sample.lua: Fixed problem with definition lists.John MacFarlane1-5/+3
2017-12-27Added tests for custom writer.John MacFarlane3-0/+990
2017-12-27MANUAL.txt introduce dedicated extensions sectionmb211-187/+284
2017-12-27Docx reader: add tests for structured document tags unwrapping.Jesse Rosenthal3-0/+14