aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-24Muse reader: replace `optionMaybe` and `fromMaybe` with `option`Alexander Krotov1-2/+2
2018-09-23ODT Writer: Improve table header row style handlingNils Carlson2-105/+113
This changes the way styles for cells in the header row and normal rows are handled in ODT tables. Previously a new (but identical) style was generated for every table, specifying the style of the cells within the table. After this change there are two style definitions for table cells, one for the cells in the header row, one for all other cells. This doesn't change the actual styles, but makes post-processing changes to the table styles much simpler as it is no longer necessary to introduce new styles for header rows and there are now only two styles where there was previously one per table.
2018-09-22LaTeX writer: fix a use of `last` that might take empty list.John MacFarlane1-3/+3
If you ran with `--biblatex` and have an empty document (metadata but no blocks), pandoc would previously raise an error because of the use of `last` on an empty list.
2018-09-22Merge pull request #4927 from tie/patch-1John MacFarlane1-9/+9
Translations/ru
2018-09-22Update changelog.John MacFarlane1-0/+50
2018-09-22Translations/ruIvan Trubach1-9/+9
I suppose that you copy-pasted the Russian translations from babel[1] package. Actually, it has two versions — `captionsrussian@ancient` and `captionsrussian@modern`, the former contains translations for the pre-revolution (1918) orthography. [1]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/babel-contrib/russian/russianb.ldf
2018-09-22Muse reader tests: more testsAlexander Krotov1-0/+12
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs.
2018-09-21Muse reader: simplify tag parsersAlexander Krotov1-21/+19
2018-09-21Muse reader: use isAlphaNum instead of isLetter and isDigitAlexander Krotov1-2/+2
2018-09-21Muse reader: do not allow code markup to be followed by digitAlexander Krotov2-2/+6
2018-09-21Muse reader: simplify ordered list parsingAlexander Krotov1-11/+4
2018-09-21Muse reader: rewrite headingStart in applicative styleAlexander Krotov1-7/+5
and remove heading level limit
2018-09-21Muse reader: refactoringAlexander Krotov1-18/+21
2018-09-20Fix compiler warning.John MacFarlane1-1/+1
2018-09-21Muse reader: simplify <literal> tag parsersAlexander Krotov1-17/+9
2018-09-21Muse reader: cleanup and conversion to applicative styleAlexander Krotov1-95/+75
2018-09-21Muse reader: simplify lchopAlexander Krotov1-3/+2
2018-09-20RST reader: fix bug with internal link targets.John MacFarlane2-1/+15
They were gobbling up indented content underneath. Closes #4919.
2018-09-20ConTeXt writer: change `\` to `/` in Windows image paths.John MacFarlane1-1/+6
We do this in the LaTeX writer, and it avoids problems. Note that `/` works as a LaTeX path separator on Windows. Closes #4918.
2018-09-19Markdown reader: distinguish autolinks in the AST.John MacFarlane14-38/+73
With this change, autolinks are parsed as Links with the `uri` class. (The same is true for bare links, if the `autolink_bare_uris` extension is enabled.) Email autolinks are parsed as Links with the `email` class. This allows the distinction to be represented in the URI. Formerly the `uri` class was added to autolinks by the HTML writer, but it had to guess what was an autolink and could not distinguish `[http://example.com](http://example.com)` from `<http://example.com>`. It also incorrectly recognized `[pandoc](pandoc)` as an autolink. Now the HTML writer simply passes through the `uri` attribute if it is present, but does not add anything. The Textile writer has been modified so that the `uri` class is not explicitly added for autolinks, even if it is present. Closes #4913.
2018-09-19Lua filter tests: produce better error on test failureAlbert Krewinkel1-2/+2
2018-09-19Lua filter: cleanup filter execution codeAlbert Krewinkel1-51/+73
2018-09-19Muse reader: parse Text instead of StringAlexander Krotov1-3/+5
Benchmark shows 7% improvement
2018-09-19hlint Muse readerAlexander Krotov1-6/+5
2018-09-19Muse reader: get rid of HTML parser dependencyAlexander Krotov1-5/+13
2018-09-19Muse reader: use openTag and closeTag everywhereAlexander Krotov1-4/+4
2018-09-19Muse reader: make openTag return association listAlexander Krotov1-5/+5
2018-09-19Muse reader: add openTag and closeTag functionsAlexander Krotov1-18/+19
2018-09-18Add .options class to option headers in manual.John MacFarlane1-7/+7
This will allow autogeneration of ids for particular options in the manual.
2018-09-18Merge pull request #4914 from danse/4912-2John MacFarlane2-1/+4
parse rST inlines containing newlines closing #4912
2018-09-18parse rST inlines containing newlines closing #4912danse2-1/+4
this eliminates a regression error introduced after pandoc 2.1.1, affecting rST inline parsing. see the issue for details
2018-09-16Makefile: Fix executable path in trypandoc target.John MacFarlane1-1/+1
2018-09-16Update changelog.John MacFarlane1-0/+3
2018-09-16MANUAL: use https for context wiki links.John MacFarlane1-11/+11
Otherwise the wiki won't redirect. Closes #4910.
2018-09-16Markdown reader: example_lists should work without startnum.John MacFarlane2-1/+19
Closes #4908.
2018-09-16Use released version of pandoc-citeproc (0.14.4).John MacFarlane4-7/+4
2018-09-16linux/Dockerfile: Use more recent (unofficial) stack.John MacFarlane1-4/+5
2018-09-16'make winpkg': Fixed creation of zips.John MacFarlane1-8/+10
2018-09-16Makefile: fix creation of windows zip.John MacFarlane1-1/+1
This needed tweaking when the msi was fixed to be 64-bit, so that 'Program Files (x86)' is used.
2018-09-16Linux Dockerfile: try upgrading stack.John MacFarlane1-0/+2
2018-09-16Remove upx stuff from Dockerfile.John MacFarlane1-3/+0
2018-09-16Fix 'make winpkg'.John MacFarlane1-2/+2
2018-09-16Update manual date and man page.John MacFarlane2-24/+188
2018-09-16Update changelog, AUTHORS.md.John MacFarlane2-0/+237
2018-09-16Muse writer: replace newlines in strings with spacesAlexander Krotov2-1/+8
2018-09-16Merge pull request #4906 from chris-martin/patch-2John MacFarlane1-1/+1
Fix haddock on 'Ext_footnotes'
2018-09-16Muse writer: output headers without asterisks if not on the top levelAlexander Krotov1-2/+3
2018-09-15Fix haddock on 'Ext_footnotes'Chris Martin1-1/+1
2018-09-15Merge pull request #4604 from mb21/yaml-fileJohn MacFarlane6-50/+150
Introduce --metadata-file option
2018-09-15Docx writer: add MetaString case for abstract, subtitle (#4905)Mauro Bieg1-0/+2
fixes #4900