summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* PowerPoint writer: Introduce beginning of testsJesse Rosenthal2017-12-28
| | | | | | | | | | | 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.
* Org smart test: drop superfluous importAlbert Krewinkel2017-12-28
| | | | Keeps GHC 7.8 and GHC 7.10 happy.
* Org reader: support minlevel option for includesAlbert Krewinkel2017-12-28
| | | | | | | | | 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
* Break-up org reader test fileAlbert Krewinkel2017-12-28
| | | | | | | 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.
* FB2 writer: add cover image specified by "cover-image" metaAlexander Krotov2017-12-28
| | | | Fixes #4195
* PowerPoint writer: Obey slide level optionJesse Rosenthal2017-12-28
|
* Travis: do a stack build with lts-9. Use system ghc.John MacFarlane2017-12-27
|
* stack.lts9.yaml: added some necessary build-deps.John MacFarlane2017-12-27
|
* Added stack.lts9.yaml for building with lts 9 and ghc 8.0.2.John MacFarlane2017-12-27
|
* Update appveyor to use stack.yaml.John MacFarlane2017-12-27
|
* Docker build: upgrade stack first.John MacFarlane2017-12-27
|
* Removed stack.pkg.yaml.John MacFarlane2017-12-27
| | | | | | | | 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.
* Added 'make trypandoc' targetJohn MacFarlane2017-12-27
|
* Update RELEASE-CHECKLIST.John MacFarlane2017-12-27
|
* Fix warning.John MacFarlane2017-12-27
|
* Update changelog.John MacFarlane2017-12-27
|
* Small improvement to figcaption parsing. #4184.John MacFarlane2017-12-27
|
* Merge pull request #4184 from mb21/html-reader-figcaptionJohn MacFarlane2017-12-27
|\ | | | | HTML Reader: be more forgiving about figcaption
| * HTML Reader: be more forgiving about figcaptionmb212017-12-23
| | | | | | | | fixes #4183
* | Update man page and changelog.John MacFarlane2017-12-27
| |
* | HTML reader: parse div with class `line-block` as LineBlock.John MacFarlane2017-12-27
| | | | | | | | See #4162.
* | Allow `--list-extensions` to take an optional FORMAT argument.John MacFarlane2017-12-27
| | | | | | | | | | This lists the extensions set by default for the selected FORMAT.
* | Update changelogJohn MacFarlane2017-12-27
| |
* | Allow lenient decoding of *latex error logs.John MacFarlane2017-12-27
| | | | | | | | | | | | | | | | These sometimes aren't properly UTF8 encoded, and it's confusing if we get an encoding error due to the error log. Closes #4200.
* | data/sample.lua: use `next` instead of for loopAlbert Krewinkel2017-12-27
| | | | | | | | | | | | 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.
* | Removed extra comment.John MacFarlane2017-12-27
| |
* | Revert "data/sample.lua: Fixed problem with definition lists."John MacFarlane2017-12-27
| | | | | | | | | | This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix.
* | Add custom tests to pandoc.cabalJohn MacFarlane2017-12-27
| |
* | Update changelog.John MacFarlane2017-12-27
| |
* | Updated man page.John MacFarlane2017-12-27
| |
* | Update manual date and man page.John MacFarlane2017-12-27
| |
* | Merge pull request #4204 from mb21/extension-docsJohn MacFarlane2017-12-27
|\ \ | | | | | | MANUAL introduce dedicated extensions section
| * | MANUAL.txt introduce dedicated extensions sectionmb212017-12-27
| | |
* | | Fix regression of DefinitionLists in custom writerAlbert Krewinkel2017-12-27
| | | | | | | | | | | | | | | | | | | | | Pairs where serialized as two-element lists instead, and are now pushed again as a table with a single key/value pair. Fixes: #4202
* | | Makefile: Add 'pandoc-templates' target.John MacFarlane2017-12-27
| | |
* | | Update changelog.John MacFarlane2017-12-27
| | |
* | | data/sample.lua: fixed problem with tables.John MacFarlane2017-12-27
| | | | | | | | | | | | Closes #4202.
* | | data/sample.lua: Fixed problem with definition lists.John MacFarlane2017-12-27
| | |
* | | Added tests for custom writer.John MacFarlane2017-12-27
|/ /
* | Docx reader: add tests for structured document tags unwrapping.Jesse Rosenthal2017-12-27
| |
* | Docx Reader: preprocess Document body to unwrap "w:sdt" elementsJesse Rosenthal2017-12-27
| | | | | | | | | | | | | | | | | | | | We walk through the document (using the zipper in Text.XML.Light.Cursor) to unwrap the sdt tags before doing the rest of the parsing of the document. Note that the function is generically named `walkDocument` in case we need to do any further preprocessing in the future. Closes #4190
* | Fix custom writer regressionAlbert Krewinkel2017-12-27
| | | | | | | | | | | | | | An additional `Lua.call` was left in during refactoring, which caused an exception "attempt to call a nil value". Fixes: #4202
* | Update changelog.John MacFarlane2017-12-26
| |
* | Use lts-10.1 resolver.John MacFarlane2017-12-26
| |
* | Updated reference.docx.John MacFarlane2017-12-26
| | | | | | | | | | | | | | | | | | | | Instead of just "Hello, world", the document now contains exemplars of most of the styles that have an effect on pandoc documents. This makes it easier to see the effect of style changes. Closes #4175.
* | LaTeX writer: Allow fragile=singleslide attribute in beamer slides.John MacFarlane2017-12-26
| | | | | | | | Closes #4169.
* | Add opus to MIME type table as audio/ogg.John MacFarlane2017-12-26
| | | | | | | | See #4198.
* | LaTeX reader: support `\foreignlanguage` from babel.John MacFarlane2017-12-26
| |
* | Tweaks to lua-filters.md docsJohn MacFarlane2017-12-26
| |
* | HTML writer: Use br elements in line blocks...John MacFarlane2017-12-26
| | | | | | | | | | | | | | | | instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block.