aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2017-12-29Update tool which generates lua module docsAlbert Krewinkel2-9/+9
All "helper functions" are not part of the Lua code for module pandoc, but are added in Haskell. The respective documentation section must therefore be excluded from automatic regeneration.
2017-12-29data/pandoc.lua: drop function pandoc.global_filterAlbert Krewinkel5-68/+9
The function `global_filter` was used internally to get the implicitly defined global filter. It was of little value to end-users, but caused unnecessary code duplication in pandoc. The function has hence been dropped. Internally, the global filter is now received by interpreting the global table as lua filter. This is a Lua API change.
2017-12-29doc/lua-filters.md: re-add docs for helper functionsAlbert Krewinkel1-0/+75
These docs are dropped, as the functions are no longer part of data/pandoc.lua, from which this section is generated. This is only a temporary fix: a proper fix will have to re-think how this section is updated.
2017-12-29data/pandoc.lua: fix documentation for global_filterAlbert Krewinkel2-20/+9
2017-12-28Update changelog.John MacFarlane1-5/+5
2017-12-28Bump pandoc-citeproc to 0.12.2.2.John MacFarlane2-2/+2
2017-12-28Update man page.John MacFarlane1-1/+4
2017-12-28Changelog typo.John MacFarlane1-1/+1
2017-12-28Update lua-filters.md and the tool that generates it.John MacFarlane2-182/+108
2017-12-28Fixed some doc comments in data/pandoc.lua.John MacFarlane1-10/+10
2017-12-28Remove redundant import.John MacFarlane1-1/+0
2017-12-28Merge pull request #4170 from oltolm/opendocumentJohn MacFarlane3-9/+51
improve formatting of formulas in OpenDocument
2017-12-28Update changelog.John MacFarlane1-0/+12
2017-12-28Revised benchmark so it doesn't use FileTree constructor.John MacFarlane1-4/+5
2017-12-28Use latest pandoc-citeproc.John MacFarlane2-2/+3
2017-12-28Class: make FileTree opaque.John MacFarlane1-1/+1
This forces uses to interact with it using `insertInFileTree` and `getFileInfo`, which normalize file names.
2017-12-28Update docs on filters.John MacFarlane2-5/+7
2017-12-28Filter changes.John MacFarlane2-35/+47
* Previously we ran all lua filters before JSON filters. * Now we run filters in the order they are presented on the command line, whether lua or JSON. * The type of `applyFilters` has changed (incompatible API change). * `applyLuaFilters` has been removed (incompatible API change). * Bump version to 2.1. See #4196.
2017-12-28Makefile tweaksJohn MacFarlane1-2/+2
2017-12-28Update RELEASE_CHECKLIST.John MacFarlane1-1/+1
2017-12-28Makefile: add update-website targetJohn MacFarlane1-0/+6
2017-12-28Update man page.John MacFarlane1-8/+10
2017-12-28Update changelog.John MacFarlane1-0/+37
2017-12-28Merge pull request #4212 from iredwards/masterJohn MacFarlane1-5/+5
clarify default html output for --section-divs
2017-12-28Revert "Revert "Travis: removed lts-9 build.""John MacFarlane1-3/+3
This reverts commit 915775b8b08cdd2b0c51447a034f0dbeb6d59cec.
2017-12-28Merge pull request #1 from iredwards/iredwards-patch-1Richard Edwards1-5/+5
clarify default html output for --section-divs