summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Merge pull request #4177 from stencila/jats-xml-readerJohn MacFarlane2017-12-21
|\ | | | | Add Basic JATS reader based on DocBook reader
| * Improve support for code language in JATSHamish Mackenzie2017-12-22
| |
| * Add Basic JATS reader based on DocBook readerHamish Mackenzie2017-12-20
| |
* | JATS writer: Make <p> optional in <td> and <th> (#4178)Hamish Mackenzie2017-12-21
| | | | | | | | If the contents are single `Plain` block then do not wrap them with a <p> element.
* | Org writer: do not wrap "-" to avoid accidental bullet listsAlexander Krotov2017-12-21
| | | | | | | | Also add TODO for ordered lists.
* | Muse reader: parse anchors immediately after headings as IDsAlexander Krotov2017-12-21
| |
* | Test more pandoc Lua module functionsAlbert Krewinkel2017-12-20
| | | | | | | | | | | | The functions `sha1`, `read`, and `pipe` are now tested. Change: minor
* | Muse reader: require that note references does not start with 0Alexander Krotov2017-12-20
|/
* Muse writer: don't wrap note references to the next lineAlexander Krotov2017-12-19
| | | | Closes #4172.
* Fix for #4171 fix: don't wrap note references after SoftBreakAlexander Krotov2017-12-19
|
* Muse reader: parse empty comments correctlyAlexander Krotov2017-12-19
|
* Org writer: don't allow fn refs to wrap to beginning of line.John MacFarlane2017-12-18
| | | | | | Otherwise they can be interpreted as footnote definitions. Closes #4171.
* OPML reader: enable raw HTML and other extensions by default for notes.John MacFarlane2017-12-17
| | | | | | | | | This fixes a regression in 2.0. Note that extensions can now be individually disabled, e.g. `-f opml-smart-raw_html`. Closes #4164.
* Added tests of latex tokenizer.John MacFarlane2017-12-15
| | | | This should help prevent regressions like #4159.
* Fixed regression in LateX tokenization.John MacFarlane2017-12-15
| | | | | This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces. Closes #4159.
* RST reader: more accurate parsing of references.John MacFarlane2017-12-14
| | | | | | | | | | | Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_
* Merge pull request #4148 from stencila/jats-figuresJohn MacFarlane2017-12-14
|\ | | | | fig, table-wrap & caption Divs for JATS writer
| * Deduplicate JATS writer image mime type codeHamish Mackenzie2017-12-14
| |
| * fig, table-wrap & caption Divs for JATS writerHamish Mackenzie2017-12-13
| | | | | | | | | | | | | | | | | | Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links.
* | Merge pull request #4153 from tarleb/unify-lua-initJohn MacFarlane2017-12-13
|\ \ | | | | | | Unify lua initalization
| * | Custom writer: use init file to setup Lua interpreterAlbert Krewinkel2017-12-13
| | | | | | | | | | | | | | | | | | The same init file (`data/init`) that is used to setup the Lua interpreter for Lua filters is also used to setup the interpreter of custom writers.lua.
* | | Docx writer: Add tests for list continuation.Jesse Rosenthal2017-12-13
|/ /
* | Markdown: Improved computation of relative cell widths in pipe tables.John MacFarlane2017-12-12
| |
* | Pipe tables: use full text width for tables with wrapping cells.John MacFarlane2017-12-12
|/ | | | | | | | | | Previously we computed the column sizes based on the ratio between the header lines and the text width (as set by `--columns`). This meant that tables with very short header lines would be very narrow. With this change, pipe tables with wrapping cells will always take up the whole text width. The relative column widths will still be determined by the ratio of header lines, but they will be normalized to add up to 1.0.
* Changes for skylighting-0.5.John MacFarlane2017-12-10
| | | | | | | | | | | | | | This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128.
* LaTeX reader: fix \ before newline.John MacFarlane2017-12-08
| | | | | | | | This should be a nonbreaking space, as long as it's not followed by a blank line. This has been fixed at the tokenizer level. Closes #4134.
* Markdown reader: accept processing instructions as raw HTML.John MacFarlane2017-12-06
| | | | Closes #4125.
* Lua filters: refactor lua module handlingAlbert Krewinkel2017-12-02
| | | | | | | The integration with Lua's package/module system is improved: A pandoc-specific package searcher is prepended to the searchers in `package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now be loaded via `require`.
* hlint Muse reader and testsAlexander Krotov2017-12-06
|
* Muse reader: add test for #disable-tables directive in Emacs modeAlexander Krotov2017-12-06
|
* Muse reader: don't allow emphasis to be preceded by letterAlexander Krotov2017-12-06
|
* Rewrite empty_paragraphs test so it will run on Windows.John MacFarlane2017-12-04
|
* Markdown reader: Don't parse native div as table caption.John MacFarlane2017-12-04
| | | | Closes #4119.
* Add `empty_paragraphs` extension.John MacFarlane2017-12-04
| | | | | | | | | | | | | | | | * Deprecate `--strip-empty-paragraphs` option. Instead we now use an `empty_paragraphs` extension that can be enabled on the reader or writer. By default, disabled. * Add `Ext_empty_paragraphs` constructor to `Extension`. * Revert "Docx reader: don't strip out empty paragraphs." This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b. * Implement `empty_paragraphs` extension in docx reader and writer, opendocument writer, html reader and writer. * Add tests for `empty_paragraphs` extension.
* Muse reader: add underline support in Emacs Muse modeAlexander Krotov2017-12-04
|
* Include default CSS for 'underline' class in HTML-based templates.John MacFarlane2017-12-03
|
* Test for #4113.John MacFarlane2017-12-03
| | | | Closes #4113.
* Docx reader: don't strip out empty paragraphs.John MacFarlane2017-12-02
| | | | | | | | | | We now have the `--strip-empty-paragraphs` option for that, if you want it. Closes #2252. Updated docx reader tests. We use stripEmptyParagraphs to avoid changing too many tests. We should add new tests for empty paragraphs.
* LaTeX writer: allow specifying just width or height for image size.John MacFarlane2017-12-01
| | | | | | | | | Previously both needed to be specified (unless the image was being resized to be smaller than its original size). If height but not width is specified, we now set width to textwidth (and similarly if width but not height is specified). Since we have keepaspectratio, this yields the desired result.
* Revert "LaTeX writer: Add keepaspectratio to includegraphics..."John MacFarlane2017-12-01
| | | | This reverts commit 171187a4527497701b3c77bd56cea2d770d4e3b0.
* LaTeX writer: Add keepaspectratio to includegraphics...John MacFarlane2017-11-30
| | | | ...if only one of height/width is given.
* Support beamer `\alert` in LaTeX reader. Closes #4091.John MacFarlane2017-11-29
|
* Muse reader: correctly remove indentation from notesAlexander Krotov2017-11-29
| | | | Exactly one space is required and considered to be part of the marker.
* Temporarily disable round-trip block test for muse reader.John MacFarlane2017-11-28
| | | | See #4107.
* Update tests for new skylighting.John MacFarlane2017-11-28
|
* Muse reader: parse "~~" as non-breaking space in Emacs modeAlexander Krotov2017-11-27
|
* Muse reader: make code blocks round tripAlexander Krotov2017-11-27
|
* Muse reader: drop common space prefix from list itemsAlexander Krotov2017-11-26
|
* Muse reader: Add partial round trip testAlexander Krotov2017-11-26
|
* Muse reader: don't interpret XML entitiesAlexander Krotov2017-11-25
|