aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-10-02Simplified slide creation in HTML writer.John MacFarlane2-4/+4
A horizontal rule now gets transformed into an empty H1 header before 'hierarchicalize' is called. If the document that does not begin with an H1 header, an empty one is provided. This avoids the need for kludgy raw HTML. Also, the 'titleslide' class is added to any section containing just a title: ---- ----
2011-08-25Updated to use revised context template.John MacFarlane1-39/+27
2011-08-20ConTeXt writer: Changed 'descr' to 'description', fixed alignment.John MacFarlane1-38/+37
2011-08-18Fixed ConTeXt writer tests.John MacFarlane1-5/+6
2011-08-18Fixed opendocument writer test.John MacFarlane1-1/+1
2011-07-30Changes to tests for new latex templates.John MacFarlane3-18/+15
2011-07-29Updated lhs tests with CDATA.John MacFarlane2-0/+4
2011-07-24Docbook writer: Use programlisting for code blocks.John MacFarlane1-22/+22
Instead of screen, as before.
2011-07-24Docbook writer: Use CALS tables (instead of XHTML tables).John MacFarlane1-364/+394
Reason: Some older docbook software does not work with XHTML tables. Closes #77.
2011-07-24HTML writer: Removed English title on footnote back links.John MacFarlane1-5/+5
This is incongruous in non-English documents.
2011-07-24Updated s5 tests.John MacFarlane1-1/+3
2011-07-23HTML writer: Display author and date after title.John MacFarlane2-0/+10
2011-07-23Use different hyperref options for xetex.John MacFarlane3-3/+24
This fixes problems with unicode bookmarks on xetex. Thanks to CircleCode.
2011-07-23LaTeX writer: New template.John MacFarlane1-4/+4
2011-07-22Updated tests for new latex templates.John MacFarlane3-9/+42
2011-07-22LaTeX writer: Use \texttt and escapes instead of \verb!..!.John MacFarlane3-15/+20
\verb is simply too fragile; it doesn't work inside command arguments.
2011-07-21LaTeX reader & writer: Use \and to separate authors.John MacFarlane2-2/+2
Closes #279.
2011-07-19ConTeXt writer: Made \start/stoptyping flush with margin.John MacFarlane1-4/+4
This prevents extra blank lines.
2011-07-19LaTeX writer: make verbatim environments flush to avoid extra space.John MacFarlane1-2/+2
The indented `\end{verbatim}` was causing an extra blank line in the output. Closes #277.
2011-07-16Un-URI-escape image filenames in LaTeX, ConTeXt, RTF, Texinfo.John MacFarlane1-2/+2
Also do this when copying image files into EPUBs and ODTs. Closes #263.
2011-07-16HTML reader: treat Plain as Para when needed.John MacFarlane2-69/+2
For example, in Just a few glitches remaining. <ul><li> In this situation, one loses the list. </ul> And in this, the preformatting. <pre>Preformatted text not starting with its own blank line. </pre> Thansk to Dirk Laurie for noticing the issue.
2011-07-11Merge pull request #273 from qerub/masterJohn MacFarlane2-0/+3
Textile reader: Make it possible to have colons after links.
2011-07-10Improved LaTeX tables.John MacFarlane1-100/+155
* Use ctable package, which allows footnotes and provides additional options. * Made cell alignments work in multiline tables. * Closes #272.
2011-07-10Textile reader: Make it possible to have colons after links.Christoffer Sawicki2-0/+3
2011-04-16Fixed Slidy/S5 output to allow --section-divs.John MacFarlane2-6/+0
This is also a cleaner way of inserting the slide divs. Resolves Issue #296.
2011-03-18Changed uri parser so it doesn't include trailing punctuation.John MacFarlane1-1/+1
So, in RST, 'http://google.com.' should be parsed as a link to 'http://google.com' followed by a period. The parser is smart enough to recognize balanced parentheses, as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'. Also added ()s to RST specialChars, so '(http://google.com)' will be parsed as a link in parens. Added test cases. Resolves Issue #291.
2011-03-16OpenDocument writer: Use "First paragraph" style after most non-para blocks.John MacFarlane2-40/+48
(Not just headers, as in the last patch.) Patch from Andrea Rossato, slightly modified by JM.
2011-03-12OpenDocument: Use special style for 1st para after heading.John MacFarlane1-23/+25
"First paragraph" as opposed to "Text body." This allows users to specify e.g. that only paragraphs after the first paragraph of a section are to be indented. Thanks to Andrea Rossato for the patch. Closes github Issue #20.
2011-03-04Fixed lhs-test.nohl tests.John MacFarlane2-40/+8
A previous commit accidentally overwrote them with highlighted tests.
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane1-1/+1
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-02-04Improved HTML table output (line breaks).John MacFarlane6-61/+170
2011-02-04Updated tests.John MacFarlane8-382/+56
2011-02-04HTML writer: Spacing adjustments for Plain and RawHtml blocks.John MacFarlane6-402/+194
2011-02-04Updated tests for new HTML format.John MacFarlane11-1673/+1265
Verified against old tests using tidy and diff.
2011-01-29Fixed highlighting for inline code.John MacFarlane2-30/+30
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
2011-01-29Moved tests to src.John MacFarlane10-868/+0
2011-01-29Added Tests.Shared with normalize round-trip tests.John MacFarlane2-0/+23
2011-01-29Tests.Arbitrary: don't allow empty list items.John MacFarlane1-3/+5
2011-01-29Removed intentionally failing test in ConTeXt writer tests.John MacFarlane1-2/+2
2011-01-29Added biblatex citation tests to Tests.Readers.LaTeX.John MacFarlane3-70/+46
Removed old biblatex-citations.latex.
2011-01-29Added natbib citation tests to Tests.Readers.LaTeX.John MacFarlane3-51/+65
Removed old tests/natbib-citations.latex.
2011-01-28RTF writer: Embed images when possible.John MacFarlane1-2/+2
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
2011-01-26Added Tests.Readers.Markdown.John MacFarlane2-0/+31
2011-01-26Add support for attributes in inline Code.John MacFarlane13-54/+51
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26RST reader: Improved field lists.John MacFarlane2-23/+24
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title.
2011-01-26Added RST reader tests.John MacFarlane2-0/+48
2011-01-26Updates for compiling with ghc 7.John MacFarlane2-4/+6
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7.
2011-01-26Updated tests.John MacFarlane3-3/+4
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane3-7/+3
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane17-62/+65
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.