aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-03Powerpoint writer: Allow linked images.Jesse Rosenthal1-11/+32
The following markdown: [![Image Title](image.jpg)](http://www.example.com) will now produce a linked image in the resulting PowerPoint file.
2018-01-03Use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-01-03PowerPoint writer: Fix error with empty table cell.Jesse Rosenthal1-6/+10
We require an empty "<a:p>" tag, even if the cell contains no paragraphs -- otherwise PowerPoint complains of corruption.
2018-01-03Powerpoint writer: Fix compiler error (again)Jesse Rosenthal1-3/+3
The record syntax in a pattern match seems to be confusing the 8.X compilers. Stop using it.
2018-01-03Powerpoint writer: Appease compilerJesse Rosenthal1-8/+11
2018-01-03Powerpoint writer: Implement two-column slides.Jesse Rosenthal1-12/+95
This uses the columns/column div format described in the pandoc manual. At the moment, only two columns (half the screen each) are allowed. Custom widths are not supported.
2018-01-02Use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-01-02Use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-01-02Merge pull request #4219 from stalmon/masterJohn MacFarlane1-4/+2
fixes for docx writer
2018-01-02MANUAL.txt: add information about paragraph insertion/deletionJesse Rosenthal1-2/+5
2018-01-02Revert "MANUAL.txt: add information about paragraph insertion/deletion."Jesse Rosenthal1-163/+160
This reverts commit 09e132726d379e3f4e34de5700ae34cad3002f4b.
2018-01-02Docx reader: remove MultiWayIfJesse Rosenthal1-38/+39
Different formatting rules across 7.X and 8.X. Use empty case expression instead.
2018-01-02MANUAL.txt: add information about paragraph insertion/deletion.Jesse Rosenthal1-160/+163
2018-01-02Docx reader: Add tests for paragraph insertion/deletion.Jesse Rosenthal5-0/+19
2018-01-02Docx reader: Allow for insertion/deletion of paragraphs.Jesse Rosenthal1-4/+44
If the paragraph has a deleted or inserted paragraph break (depending on the track-changes setting) we hold onto it until the next paragraph. This takes care of accept and reject. For this we introduce a new state which holds the ils from the previous para if necessary. For `--track-changes=all`, we add an empty span with class `paragraph-insertion`/`paragraph-deletion` at the end of the paragraph prior to the break to be inserted or deleted. Closes #3927.
2018-01-02Docx reader: Parse track changes info into paragraph props.Jesse Rosenthal1-15/+27
This will tell us whether a paragraph break was inserted or deleted. We add a generalized track-changes parsing function, and use it in `elemToParPart` as well.
2018-01-02Docx reader: Extract tracked changes type from parpart.Jesse Rosenthal2-6/+19
We're going to want to use it elsewhere as well, in upcoming tracking of paragraph insertion/deletion.
2018-01-02firstRow table definition compatibility for Word 2016Sebastian Talmon1-1/+1
Word 2016 seems to use a default value of "1" for table headers, if there is no firstRow definition (although a default value of 0 is documented), so all tables get the first Row formatted as header. Setting the parameter to 0 if the table has no header row fixes this for Word 2016
2018-01-01Docx writer: Fix custom styles with spaces in the name.John MacFarlane1-1/+1
Custom styles with spaces worked for divs but not for spans. This commit fixes the problem. Closes #3290.
2018-01-01Revert "Travis: try running tests single-threaded."John MacFarlane1-2/+2
This reverts commit 84a4d3685cda5df3e69599afbbde8a8ec556a800.
2018-01-01Travis: try running tests single-threaded.John MacFarlane1-2/+2
This should ensure continuous output, so we don't have 10m blank spots which cause travis to kill.
2018-01-01Markdown reader: rewrite inlinesInBalancedBrackets.John MacFarlane1-19/+13
The rewrite is much more direct, avoiding parseFromString. And it performs significantly better; unfortunately, parsing time still increases exponentially. See #1735.
2018-01-02Removed redundant subtitle in titlestalmon1-3/+1
subtitle is allready used to create a subtitle for the document appending the subtitle to the main title leads to double subtitle in the document
2018-01-01Lua.Module.Utils: make stringify work on MetaValues.John MacFarlane1-1/+4
I'm sure this was intended in the first place, but currently only Meta is supported.
2017-12-31Docx reader: minor cleanup.Jesse Rosenthal1-1/+2
2017-12-31Docx reader: tests for overlapping targets (anchor spans).Jesse Rosenthal3-0/+7
2017-12-31Docx Reader: Combine adjacent anchors.Jesse Rosenthal2-22/+49
There isn't any reason to have numberous anchors in the same place, since we can't maintain docx's non-nesting overlapping. So we reduce to a single anchor, and have all links pointing to one of the overlapping anchors point to that one. This changes the behavior from commit e90c714c7 slightly (use the first anchor instead of the last) so we change the expected test result. Note that because this produces a state that has to be set after every invocation of `parPartToInlines`, we make the main function into a primed subfunction `parPartToInlines'`, and make `parPartToInlines` a wrapper around that.
2017-12-30Markdown reader: Avoid parsing raw tex unless \ + letter seen.John MacFarlane1-1/+2
This seems to help with the performance problem, #4216.
2017-12-30LaTeX reader: Simplified a check for raw tex command.John MacFarlane1-2/+2
2017-12-30Docx reader: tests for removing unused anchors.Jesse Rosenthal3-0/+7
2017-12-30Docx reader: Remove unused anchors.Jesse Rosenthal1-5/+27
Docx produces a lot of anchors with nothing pointing to them -- we now remove these to produce cleaner output. Note that this has to occur at the end of the process because it has to follow link/anchor rewriting. Closes #3679.
2017-12-30Improve benchmarks.John MacFarlane1-40/+43
Previously we weren't setting the default extensions properly, so e.g. 'markdown' wasn't being tested with pandoc markdown extensions.
2017-12-31Muse reader: automatically translate #cover into #cover-imageAlexander Krotov1-1/+3
Amusewiki uses #cover directive to specify cover image.
2017-12-30Improved benchmark argument parsing.John MacFarlane1-10/+5
You can now say 'make bench BENCHARGS="markdown latex reader"' and both the markdown and latex readers will be benchmarked.
2017-12-30Fixed small bug in README generation.John MacFarlane2-7/+5
2017-12-30Use gfm for generated README.md.John MacFarlane2-144/+127
2017-12-30Muse reader: enable round trip testAlexander Krotov1-10/+9
Closes #4107
2017-12-30Muse writer: don't escape URIs from ASTAlexander Krotov1-1/+1
2017-12-30Docx reader: Read multiple children of w:sdtContents`Jesse Rosenthal2-6/+15
Previously we had only read the first child of an sdtContents tag. Now we replace sdt with all children of the sdtContents tag. This changes the expected test result of our nested_anchors test, since now we read docx's generated TOCs.
2017-12-29Update RELEASE-CHECKLISTJohn MacFarlane1-33/+17
2017-12-29Generate README.md from template and MANUAL.txt.John MacFarlane4-120/+229
`make README.md` will generate the README.md after changes to MANUAL.txt have been made.
2017-12-29Small MANUAL tweaks.John MacFarlane1-4/+9
2017-12-29Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane1-119/+133
2017-12-29Merge pull request #4214 from mb21/manualJohn MacFarlane1-119/+133
MANUAL.txt simplify and add more structure
2017-12-29Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane8-100/+168
2017-12-29Powerpoint Writer tests: Add quickcheck tests for content types.Jesse Rosenthal2-15/+79
We want to make sure we always have an override for each xml file in the content types file.
2017-12-29MANUAL.txt move fenced_divs down to bracketed_spansmb211-42/+49
2017-12-29Powerpoint writer test: more slide number testsJesse Rosenthal1-4/+9
Add test for custom slide-level header, and notes slides.
2017-12-29MANUAL.txt simplify and add more structuremb211-77/+84
2017-12-29Lua filters: stop exporting pushPandocModuleAlbert Krewinkel1-6/+0
The function `pushPandocModule` was exported by Text.Pandoc.Lua to enable simpler testing. The introduction of `runPandocLua` renders direct use of this function obsolete. (API change)