Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-28 | Text.Pandoc.Class: add insertInFileTree (API change). | John MacFarlane | 2 | -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-28 | linux package build: use stack lts-9. | John MacFarlane | 1 | -5/+22 | |
Also break up the build into three chunks for better cacheability. | |||||
2017-12-28 | Fixed warning in powerpoint writer test. | John MacFarlane | 1 | -3/+0 | |
2017-12-28 | LaTeX writer: Use \endhead after \toprule in headerless tables. | John MacFarlane | 2 | -4/+5 | |
Closes #4207. | |||||
2017-12-28 | LaTeX reader: be more tolerant of `&` character. | John MacFarlane | 2 | -1/+19 | |
This allows us to parse unknown tabular environments as raw LaTeX. Closes #4208. | |||||
2017-12-28 | Travis: removed lts-9 build. | John MacFarlane | 1 | -3/+3 | |
2017-12-28 | PowerPoint writer: Introduce beginning of tests | Jesse Rosenthal | 4 | -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-28 | Org smart test: drop superfluous import | Albert Krewinkel | 1 | -1/+1 | |
Keeps GHC 7.8 and GHC 7.10 happy. | |||||
2017-12-28 | Org reader: support minlevel option for includes | Albert Krewinkel | 3 | -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-28 | Break-up org reader test file | Albert Krewinkel | 14 | -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-28 | FB2 writer: add cover image specified by "cover-image" meta | Alexander Krotov | 1 | -1/+10 | |
Fixes #4195 | |||||
2017-12-28 | PowerPoint writer: Obey slide level option | Jesse Rosenthal | 1 | -0/+3 | |
2017-12-27 | Travis: do a stack build with lts-9. Use system ghc. | John MacFarlane | 1 | -0/+6 | |
2017-12-27 | stack.lts9.yaml: added some necessary build-deps. | John MacFarlane | 1 | -0/+1 | |
2017-12-27 | Added stack.lts9.yaml for building with lts 9 and ghc 8.0.2. | John MacFarlane | 1 | -0/+28 | |
2017-12-27 | Update appveyor to use stack.yaml. | John MacFarlane | 1 | -1/+1 | |
2017-12-27 | Docker build: upgrade stack first. | John MacFarlane | 1 | -3/+5 | |
2017-12-27 | Removed stack.pkg.yaml. | John MacFarlane | 5 | -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-27 | Added 'make trypandoc' target | John MacFarlane | 1 | -1/+4 | |
2017-12-27 | Update RELEASE-CHECKLIST. | John MacFarlane | 1 | -6/+3 | |
2017-12-27 | Fix warning. | John MacFarlane | 1 | -2/+1 | |
2017-12-27 | Update changelog. | John MacFarlane | 1 | -1/+2 | |
2017-12-27 | Small improvement to figcaption parsing. #4184. | John MacFarlane | 1 | -2/+0 | |
2017-12-27 | Merge pull request #4184 from mb21/html-reader-figcaption | John MacFarlane | 2 | -4/+39 | |
HTML Reader: be more forgiving about figcaption | |||||
2017-12-27 | Update man page and changelog. | John MacFarlane | 2 | -2/+6 | |
2017-12-27 | HTML reader: parse div with class `line-block` as LineBlock. | John MacFarlane | 3 | -1/+24 | |
See #4162. | |||||
2017-12-27 | Allow `--list-extensions` to take an optional FORMAT argument. | John MacFarlane | 2 | -7/+9 | |
This lists the extensions set by default for the selected FORMAT. | |||||
2017-12-27 | Update changelog | John MacFarlane | 1 | -0/+3 | |
2017-12-27 | Allow lenient decoding of *latex error logs. | John MacFarlane | 1 | -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-27 | data/sample.lua: use `next` instead of for loop | Albert Krewinkel | 1 | -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-27 | Removed extra comment. | John MacFarlane | 1 | -1/+0 | |
2017-12-27 | Revert "data/sample.lua: Fixed problem with definition lists." | John MacFarlane | 1 | -3/+5 | |
This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix. | |||||
2017-12-27 | Add custom tests to pandoc.cabal | John MacFarlane | 1 | -0/+2 | |
2017-12-27 | Update changelog. | John MacFarlane | 1 | -0/+2 | |
2017-12-27 | Updated man page. | John MacFarlane | 1 | -249/+358 | |
2017-12-27 | Update manual date and man page. | John MacFarlane | 2 | -23/+37 | |
2017-12-27 | Merge pull request #4204 from mb21/extension-docs | John MacFarlane | 1 | -187/+284 | |
MANUAL introduce dedicated extensions section | |||||
2017-12-27 | Fix regression of DefinitionLists in custom writer | Albert Krewinkel | 1 | -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-27 | Makefile: Add 'pandoc-templates' target. | John MacFarlane | 2 | -4/+11 | |
2017-12-27 | Update changelog. | John MacFarlane | 1 | -5/+11 | |
2017-12-27 | data/sample.lua: fixed problem with tables. | John MacFarlane | 1 | -1/+1 | |
Closes #4202. | |||||
2017-12-27 | data/sample.lua: Fixed problem with definition lists. | John MacFarlane | 1 | -5/+3 | |
2017-12-27 | Added tests for custom writer. | John MacFarlane | 3 | -0/+990 | |
2017-12-27 | MANUAL.txt introduce dedicated extensions section | mb21 | 1 | -187/+284 | |
2017-12-27 | Docx reader: add tests for structured document tags unwrapping. | Jesse Rosenthal | 3 | -0/+14 | |
2017-12-27 | Docx Reader: preprocess Document body to unwrap "w:sdt" elements | Jesse Rosenthal | 1 | -1/+31 | |
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 | |||||
2017-12-27 | Fix custom writer regression | Albert Krewinkel | 1 | -2/+1 | |
An additional `Lua.call` was left in during refactoring, which caused an exception "attempt to call a nil value". Fixes: #4202 | |||||
2017-12-26 | Update changelog. | John MacFarlane | 1 | -0/+17 | |
2017-12-26 | Use lts-10.1 resolver. | John MacFarlane | 2 | -4/+3 | |
2017-12-26 | Updated reference.docx. | John MacFarlane | 10 | -38/+415 | |
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. |