summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Use lua constructors to push meta valuesAlbert Krewinkel2017-04-13
|
* Lua filter: use destructured functions for inline filtersAlbert Krewinkel2017-04-12
| | | | | | Instead of taking the whole inline element, forcing users to destructure it themselves, the components of the elements are passed to the filtering functions.
* Man writer: Fix handling of nested font commands.John MacFarlane2017-04-12
| | | | | | | Previously pandoc emitted incorrect markup for bold + italic, for example, or bold + code. Closes #3568.
* Lua filter: improve doc filter performanceAlbert Krewinkel2017-04-07
| | | | | Pandoc elements are pushed and pulled from the lua stack via custom instances.
* Ensure correctness of StackValue instancesAlbert Krewinkel2017-04-06
|
* Ms writer: wider indents for lists.John MacFarlane2017-04-06
| | | | | Previously some indents weren't wide enough, leading the list item to start on a line after the marker.
* Allow raw latex commands starting with `\start` in Markdown.John MacFarlane2017-04-06
| | | | | | | | Previously these weren't allowed because they were interpreted as starting ConTeXt environments, even without a corresponding \stop... Closes #3558.
* Ms writer: respect text wrapping options.John MacFarlane2017-04-05
|
* Ms writer improvements:John MacFarlane2017-04-04
| | | | | - added some variables to the default template. - cleaner output for images (stringify alt text).
* Ms writer: ensure that @ is escaped in URIs.John MacFarlane2017-04-04
| | | | | Otherwise we may get unescaped @s that give eqn fits, with @ as the delimiter character.
* Add class to footnote back referencesTimm Albers2017-04-03
| | | | | The HTML writer now also adds the class footnoteBack to back references of footnotes. This allows for easier CSS styling.
* Lua module: add readers submoduleAlbert Krewinkel2017-04-02
| | | | | | | | | | | | | | | Plain text readers are exposed to lua scripts via the `pandoc.reader` submodule, which is further subdivided by format. Converting e.g. a markdown string into a pandoc document is possible from within lua: doc = pandoc.reader.markdown.read_doc("Hello, World!") A `read_block` convenience function is provided for all formats, although it will still parse the whole string but return only the first block as the result. Custom reader options are not supported yet, default options are used for all parsing operations.
* Ms writer: added syntax highlighting.John MacFarlane2017-04-01
| | | | | | | | | | Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported.
* OpenDocument writer: wider labels for lists.John MacFarlane2017-04-01
| | | | | | | | | | | | 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.
* JATS template: always include `<back>` element even if empty.John MacFarlane2017-03-31
|
* JATS writer: put references in `<back>`.John MacFarlane2017-03-31
| | | | | | | 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>`.
* JATS writer: use both tex and mml alternatives for math when possible.John MacFarlane2017-03-30
|
* JATS writer: Fixed bibliography handling.John MacFarlane2017-03-30
|
* Merge branch 'jats'John MacFarlane2017-03-30
|\
| * Added JATS writer.John MacFarlane2017-03-30
| | | | | | | | | | | | | | * New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.
* | lstinline with braces can be used (verb cannot be used with braces) (#3535)schrieveslaach2017-03-29
|/ | | | | | | | | | * 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
* LaTeX reader: add support for LaTeX subfiles package.schrieveslaach2017-03-27
| | | Closes #3530.
* Add blank lines to #3531 command test.John MacFarlane2017-03-26
|
* MediaWiki writer: don't softbreak lines inside list items.John MacFarlane2017-03-26
| | | | Closes #3531.
* Ms writer: Hyperlink table of contents and other improvements.John MacFarlane2017-03-26
|
* Ms writer: Add PDF outline bookmarks.John MacFarlane2017-03-26
|
* Fixed a test not updated on last commit.John MacFarlane2017-03-26
|
* Ms writer: Use @ instead of | for inline math delimiter.John MacFarlane2017-03-26
| | | | | The `|` delimiter had a bad interaction with tbl. See discussion in #1839.
* Ms writer: Support external links.John MacFarlane2017-03-26
| | | | Also add config options for link color.
* Ms writer: better placement of header anchors.John MacFarlane2017-03-26
|
* Ms writer: Implement header identifiers and internal links.John MacFarlane2017-03-25
|
* Ms writer: use light gray for strikeout.John MacFarlane2017-03-25
| | | | | Pending groff definitions for striking out an arbitrary section of text (not just a few words).
* Ms writer: improved pdf metadata.John MacFarlane2017-03-25
|
* Updated test suite for ms template change.John MacFarlane2017-03-25
|
* Ms. writer: links: use footnote only for absolute URIs.John MacFarlane2017-03-25
|
* Updated tests.John MacFarlane2017-03-25
|
* 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.