Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-10-18 | Merge pull request #3165 from hubertp-lshift/feature/odt-image | John MacFarlane | 8 | -40/+158 | |
[odt] images parser | |||||
2016-10-18 | Better fix for the problem with ghc 7.8. | John MacFarlane | 1 | -1/+3 | |
2016-10-18 | Try to fix build error on ghc 7.8. | John MacFarlane | 1 | -1/+1 | |
@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. | |||||
2016-10-18 | Setup.hs - removed some unneeded imports. | John MacFarlane | 1 | -5/+1 | |
2016-10-18 | Added pandoc-citeproc back to extra-deps in stack.yaml. | John MacFarlane | 3 | -0/+3 | |
Otherwise we can't set flags. | |||||
2016-10-18 | Use lts-7.4 resolver. | John MacFarlane | 5 | -12/+5 | |
2016-10-18 | stack.yaml - use latest pandoc-types. | John MacFarlane | 4 | -4/+4 | |
2016-10-18 | Allow latest HUnit. | John MacFarlane | 1 | -1/+1 | |
2016-10-18 | Travis tweaks. | John MacFarlane | 1 | -3/+3 | |
Disable optimizations. Make sure we don't change flag on aeson. | |||||
2016-10-17 | Org writer: drop space before footnote markers | Albert Krewinkel | 2 | -5/+5 | |
The writer no longer adds an extra space before footnote markers. Fixes: #3162 | |||||
2016-10-17 | Use bind function instead of pattern matching | Hubert Plociniczak | 1 | -4/+1 | |
2016-10-17 | Minor refactoring | Hubert Plociniczak | 1 | -10/+6 | |
2016-10-17 | Infer caption from the text following the img | Hubert Plociniczak | 5 | -22/+54 | |
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. | |||||
2016-10-17 | RST reader: Add test for space-before-note. | Jesse Rosenthal | 1 | -0/+9 | |
2016-10-17 | RST reader: skip whitespace before note. | Jesse Rosenthal | 1 | -2/+3 | |
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 | |||||
2016-10-17 | Bump pandoc-types versions to 1.17.0.3 in stack.yaml. | John MacFarlane | 4 | -4/+4 | |
2016-10-17 | Use pandoc-types 1.17.0.2 in stack.yaml. | John MacFarlane | 4 | -7/+4 | |
2016-10-17 | Try travis build with latest dev pandoc-types. | John MacFarlane | 1 | -1/+4 | |
2016-10-17 | BUmp pandoc-types version in stack.yamls. | John MacFarlane | 4 | -4/+4 | |
2016-10-16 | Update stack.yamls to use pandoc-types 1.17 release. | John MacFarlane | 4 | -6/+4 | |
2016-10-16 | Travis: fixed --flag argument in stack. | John MacFarlane | 1 | -2/+2 | |
2016-10-15 | Travis: Use fast flag for aeson. | John MacFarlane | 1 | -3/+3 | |
This dramatically speeds up the build, according to the aeson changelog. | |||||
2016-10-14 | Org reader: allow figure with empty caption | Albert Krewinkel | 2 | -3/+7 | |
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 | |||||
2016-10-14 | Remove Tests.Arbitrary | Jesse Rosenthal | 19 | -212/+17 | |
Use exported Arbitrary instances from pandoc-types instead. | |||||
2016-10-14 | Merge pull request #3146 from hubertp-lshift/feature/odt-list-start-value | John MacFarlane | 8 | -16/+24 | |
[ODT Parser] Include list's starting value | |||||
2016-10-14 | Added tests and a corner case for starting number | Hubert Plociniczak | 7 | -3/+4 | |
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. | |||||
2016-10-14 | Travis: test with lts-7 not lts-6. | John MacFarlane | 2 | -21/+5 | |
2016-10-13 | Use latest pandoc-types in windows/stack.yaml. | John MacFarlane | 1 | -1/+1 | |
2016-10-13 | Use newest pandoc-types from repo. | John MacFarlane | 1 | -1/+1 | |
2016-10-13 | Markdown writer: Abstract out note/ref function. | Jesse Rosenthal | 1 | -28/+22 | |
We do basically the same thing every time we insert notes, so let's cut down on code duplication. | |||||
2016-10-13 | Use latest pandoc-citeproc in stack.yamls. | John MacFarlane | 3 | -3/+3 | |
2016-10-13 | Update stack.yaml files. | John MacFarlane | 5 | -12/+4 | |
2016-10-13 | Allow http-client 0.4.30, which is the version in stackage lts. | John MacFarlane | 2 | -18/+2 | |
Previously we required 0.5. Remove CPP conditionals for earlier versions. | |||||
2016-10-13 | Revert "Remove http-client CPP conditionals." | John MacFarlane | 1 | -1/+10 | |
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. | |||||
2016-10-13 | Document `biblio-title` variable in MANUAL.txt. | John MacFarlane | 1 | -2/+4 | |
Cloess #258. | |||||
2016-10-13 | Updated stack.yaml and windows/stack.yaml to use latest pandoc-types. | John MacFarlane | 2 | -2/+10 | |
2016-10-13 | Merge pull request #3072 from tarleb/lineblock | John MacFarlane | 35 | -61/+157 | |
Read and write LineBlock elements | |||||
2016-10-13 | Bump required pandoc-types version to 1.17 | Albert Krewinkel | 1 | -5/+5 | |
2016-10-13 | Allow empty lines when parsing line blocks | Albert Krewinkel | 1 | -2/+5 | |
Line blocks are allowed to contain empty lines and should be parsed as a single block in that case. Previously an empty (line block) line would have terminated parsing of the line block element. | |||||
2016-10-13 | Parse line-oriented markup as LineBlock | Albert Krewinkel | 8 | -26/+34 | |
Markup-features focusing on lines as distinctive part of the markup are read into `LineBlock` elements. This currently means line blocks in reStructuredText and Markdown (the latter only if the `line_block` extension is enabled), the `linegroup`/`line` combination from the Docbook 5.1 working draft, and Org-mode `VERSE` blocks. | |||||
2016-10-13 | Add support for the LineBlock element to writers | Albert Krewinkel | 24 | -28/+102 | |
The following markup features are used to output the lines of the `LineBlock` element: - AsciiDoc: a `[verse]` block, - ConTeXt: text surrounded by `\startlines` and `\endlines`, - HTML: `div` with an per-element style setting to interpret the content as pre-wrapped, - Markdown: line blocks if the `line_blocks` extension is enabled, a simple paragraph with hard linebreaks otherwise, - Org: VERSE block, - RST: a line block, and - all other formats: a paragraph, containing hard linebreaks between lines. Custom lua writers should be updated to use the `LineBlock` element. | |||||
2016-10-13 | Shared: add function combining lines using LineBreak | Albert Krewinkel | 1 | -0/+11 | |
The `linesToBlock` function takes a list of lines and combines them by appending a hard `LineBreak` to each line and concatenating the result, putting the result it into a `Para`. This is most useful when dealing when converting `LineBlock` elements. | |||||
2016-10-12 | [ODT Parser] Include list's starting value | Hubert Plociniczak | 2 | -13/+20 | |
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. | |||||
2016-10-12 | Basic support for images in ODT documents | Hubert Plociniczak | 4 | -38/+131 | |
Highly influenced by the docx support, refactored some code to avoid DRY. | |||||
2016-10-12 | MANUAL: Made formatting of arguments with several options consistent. | John MacFarlane | 1 | -2/+2 | |
2016-10-12 | Note on --reference-links about --reference-location. | John MacFarlane | 1 | -1/+3 | |
2016-10-12 | Merge pull request #3159 from jkr/refs | John MacFarlane | 5 | -87/+313 | |
Specify location for footnotes (and reference links) in MD output | |||||
2016-10-11 | MANUAL.txt: document --reference-location. | Jesse Rosenthal | 1 | -0/+7 | |
2016-10-11 | Markdown writer: add test for note placement. | Jesse Rosenthal | 1 | -2/+138 | |
2016-10-11 | Add reference-location options to executable. | Jesse Rosenthal | 1 | -0/+17 | |