summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Ms writer: Use indented paragraphs after first in section.John MacFarlane2017-03-24
| | | | | Note that the current indentation setting is 0; see the settings in the template.
* default.ms: Add settings for document variables like width.John MacFarlane2017-03-24
|
* Ms writer: support --toc, date, abstract.John MacFarlane2017-03-24
|
* Markdown writer: don't emit a simple table if `simple_tables` disabled.John MacFarlane2017-03-24
| | | | Closes #3529.
* Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane2017-03-24
|
* Ms writer: improved definition lists.John MacFarlane2017-03-23
| | | | | Use standard .IP macro. Also properly escape ".
* Pipe tables: impose minimum cell size.John MacFarlane2017-03-23
| | | | | This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
* Grid tables: remove unnecessary extra space in cells.John MacFarlane2017-03-23
|
* Ms writer: fixed hard line breaks.John MacFarlane2017-03-23
|
* Updated ms tests.John MacFarlane2017-03-23
|
* Ms. writer: don't render links in footnotes as footnotes.John MacFarlane2017-03-23
|
* Ms writer: Improved footnotes.John MacFarlane2017-03-23
|
* Ms writer: fixed strong/emph combination.John MacFarlane2017-03-23
| | | | Perhaps something similar is needed in the man writer.
* Initial addition of groff ms writer.John MacFarlane2017-03-23
| | | | | | | | | * New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
* Added to issue 3516 command test to debug test failure on appveyor.John MacFarlane2017-03-22
|
* Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane2017-03-21
| | | | ...unless unicode super/subscripted characters are available.
* Improve rendering of superscript in plain output.John MacFarlane2017-03-21
| | | | | | | We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
* RST writer: improve grid table output, fix bug with empty rows.John MacFarlane2017-03-21
| | | | | | | Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
* Add `space_in_atx_header` extension.John MacFarlane2017-03-20
| | | | | | | | | | | | | | | | | This is enabled by default in pandoc and GitHub markdown but not the other flavors. This requirse a space between the opening #'s and the header text in ATX headers (as CommonMark does but many other implementations do not). This is desirable to avoid falsely capturing things ilke #hashtag or #5 Closes #3512.
* Lua filters (#3514)Albert Krewinkel2017-03-20
| | | | | | | | | * Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.
* Removed failing part of 3348 test.John MacFarlane2017-03-19
| | | | | | | | | This was failing because of a small discrepancy in markdown table header line lengths on appveyor. It's a minor issue, I can't see what is causing it, and it's irrelevant to the issue this is testing, so we'll just write native for this test.
* HTML reader: Better sanity checks on raw HTML.John MacFarlane2017-03-18
| | | | | | This also affects the Markdown reader. Closes #3257.
* Added test case to 3348 to try to figure out why appveyor build fails.John MacFarlane2017-03-17
|
* Adjust command test 3348.md to specify column width.John MacFarlane2017-03-17
| | | | This is meant to address a test failure on appveyor.
* Added test for #256.John MacFarlane2017-03-16
|
* OpenDocument writer: use more widely available bullet characters.John MacFarlane2017-03-15
| | | | | | | The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.
* Use tasty-golden for golden tests in Old.John MacFarlane2017-03-15
|
* Command tests: just findPandoc once.John MacFarlane2017-03-14
|
* Removed unneeded import.John MacFarlane2017-03-14
|
* Got rid of distracting warning in test output.John MacFarlane2017-03-14
|
* Small test plumbing improvement.John MacFarlane2017-03-14
|
* Use tasty for tests rather than test-framework.John MacFarlane2017-03-14
|
* Better handling of \part in LaTeX.John MacFarlane2017-03-13
| | | | | | | | | | | | Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed.
* Put TEI writer inside PandocMonad. Added warnings for omitted raw elements.John MacFarlane2017-03-13
| | | | | Also added identifiers on `<div>` elements. These were commented out before, not sure why?
* Improved behavior of `auto_identifiers` when there are explicit ids.John MacFarlane2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously only autogenerated ids were added to the list of header identifiers in state, so explicit ids weren't taken into account when generating unique identifiers. Duplicated identifiers could result. This simple fix ensures that explicitly given identifiers are also taken into account. Fixes #1745. Note some limitations, however. An autogenerated identifier may still coincide with an explicit identifier that is given for a header later in the document, or with an identifier on a div, span, link, or image. Fixing this would be much more difficult, because we need to run `registerHeader` before we have the complete parse tree (so we can't get a complete list of identifiers from the document by walking the tree). However, it might be worth issuing warnings for duplicate header identifiers; I think we can do that. It is not common for headers to have the same text, and the issue can always be worked around by adding explicit identifiers, if the user is aware of it.
* Changed test case labeled 3384.md to 3348.md.John MacFarlane2017-03-11
| | | | | The last commit referred to #3384, but should have closed #3348.
* Markdown writer: fixed bugs in simple/multiline list output.John MacFarlane2017-03-11
| | | | | | | | * Previously we got overlong lists with `--wrap=none`. This is fixed. * Previously a multiline list could become a simple list (and would always become one with `--wrap=none`). Closes #3384.
* Add Muse writer (#3489)Alexander Krotov2017-03-10
| | | | | | | | * Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
* Expand \newenvironment macros.John MacFarlane2017-03-10
| | | | | | Closes #987. Depends on still unreleased texmath 0.9.3.
* HTML writer: fallback to basename rather than Untitled.John MacFarlane2017-03-09
|
* Org reader: disallow tables on list marker linesAlbert Krewinkel2017-03-08
| | | | Fixes: #3499
* Markdown writer: Avoid spurious blanklines at end of document...John MacFarlane2017-03-08
| | | | after tables and list, for example.
* Markdown writer: ensure space before list at top level.John MacFarlane2017-03-08
| | | | Closes #3487.
* Org reader: don't allow tables inside list items.John MacFarlane2017-03-08
| | | | Closes #3499.
* Added test case for #3497.John MacFarlane2017-03-08
|
* Speed up Native writer quickcheck tests.John MacFarlane2017-03-07
|
* Small change to unbalanced bracket test to speed up test suite.John MacFarlane2017-03-07
|
* Markdown reader: Treat certain environments as inlineJohn MacFarlane2017-03-07
| | | | | | | | | | | | when they occur without space surrounding them. E.g. equation, math. This avoids incorrect vertical space around equations. Closes #3309. Closes #2171. See also rstudio/bookdown#358.
* Markdown writer: better handling of tables with empty columns.John MacFarlane2017-03-06
| | | | | | | | | | E.g. an HTML table with two cells in the first row and one in the second (but no row/colspan). We now calculate the number of columns based on the longest row (or the length of aligns or widths). Closes #3337.
* LaTeX reader: allow newpage, clearpage, pagebreak in inline contextsJohn MacFarlane2017-03-06
| | | | | | as well as block contexts. Closes #3494.