summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* 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
|
* Muse reader: parse markup in definition list termsAlexander Krotov2017-11-24
|
* Muse reader: allow definition to end with EOFAlexander Krotov2017-11-24
|
* Muse writer: test that inline math conversion result is normalizedAlexander Krotov2017-11-24
| | | | | Without normalization this test produced <em>a</em><em>b</em><em>c</em>
* Muse: move inline list normalization to writerAlexander Krotov2017-11-24
|
* Org reader: allow empty list itemsAlbert Krewinkel2017-11-22
| | | | Fixes: #4090
* Muse reader: allow list items to be emptyAlexander Krotov2017-11-22
|
* Muse reader: add ordered list testAlexander Krotov2017-11-22
|
* Muse writer: escape hash symbolAlexander Krotov2017-11-22
|
* Muse reader: add more multiline definition testsAlexander Krotov2017-11-22
|
* Update tests for skylighting changes.John MacFarlane2017-11-21
|
* Muse writer: escape "----" to avoid accidental horizontal rulesAlexander Krotov2017-11-22
|
* Muse reader: concatenate inlines of the same typeAlexander Krotov2017-11-22
|
* Muse writer: escape only </code> inside code tagAlexander Krotov2017-11-22
| | | | Additional <verbatim> is not needed as <code> is verbatim already.
* Muse reader: add inline <literal> supportAlexander Krotov2017-11-21
|
* Muse reader: test <literal> blocksAlexander Krotov2017-11-21
|
* data/pandoc.lua: enable table-like behavior of attributes (#4080)Albert Krewinkel2017-11-20
| | | | | | | | | | | | | | | | | | | | | | Attribute lists are represented as associative lists in Lua. Pure associative lists are awkward to work with. A metatable is attached to attribute lists, allowing to access and use the associative list as if the attributes were stored in as normal key-value pair in table. Note that this changes the way `pairs` works on attribute lists. Instead of producing integer keys and two-element tables, the resulting iterator function now returns the key and value of those pairs. Use `ipairs` to get the old behavior. Warning: the new iteration mechanism only works if pandoc has been compiled with Lua 5.2 or later (current default: 5.3). The `pandoc.Attr` function is altered to allow passing attributes as key-values in a normal table. This is more convenient than having to construct the associative list which is used internally. Closes #4071
* Muse reader: count only one space as part of list item markerAlexander Krotov2017-11-19
|
* Muse reader: produce SoftBreaks on newlinesAlexander Krotov2017-11-19
| | | | Now wrapping can be preserved with --wrap=preserve
* Lua filters: preload text module (#4077)Albert Krewinkel2017-11-18
| | | | | | | | | | | The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end
* Muse reader: Add Text::Amuse footnote extensionsAlexander Krotov2017-11-18
| | | | | | Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it.
* Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters.John MacFarlane2017-11-14
| | | | | | | | | This fixes a bug where pandoc would stop parsing a URI with an empty attribute: for example, `&a=&b=` wolud stop at `a`. (The uri parser tries to guess which punctuation characters are part of the URI and which might be punctuation after it.) Closes #4068.
* LaTeX reader: allow optional arguments on `\footnote`.John MacFarlane2017-11-13
| | | | Closes #4062.
* Markdown writer: fix bug with doubled footnotes in grid tables.John MacFarlane2017-11-13
| | | | Closes #4061.
* Replace "emacs" extension with "amuse" extensionAlexander Krotov2017-11-13
| | | | It makes clear that extension is related to Muse markup.
* LaTeX reader: support column specs like `*{2}{r}`.John MacFarlane2017-11-12
| | | | | | This is equivalent to `rr`. We now expand it like a macro. Closes #4056.
* LaTeX reader: allow optional args for parbox.John MacFarlane2017-11-12
| | | | See #4056.
* Muse reader: accept Emacs Muse definition listsAlexander Krotov2017-11-12
| | | | Emacs Muse does not require indentation.
* Fixed YAML metadata with "chomp" (`|-`).John MacFarlane2017-11-11
| | | | | Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata.
* Allow fenced code blocks to be indented 1-3 spaces.John MacFarlane2017-11-09
| | | | | | | This brings our handling of them into alignment with CommonMark's. Closes #??.
* Fix regression with --metadata.John MacFarlane2017-11-08
| | | | | | | It should replace a metadata value set in the document itself, rather than creating a list including a new value. Closes #4054.