summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* "Merge" MANUAL.txt into README.md (#3167)ickc2016-10-22
| | | | | | | | | * "Merge" MANUAL.txt into README.md Pull request #3157 without the automatic building from MANUAL.txt to README.md * remove contributors in README.md
* Merge pull request #3158 from ickc/COPY-LICENSEJohn MacFarlane2016-10-19
|\ | | | | Use the markdown version of COPYING from GNU
| * Download markdown version of the license from GNU and rename to `COPYING.md`Kolen Cheung2016-10-19
| | | | | | | | From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
* | Merge pull request #3108 from tarleb/partJohn MacFarlane2016-10-19
|\ \ | | | | | | Add command line option allowing to set type of top-level divisions
| * | Add option for top-level division typeAlbert Krewinkel2016-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `--chapters` option is replaced with `--top-level-division` which allows users to specify the type as which top-level headers should be output. Possible values are `section` (the default), `chapter`, or `part`. The formats LaTeX, ConTeXt, and Docbook allow `part` as top-level division, TEI only allows to set the `type` attribute on `div` containers. The writers are altered to respect this option in a sensible way.
| * | TEI writer: remove heuristic to detect book templateAlbert Krewinkel2016-09-13
| | | | | | | | | | | | | | | TEI doesn't have `<book>` elements but only generic `<divN>` division elements. Checking the template for a trailing `</book>` is nonsensical.
| * | Add --parts command line option to LaTeX writer.Oliver Matthews2016-09-06
| | | | | | | | | | | | | | | | | | | | | Add --parts command line argument. This only effects LaTeX writer, and only for non-beamer output formats. It changes the output levels so the top level is 'part', the next 'chapter' and then into sections.
* | | Merge pull request #3168 from hubertp-lshift/feature/odt-image-with-captionJohn MacFarlane2016-10-19
|\ \ \ | |/ / |/| | [odt] proper formatting of an image with a caption
| * | Image with a caption needs special formattingHubert Plociniczak2016-10-19
|/ / | | | | | | | | Latex Writer only handles captions if the image's title is prefixed with 'fig:'.
* | Merge pull request #3166 from hubertp-lshift/bug/3134John MacFarlane2016-10-18
|\ \ | | | | | | Issue 3143: Don't duplicate text for anchors
| * | Issue 3143: Don't duplicate text for anchorsHubert Plociniczak2016-10-18
| | | | | | | | | | | | | | | When creating an anchor element we were adding its representation as well as the original content, leading to text duplication.
* | | Merge pull request #3165 from hubertp-lshift/feature/odt-imageJohn MacFarlane2016-10-18
|\ \ \ | | | | | | | | [odt] images parser
| * | | Use bind function instead of pattern matchingHubert Plociniczak2016-10-17
| | | |
| * | | Minor refactoringHubert Plociniczak2016-10-17
| | | |
| * | | Infer caption from the text following the imgHubert Plociniczak2016-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Frame can contain other frames with the text boxes. This is something that has not been considered before and meant that the whole construction of images was broken in those cases. Also the captions were fixed/ignored.
| * | | Basic support for images in ODT documentsHubert Plociniczak2016-10-12
| |/ / | | | | | | | | | | | | Highly influenced by the docx support, refactored some code to avoid DRY.
* | | Better fix for the problem with ghc 7.8.John MacFarlane2016-10-18
| | |
* | | Try to fix build error on ghc 7.8.John MacFarlane2016-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | @tarleb this is an interesting one, see the build log in https://travis-ci.org/jgm/pandoc/jobs/168612017 It only failed on ghc 7.8; I think this must have to do with the change making Monad a superclass of Applicative, hence this change.
* | | Setup.hs - removed some unneeded imports.John MacFarlane2016-10-18
| | |
* | | Added pandoc-citeproc back to extra-deps in stack.yaml.John MacFarlane2016-10-18
| | | | | | | | | | | | Otherwise we can't set flags.
* | | Use lts-7.4 resolver.John MacFarlane2016-10-18
| | |
* | | stack.yaml - use latest pandoc-types.John MacFarlane2016-10-18
| | |
* | | Allow latest HUnit.John MacFarlane2016-10-18
| | |
* | | Travis tweaks.John MacFarlane2016-10-18
| | | | | | | | | | | | | | | Disable optimizations. Make sure we don't change flag on aeson.
* | | Org writer: drop space before footnote markersAlbert Krewinkel2016-10-17
| | | | | | | | | | | | | | | | | | The writer no longer adds an extra space before footnote markers. Fixes: #3162
* | | RST reader: Add test for space-before-note.Jesse Rosenthal2016-10-17
| | |
* | | RST reader: skip whitespace before note.Jesse Rosenthal2016-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RST requires a space before a footnote marker. We discard those spaces so that footnotes will be adjacent to the text that comes before it. This is in line with what rst2latex does. rst2html does not discard the space, but its html output is different than pandoc's, so this seems the most semantically correct approach. Closes #3163
* | | Bump pandoc-types versions to 1.17.0.3 in stack.yaml.John MacFarlane2016-10-17
| | |
* | | Use pandoc-types 1.17.0.2 in stack.yaml.John MacFarlane2016-10-17
| | |
* | | Try travis build with latest dev pandoc-types.John MacFarlane2016-10-17
| | |
* | | BUmp pandoc-types version in stack.yamls.John MacFarlane2016-10-17
| | |
* | | Update stack.yamls to use pandoc-types 1.17 release.John MacFarlane2016-10-16
| | |
* | | Travis: fixed --flag argument in stack.John MacFarlane2016-10-16
| | |
* | | Travis: Use fast flag for aeson.John MacFarlane2016-10-15
| | | | | | | | | | | | | | | This dramatically speeds up the build, according to the aeson changelog.
* | | Org reader: allow figure with empty captionAlbert Krewinkel2016-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | A `#+CAPTION` attribute before an image is enough to turn an image into a figure. This wasn't the case because the `parseFromString` function, which processes the caption value, would fail on empty values. Adding a newline character to the caption value fixes this. Fixes: #3161
* | | Remove Tests.ArbitraryJesse Rosenthal2016-10-14
| | | | | | | | | | | | Use exported Arbitrary instances from pandoc-types instead.
* | | Merge pull request #3146 from hubertp-lshift/feature/odt-list-start-valueJohn MacFarlane2016-10-14
|\ \ \ | | | | | | | | [ODT Parser] Include list's starting value
| * | | Added tests and a corner case for starting numberHubert Plociniczak2016-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Review revealed that we didn't handle the case when the starting point is an empty string. While this is not a valid .odt file, we simply added a special case to deal with it. Also added tests for the new feature.
| * | | [ODT Parser] Include list's starting valueHubert Plociniczak2016-10-12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Previously the starting value of the lists' items has been hardcoded to 1. In reality ODT's list style definition can provide a new starting value in one of its attributes. Writers already handle the modified start value so no need to change anything in that area.
* | | Travis: test with lts-7 not lts-6.John MacFarlane2016-10-14
| | |
* | | Use latest pandoc-types in windows/stack.yaml.John MacFarlane2016-10-13
| | |
* | | Use newest pandoc-types from repo.John MacFarlane2016-10-13
| | |
* | | Markdown writer: Abstract out note/ref function.Jesse Rosenthal2016-10-13
| | | | | | | | | | | | | | | We do basically the same thing every time we insert notes, so let's cut down on code duplication.
* | | Use latest pandoc-citeproc in stack.yamls.John MacFarlane2016-10-13
| | |
* | | Update stack.yaml files.John MacFarlane2016-10-13
| | |
* | | Allow http-client 0.4.30, which is the version in stackage lts.John MacFarlane2016-10-13
| | | | | | | | | | | | | | | Previously we required 0.5. Remove CPP conditionals for earlier versions.
* | | Revert "Remove http-client CPP conditionals."John MacFarlane2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3f82471355286d33f2d73329c29a51c47bf76ad7. We might want to revert the requirement of http-client 0.5, as this is not yet in Stackage and that is starting to cause problems. I can't recall why it is there.
* | | Document `biblio-title` variable in MANUAL.txt.John MacFarlane2016-10-13
| | | | | | | | | | | | Cloess #258.
* | | Updated stack.yaml and windows/stack.yaml to use latest pandoc-types.John MacFarlane2016-10-13
| | |
* | | Merge pull request #3072 from tarleb/lineblockJohn MacFarlane2016-10-13
|\ \ \ | |/ / |/| | Read and write LineBlock elements