aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22Write id for code block to label attr in latex when listing is usedFlorian Eitel2-0/+14
The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this.
2013-08-20Merge branch 'altcite'John MacFarlane4-46/+68
2013-08-20Create Cite element even if no matching reference in the biblio.John MacFarlane4-46/+68
* Add ??? as fallback text for non-resolved citations. * Biblio: Put references (including a header at the end of the document, if one exists) inside a Div with class "references". This gives some control over styling of references, and allows scripts to manipulate them. * Markdown writer: Print markdown citation codes, and disable printing of references, if `citations` extension is enabled. NOTE: It would be good to improve what citeproc-hs does for a nonexistent key.
2013-08-19Scale LaTeX tables so they don't exceed columnwidth.John MacFarlane1-32/+32
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-18Adjusted writers and tests for change in parsing of div/span.John MacFarlane13-98/+167
Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs. Otherwise Div and Span are "transparent" block containers.
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-16LaTeX writer: Avoid problem with footnotes in unnumbered headers.John MacFarlane1-0/+6
Closes #940. Added test case.
2013-08-16Updated tests for latest pandoc-types changes.John MacFarlane11-11/+11
2013-08-14Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane12-76/+76
2013-08-11ODT/OpenDocument writer: Minor changes for ODF 1.2 conformance.John MacFarlane1-1/+1
See #939. We leave the nonconforming contextual-spacing attribute, which is provided by LibreOffice itself and seems to be supported.
2013-08-11Initial implementation of tables in dokuwiki writer (#386)claremacrae1-191/+26
Todo: alignment, and headings
2013-08-10Added Tests.Walk.John MacFarlane2-0/+49
This verifies that walk and query match the generic traversals.
2013-08-10Updated tests for new Format.John MacFarlane7-65/+65
2013-08-10Adjustments for new Format newtype.John MacFarlane1-4/+4
2013-08-06Implement strikeout in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-03MediaWiki writer: Use native mediawiki tables instead of HTML.John MacFarlane1-191/+125
Closes #720.
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-25Textile reader: Improved handling of `<pre>` blocks.John MacFarlane1-1/+1
* 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.
2013-07-23Test suite changes for new highlighting-kate version.John MacFarlane3-3/+3
2013-07-21LaTeX reader: Don't add spurious ", " to citation suffixes.John MacFarlane2-19/+19
This is added when needed in Text.Pandoc.Biblio anyway.
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-14Fixing wrong numbered-list indentation in open document formatAlexander Kondratskiy1-19/+19
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-13Updated a test whose output changed due to last commit.John MacFarlane1-4/+1
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