summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* LaTeX writer: Avoid problem with footnotes in unnumbered headers.John MacFarlane2013-08-16
| | | | | Closes #940. Added test case.
* Updated tests for latest pandoc-types changes.John MacFarlane2013-08-16
|
* Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane2013-08-14
|
* ODT/OpenDocument writer: Minor changes for ODF 1.2 conformance.John MacFarlane2013-08-11
| | | | | See #939. We leave the nonconforming contextual-spacing attribute, which is provided by LibreOffice itself and seems to be supported.
* Added Tests.Walk.John MacFarlane2013-08-10
| | | | This verifies that walk and query match the generic traversals.
* Updated tests for new Format.John MacFarlane2013-08-10
|
* Adjustments for new Format newtype.John MacFarlane2013-08-10
|
* MediaWiki writer: Use native mediawiki tables instead of HTML.John MacFarlane2013-08-03
| | | | Closes #720.
* Textile reader: Improved handling of `<pre>` blocks.John MacFarlane2013-07-25
| | | | | | | | * Closed #927 (a bug in which `<pre>` in certain contexts was not recognized as a code block). * Remove internal HTML tags in code blocks, rather than printing them verbatim. * Parse attributes on `<pre>` tag for code blocks.
* Test suite changes for new highlighting-kate version.John MacFarlane2013-07-23
|
* LaTeX reader: Don't add spurious ", " to citation suffixes.John MacFarlane2013-07-21
| | | | This is added when needed in Text.Pandoc.Biblio anyway.
* Fixing wrong numbered-list indentation in open document formatAlexander Kondratskiy2013-07-14
|
* Updated a test whose output changed due to last commit.John MacFarlane2013-07-13
|
* Markdown writer: Commas are okay in plain yaml scalars.John MacFarlane2013-07-01
| | | | It's just commas with brackets that can cause problems.
* Markdown writer: Render yaml title block fields in alpha order.John MacFarlane2013-07-01
| | | | | This makes the output predictable; previously it varied across implementations.
* Improvements to yaml title block writer.John MacFarlane2013-07-01
|
* Switched order of fields in yaml header (writer test).John MacFarlane2013-07-01
|
* Revert "Markdown writer: Don't include variables in metadata."John MacFarlane2013-07-01
| | | | This reverts commit 0ec8573347d53e0cba70552a50dba697f39216b6.
* Markdown writer: Don't include variables in metadata.John MacFarlane2013-07-01
|
* Markdown writer: Support yaml title block.John MacFarlane2013-06-30
|
* ConTeXt writer: Properly handle tables without captions.John MacFarlane2013-06-28
| | | | | | | The old output only worked in MkII. This should work in MkIV as well. Closes #837.
* Man writer: give more fine-grained control in template.John MacFarlane2013-06-27
| | | | | | | | | | | | | | | | | Now the `title`, `section`, `header`, and `footer` can all be set individually in metadata. The `description` variable has been removed. Quotes have been added so that spaces are allowed in the title. If you have a title that begins COMMAND(1) footer here | header here pandoc will parse it as before into a title, section, header, and footer. But you can also specify these elements explicitly. Closes #885.
* Stop escaping `|` in LaTeX math.John MacFarlane2013-06-26
| | | | This caused problems with array environments. Closes #891.
* Use latest chicago-author-date.csl.John MacFarlane2013-06-25
|
* Fixed 'authors' metadata parsing in reST.John MacFarlane2013-06-25
| | | | Semicolons separate different authors.
* Some test suite fixes for new metadata.John MacFarlane2013-06-25
|
* Use new flexible metadata type.John MacFarlane2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | * Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
* Added test for #882.John MacFarlane2013-06-19
|
* Added a test for #833.John MacFarlane2013-06-19
|
* RST reader: don't insert paragraphs where docutils doesn't.John MacFarlane2013-06-18
| | | | | | | | | rst2html doesn't add `<p>` tags to list items (even when they are separated by blank lines) unless there are multiple paragraphs in the list. This commit changes the RST reader to conform more closely to what docutils does. Closes #880.
* Textile reader: Correctly handle entities.John MacFarlane2013-06-11
|
* LaTeX writer: Always create labels for sections.John MacFarlane2013-06-02
| | | | | | | Previously the labels were only created when there were links to the section in the document. Closes #871.
* Use latest highlighting-kate and texmath.John MacFarlane2013-05-07
| | | | Closes #849.
* Updated tests for template changes.John MacFarlane2013-05-07
|
* Updated tests for changes in LaTeX template.John MacFarlane2013-04-26
|
* Updated tests to match new docbook template.John MacFarlane2013-04-15
|
* Haddock reader improvements.John MacFarlane2013-04-14
| | | | | | - Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.
* Man writer: use one decimal place for column widths.John MacFarlane2013-04-09
| | | | | This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication.
* Update markdown writer tests for changes in author in titleblock.John MacFarlane2013-04-09
| | | | Authors are now put on separate lines.
* Fixed Haddock reader bugs with list item spaces and examples.John MacFarlane2013-04-09
| | | | Closes #824.
* Fixed haddock test output.John MacFarlane2013-04-08
| | | | | - omit extra spaces in list items - correct line breaks in ghci output
* Haddock reader: add tests.David Lazar2013-04-04
|
* Modified haddock reader test stubs so they pass, for now.John MacFarlane2013-03-28
|
* Added stubs for haddock reader tests.John MacFarlane2013-03-28
| | | | | Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
* MediaWiki reader: Correctly handle indented preformatted textJohn MacFarlane2013-03-28
| | | | without preceding or following blank line.
* Mediawiki: Fixed regression for `<ref>URL</ref>`.John MacFarlane2013-03-28
| | | | | | | `<` is no longer allowed in URLs, according to the uri parser in Text.Pandoc.Parsing. Added a test case.
* Added OPML template, tests.John MacFarlane2013-03-20
| | | | | Minor fixes to OPML writer. Improved OPML reader tests.
* Added Text.Pandoc.Readers.OPML, exporting readOPML.John MacFarlane2013-03-19
| | | | | | | | | The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
* Markdown writer: New approach for citations.John MacFarlane2013-03-17
| | | | | | | | | | | | | | | | | | | * Reverts 1.11 change that caused citations to be rendered as markdown citations, even if `--biblio` was specified, unless `citation` extension is disabled. Now, formatted citations are always printed if `--biblio` was specified. If you want to reformat markdown keeping pandoc markdown citations intact, just don't specify `--biblio`. * Reverted now unnecessary changes to Text.Pandoc.Biblio adding the raw block to mark the bibliography, and to Text.Pandoc.Writers.Markdown to remove the bibliography if `citations` not specified. * If the content of a `Cite` inline is a `RawInline "latex"`, which means that a LaTeX citation command was parsed and `--biblio` wasn't specified, then render it as a pandoc markdown citation. This means that `pandoc -f latex -t markdown`, without `--biblio`, will convert LaTeX citation commands to pandoc markdown citations.
* Revert "LaTeX reader: citation handling changes."John MacFarlane2013-03-17
| | | | This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.