summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* 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.
* Fix test output for latest skylighting.John MacFarlane2017-11-04
|
* Revert "Better indentation under headers in org mode output."John MacFarlane2017-11-04
| | | | This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7.
* Better indentation under headers in org mode output.John MacFarlane2017-11-04
| | | | | | | See #4036. Close examination by org experts needed, to ensure that nothing breaks.
* Fix strikethrough in gfm writer.John MacFarlane2017-11-04
| | | | | | | | | Previously we got a crash, because we were trying to print a native cmark STRIKETHROUGH node, and the commonmark writer in cmark-github doesn't support this. Work around this by using a raw node to add the strikethrough delimiters. Closes #4038.
* Test case change for texmath 0.10.John MacFarlane2017-11-04
|
* Updated tests.John MacFarlane2017-11-03
|
* Improved support for columns in HTML.John MacFarlane2017-11-02
| | | | | | | | | | * Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028.
* Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane2017-11-02
| | | | | | | | The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031.
* Fixed revealjs slide column width issues.John MacFarlane2017-11-02
| | | | | | | | | * Remove "width" attribute which is not allowed on div. * Remove space between `<div class="column">` elements, since this prevents columns whose widths sum to 100% (the space takes up space). Closes #4028.
* Really fix #3989.John MacFarlane2017-11-01
| | | | | The previous fix only worked in certain cases. Other cases with `>` in an HTML attribute broke.
* Updated command test for #3989.John MacFarlane2017-11-01
| | | | We didn't fix it completely before.
* FB2 writer: Add "unrecognised" genre to <title-info>Alexander Krotov2017-11-01
| | | | XML schema requires at least one genre.
* FB2 writer: remove <annotation> from <body>Alexander Krotov2017-11-01
| | | | | | <annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424
* Merge pull request #4009 from mb21/html-class-namesJohn MacFarlane2017-11-01
|\ | | | | HTML Writer: consistently use dashed class-names
| * HTML Writer: consistently use dashed class-namesmb212017-10-31
| | | | | | | | see #3556
* | Merge pull request #4008 from labdsf/fb2-bulletsJohn MacFarlane2017-11-01
|\ \ | | | | | | FB2 writer: make bullet lists consistent with ordered lists
| * | FB2 writer: make bullet lists consistent with ordered listsAlexander Krotov2017-10-31
| |/ | | | | | | | | | | | | | | | | Previously bullet lists interacted in odd way with ordered lists. For example, bullet lists nested in ordered list had incorrect indentation. Besides that, indentation with spaces is not rendered by FBReader and fbless. To avoid this problem, bullet lists are indented by appending bullets to marker just the same way it is done for ordered lists.
* | Merge pull request #4001 from labdsf/fb2-testsJohn MacFarlane2017-11-01
|\ \ | | | | | | Add new style FB2 tests
| * | Add new style FB2 testsAlexander Krotov2017-10-28
| | |
* | | Properly pass through author metadata in JATS writer.John MacFarlane2017-10-31
| | | | | | | | | | | | Closes #4020.