aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-08-19Bullet and ordered lists now always simple in dokuwiki writer (#386)claremacrae1-28/+15
2013-08-19Removed unnecessary line-break after hard break in dokuwiki writer (#386)claremacrae1-2/+1
2013-08-18Stop plain text ** and __ becoming formatting in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-18Stop plain text // becoming an italic marker in dokuwiki writer (#386)claremacrae1-1/+1
When the original document had text containing //, this was previously included, unchanged, in the dokuwiki output, and this interacted badly with later, intended, formating text.
2013-08-18Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386)claremacrae2-7/+7
Done because I noticed that in the Autolinks section of writer.dokuwiki, the URL in inlined code was getting auto-linked, when it wasn't supposed to. This also meant that any inline code examples that had text that looked like dokuwiki syntax could break the formatting of later text.
2013-08-17Nasty hack to stop C comments in inline code becoming italics in dokuwiki ↵claremacrae1-1/+1
writer (#386)
2013-08-17Add more tests for dokuwiki writer (#386)claremacrae2-2/+5
2013-08-17Add extra pair of test files for dokuwiki writer (#386)claremacrae3-1/+8
I've found some incorrect behaviours with the dokuwiki output, for which extra test cases will be needed - that aren't covered by the standard pandoc test input files.
2013-08-17Fixed inlined code in dokuwiki writer (#386)claremacrae1-6/+6
2013-08-17Don't add entities in <code> blocks in dokuwiki writer (#386)claremacrae1-10/+10
2013-08-17Implement <code> blocks in dokuwiki writer (#386)claremacrae1-15/+15
2013-08-17Implement table headings in dokuwiki writer (#386)claremacrae1-5/+5
2013-08-11Initial implementation of tables in dokuwiki writer (#386)claremacrae1-191/+26
Todo: alignment, and headings
2013-08-06Implement strikeout in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-28Implement footnotes in dokuwiki writer (#386)claremacrae1-9/+7
2013-07-28Removed incorrect entity conversion in dokuwiki writer (#386)claremacrae1-8/+8
2013-07-28Implemented linebreaks in dokuwiki writer (#386)claremacrae1-1/+2
2013-07-26Convert bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-23/+23
2013-07-26Corrected part of the failing test for lists in dokuwiki writer (#386)Clare Macrae1-2/+2
2013-07-15Add failing test for bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-52/+52
2013-07-15Implement conversion of images in dokuwiki writer (#386)Clare Macrae1-2/+2
2013-07-15Weak implementation of hyperlinks for dokuwiki (#386)Clare Macrae1-6/+6
TODO Simplify the code
2013-07-14Implemented horizontal rule for dokuwiki (#386)Clare Macrae1-13/+13
2013-07-14Implemented Emphasis (italic) and Strong (bold) for dokuwiki (#386)Clare Macrae1-18/+18
2013-07-14Implemented correct output of dokuwiki (#386)Clare Macrae1-31/+31
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae3-1/+866
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
2013-07-01Markdown writer: Commas are okay in plain yaml scalars.John MacFarlane1-1/+1
It's just commas with brackets that can cause problems.
2013-07-01Markdown writer: Render yaml title block fields in alpha order.John MacFarlane1-1/+1
This makes the output predictable; previously it varied across implementations.
2013-07-01Improvements to yaml title block writer.John MacFarlane1-3/+3
2013-07-01Switched order of fields in yaml header (writer test).John MacFarlane1-2/+2
2013-07-01Revert "Markdown writer: Don't include variables in metadata."John MacFarlane1-1/+1
This reverts commit 0ec8573347d53e0cba70552a50dba697f39216b6.
2013-07-01Markdown writer: Don't include variables in metadata.John MacFarlane1-1/+1
2013-06-30Markdown writer: Support yaml title block.John MacFarlane1-4/+7
2013-06-28ConTeXt writer: Properly handle tables without captions.John MacFarlane1-4/+4
The old output only worked in MkII. This should work in MkIV as well. Closes #837.
2013-06-27Man writer: give more fine-grained control in template.John MacFarlane1-1/+1
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.
2013-06-26Stop escaping `|` in LaTeX math.John MacFarlane2-2/+2
This caused problems with array environments. Closes #891.
2013-06-25Use latest chicago-author-date.csl.John MacFarlane2-409/+445
2013-06-25Fixed 'authors' metadata parsing in reST.John MacFarlane2-7/+3
Semicolons separate different authors.
2013-06-25Some test suite fixes for new metadata.John MacFarlane15-13/+15
2013-06-24Use new flexible metadata type.John MacFarlane5-20/+37
* 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.
2013-06-19Added test for #882.John MacFarlane1-0/+5
2013-06-19Added a test for #833.John MacFarlane2-1/+7
2013-06-18RST reader: don't insert paragraphs where docutils doesn't.John MacFarlane1-26/+26
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.
2013-06-11Textile reader: Correctly handle entities.John MacFarlane2-0/+7
2013-06-02LaTeX writer: Always create labels for sections.John MacFarlane1-31/+32
Previously the labels were only created when there were links to the section in the document. Closes #871.
2013-05-07Use latest highlighting-kate and texmath.John MacFarlane1-0/+1
Closes #849.
2013-05-07Updated tests for template changes.John MacFarlane1-5/+14
2013-04-26Updated tests for changes in LaTeX template.John MacFarlane3-3/+9
2013-04-15Updated tests to match new docbook template.John MacFarlane1-2/+2
2013-04-14Haddock reader improvements.John MacFarlane1-1/+1
- Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.