aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2017-04-01Ms writer: added syntax highlighting.John MacFarlane1-2/+2
Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported.
2017-04-01OpenDocument writer: wider labels for lists.John MacFarlane1-189/+189
This avoids overly narrow labels for ordered lists with () delimiters. However, arguably it creates overly wide labels for bullets. Also, lists now start flush with the margin, rather than indented. Fixes #2421.
2017-03-31JATS template: always include `<back>` element even if empty.John MacFarlane1-0/+2
2017-03-31JATS writer: put references in `<back>`.John MacFarlane2-1593/+1589
Modified template to include a `<back>` and `<body>` section. This should give authors more flexibility, e.g. to put acknowledgements metadata in `<back>`. References are automatically extracted and put into `<back>`.
2017-03-30JATS writer: use both tex and mml alternatives for math when possible.John MacFarlane1-8/+21
2017-03-30JATS writer: Fixed bibliography handling.John MacFarlane1-6/+10
2017-03-30Merge branch 'jats'John MacFarlane3-0/+2044
2017-03-30Added JATS writer.John MacFarlane3-0/+2044
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.
2017-03-29lstinline with braces can be used (verb cannot be used with braces) (#3535)schrieveslaach1-0/+23
* Fix lstinline handling: lstinline with braces can be used (verb cannot be used with braces) * Use codeWith and determine the language from lstinline * Improve code * Add another test: convert lstinline without language option
2017-03-27LaTeX reader: add support for LaTeX subfiles package.schrieveslaach3-0/+38
Closes #3530.
2017-03-26Add blank lines to #3531 command test.John MacFarlane1-0/+2
2017-03-26MediaWiki writer: don't softbreak lines inside list items.John MacFarlane1-0/+19
Closes #3531.
2017-03-26Ms writer: Hyperlink table of contents and other improvements.John MacFarlane1-3/+14
2017-03-26Ms writer: Add PDF outline bookmarks.John MacFarlane1-0/+31
2017-03-26Fixed a test not updated on last commit.John MacFarlane1-1/+1
2017-03-26Ms writer: Use @ instead of | for inline math delimiter.John MacFarlane2-87/+87
The `|` delimiter had a bad interaction with tbl. See discussion in #1839.
2017-03-26Ms writer: Support external links.John MacFarlane1-63/+154
Also add config options for link color.
2017-03-26Ms writer: better placement of header anchors.John MacFarlane1-31/+31
2017-03-25Ms writer: Implement header identifiers and internal links.John MacFarlane1-2/+32
2017-03-25Ms writer: use light gray for strikeout.John MacFarlane1-1/+3
Pending groff definitions for striking out an arbitrary section of text (not just a few words).
2017-03-25Ms writer: improved pdf metadata.John MacFarlane1-1/+2
2017-03-25Updated test suite for ms template change.John MacFarlane1-0/+4
2017-03-25Ms. writer: links: use footnote only for absolute URIs.John MacFarlane1-97/+24
2017-03-25Updated tests.John MacFarlane1-2/+1
2017-03-24Ms writer: Use indented paragraphs after first in section.John MacFarlane1-73/+73
Note that the current indentation setting is 0; see the settings in the template.
2017-03-24default.ms: Add settings for document variables like width.John MacFarlane1-2/+30
2017-03-24Ms writer: support --toc, date, abstract.John MacFarlane1-0/+1
2017-03-24Markdown writer: don't emit a simple table if `simple_tables` disabled.John MacFarlane1-0/+15
Closes #3529.
2017-03-24Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane1-36/+27
2017-03-23Ms writer: improved definition lists.John MacFarlane1-53/+36
Use standard .IP macro. Also properly escape ".
2017-03-23Pipe tables: impose minimum cell size.John MacFarlane1-0/+14
This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
2017-03-23Grid tables: remove unnecessary extra space in cells.John MacFarlane2-38/+38
2017-03-23Ms writer: fixed hard line breaks.John MacFarlane1-3/+1
2017-03-23Updated ms tests.John MacFarlane1-6/+16
2017-03-23Ms. writer: don't render links in footnotes as footnotes.John MacFarlane1-6/+2
2017-03-23Ms writer: Improved footnotes.John MacFarlane1-5/+0
2017-03-23Ms writer: fixed strong/emph combination.John MacFarlane1-4/+4
Perhaps something similar is needed in the man writer.
2017-03-23Initial addition of groff ms writer.John MacFarlane3-0/+1223
* 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.
2017-03-22Added to issue 3516 command test to debug test failure on appveyor.John MacFarlane1-0/+36
2017-03-21Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane2-3/+3
...unless unicode super/subscripted characters are available.
2017-03-21Improve rendering of superscript in plain output.John MacFarlane1-0/+6
We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
2017-03-21RST writer: improve grid table output, fix bug with empty rows.John MacFarlane3-36/+51
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
2017-03-20Add `space_in_atx_header` extension.John MacFarlane1-0/+13
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.
2017-03-20Lua filters (#3514)Albert Krewinkel5-0/+62
* 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.
2017-03-19Removed failing part of 3348 test.John MacFarlane1-16/+0
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.
2017-03-18HTML reader: Better sanity checks on raw HTML.John MacFarlane1-0/+13
This also affects the Markdown reader. Closes #3257.
2017-03-17Added test case to 3348 to try to figure out why appveyor build fails.John MacFarlane1-0/+18
2017-03-17Adjust command test 3348.md to specify column width.John MacFarlane1-1/+1
This is meant to address a test failure on appveyor.
2017-03-16Added test for #256.John MacFarlane2-0/+14
2017-03-15OpenDocument writer: use more widely available bullet characters.John MacFarlane1-102/+102
The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.