aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2018-05-31Muse reader: add support for floating imagesAlexander Krotov1-0/+6
2018-05-31Muse reader: add support for images with specified widthAlexander Krotov1-0/+6
2018-05-30LaTeX reader `rawLaTeXBlock`: handle macros that resolve to a...John MacFarlane1-0/+20
...`\begin` or `\end`. Fixes #4667.
2018-05-30Markdown writer: preserve `implicit_figures` with attributes...John MacFarlane1-0/+7
...even if `implicit_attributes` is not set, by rendering in raw HTML. Fixes #4677.
2018-05-30Muse reader: parse image URLs without "guard" and "takeExtension"Alexander Krotov1-0/+3
2018-05-27Muse reader: test image with space in filenameAlexander Krotov1-0/+3
2018-05-15rawLaTeXBlock: don't expand macros in macro definitions!John MacFarlane1-0/+8
Closes #4653. Note that this only affected LaTeX in markdown. Added regression test.
2018-05-14Make internal links work in ODT/OpenDocument.John MacFarlane1-44/+53
This adds proper bookmarks to the headers with non-null IDs. Closes #4358.
2018-05-11Removed inadvertently added .orig files from repository.John MacFarlane79-10389/+0
These were added by https://github.com/schrieveslaach/pandoc/commit/96d10c72cc95e56c9e49db3e6db7118e89d1f1e0 Closes #4648.
2018-05-10Use texmath-0.11.John MacFarlane1-1/+1
2018-05-09Fix regression with tex math environments in HTML + MathJax.John MacFarlane1-0/+10
Closes #4639.
2018-05-09Parsing: Lookahead for non-whitespace after single/double quote start.John MacFarlane1-0/+6
Closes #4637.
2018-05-08Another try at test-pandoc-utils.lua on windows.John MacFarlane1-3/+2
2018-05-08test-pandoc-utils.lua - add diagnostic for windows test.John MacFarlane1-0/+1
2018-05-08More adjustments to test-pandoc-utils.lua.John MacFarlane1-5/+4
We need to find something that will work on windows.
2018-05-08test-pandoc-utils.lua - use tr instead of sed.John MacFarlane1-1/+1
It should be installed on all *nix systems.
2018-05-08test-pandoc-utils.lua: workaround some local differences in 'echo'.John MacFarlane1-2/+2
2018-05-08test-pandoc-utils.lua: remove problems with missing `/bin/false`.John MacFarlane1-13/+22
Previously it was assumed that the system would have `/bin/false` and `/bin/sed`, and these tests were skipped otherwise. On MacOS, these utilities are located in `/usr/bin`. Fixed by just using `sed` and `false` -- these should always be in the path. Removed the "skipping" behavior, replaced with a check for Windows. On Windowns, we use `echo` and `cd`, which should always exist. Not yet checked on Windows.
2018-05-08Support underline in docx writer.John MacFarlane1-0/+0
Updated golden test and confirmed validity of file. Closes #4633.
2018-05-08Add test for #4576.John MacFarlane1-0/+6
Closes #4576.
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov1-0/+6
Address issue #4542
2018-05-01Update tests for #4605.John MacFarlane2-2/+2
2018-04-29Test Lua filter converting display math to inline mathAlexander Krotov2-1/+18
2018-04-27RST writer: preserve empty inline parents in flatten (#4603)Francesco Occhipinti1-0/+3
2018-04-26Add FB2 reader (#4539)Alexander12-0/+171
2018-04-26Merge branch 'fb2-hrblankline' of https://github.com/labdsf/pandoc into ↵John MacFarlane4-56/+144
labdsf-fb2-hrblankline
2018-04-26RST reader: fix anonymous redirects with backticks.John MacFarlane1-0/+10
Closes #4598.
2018-04-26RST reader: flatten nested inlines, closes #4368 (#4554)Francesco Occhipinti2-7/+31
nested inlines are not valid RST syntax, so we flatten them following some readability criteria discussed in #4368.
2018-04-26Muse reader: allow nested footnotesAlexander Krotov1-0/+9
2018-04-25Add tests for #4589 and #4594 (currently failing).John MacFarlane2-0/+38
2018-04-25Ms template: Fix date.John MacFarlane1-1/+4
Previously .ND was used, but this only works if you have a title page, which we don't. Thanks to @teoric.
2018-04-25Removed deprecated ancient HTML math methods.John MacFarlane2-203/+3
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2.
2018-04-25Remove nonfree ICC profiles from thumbnails in test docx files.John MacFarlane18-0/+0
Closes #4588.
2018-04-22RST reader: allow < 3 spaces indent under directives.John MacFarlane1-0/+16
Closes #4579.
2018-04-21Small test suite update. Markdown tables.John MacFarlane1-8/+8
2018-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane23-148/+162
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column.
2018-04-19RST writer: use more consistent indentation.John MacFarlane6-83/+83
Previously we used an odd mix of 3- and 4-space indentation. Now we use 3-space indentation, except for ordered lists, where indentation must depend on the width of the list marker. Closes #4563.
2018-04-19FB2 writer: convert metadata value "abstract" to book annotationAlexander Krotov3-0/+11
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov1-0/+5
2018-04-17Docx reader tests: Test for combining adjacent code blocks.Jesse Rosenthal3-0/+10
2018-04-17Markdown reader: add regression test for previous commitAlexander Krotov1-0/+3
2018-04-16Muse reader: allow verse to be indentedAlexander Krotov1-0/+18
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them.
2018-04-16Fix a typo in Muse reader testsuite commentAlexander Krotov1-1/+1
2018-04-16Muse writer: escape definition list terms starting with list markersAlexander Krotov1-0/+9
2018-04-15Ms writer: font improvements.John MacFarlane1-25/+25
* Use `\f[R]` rather than `\f[]` to reset. The latter returns to the previous font, which gives unintended results in some cases. * Use `\f[BI]` and `\f[CB]` in headers, instead of `\f[I]` and `\f[C]`, since the header font is automatically bold. * Use `\f[CB]` rather than `\f[BC]` for monospace bold. Closes #4552.
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov1-0/+3
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov1-0/+9
2018-04-15Muse reader: allow URL to be emptyAlexander Krotov1-0/+1
Muse writer can write links with empty URLs, so Muse reader should read them.
2018-04-15Muse reader: require that comment semicolons are in the first columnAlexander Krotov1-0/+1
Fixes #4551
2018-04-14Man writer: Don't escape U+2019 as '.John MacFarlane82-21/+10417
Closes #4550.