aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-01-27Docbook writer: Use sect1, sect2, etc. instead of section.John MacFarlane1-62/+62
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane2-4/+6
This uses styleToCss instead of styleToHtml.
2012-01-19Added Docx writer.John MacFarlane1-4/+4
* New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
2012-01-13Improved citation tests.John MacFarlane4-27/+27
2012-01-02Markdown reader: Fix parsing of consecutive lists.John MacFarlane2-1/+21
Pandoc previously behaved like Markdown.pl for consecutive lists of different styles. Thus, the following would be parsed as a single ordered list, rather than an ordered list followed by an unordered list: 1. one 2. two - one - two This patch makes pandoc behave more sensibly, parsing this as two lists. Any change in list type (ordered/unordered) or in list number style will trigger a new list. Thus, the following will also be parsed as two lists: 1. one 2. two a. one b. two Since we regard this as a bug in Markdown.pl, and not something anyone would ever rely on, we do not preserve the old behavior even when `--strict` is selected.
2012-01-01New treatment of dashes in --smart mode.John MacFarlane2-4/+4
* `---` is always em-dash, `--` is always en-dash. * pandoc no longer tries to guess when `-` should be en-dash. * A new option, `--old-dashes`, is provided for legacy documents. Rationale: The rules for en-dash are too complex and language-dependent for a guesser to work reliably. This change gives users greater control. The alternative of using unicode isn't very good, since unicode em- and en- dashes are barely distinguishable in a monospace font.
2011-12-31Support for math in RST reader and writer.John MacFarlane3-9/+46
Inline math uses the :math:`...` construct. Display math uses .. math:: ... or if multilin .. math:: ... These seem to be supported now by rst2latex.py.
2011-12-30Updated context tests.John MacFarlane1-33/+34
2011-12-30Updated latex tests.John MacFarlane3-6/+18
2011-12-30Updated ConTeXt tests.John MacFarlane1-67/+68
2011-12-29Unicode reference ID in biblio test.John MacFarlane2-5/+5
2011-12-29Updated tests for changes to HTML note back references.John MacFarlane1-5/+5
2011-12-29Added 'beamer' as an output format.John MacFarlane3-3/+3
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-12-28Preserve attributes in highlighted HTML.John MacFarlane2-2/+2
The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
2011-12-27Highlighting: Add language as class name.John MacFarlane2-2/+2
This restores behavior of 1.8.2.1. Adjusted tests.
2011-12-27Updated tests.John MacFarlane4-73/+80
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane8-163/+159
2011-12-22Removed highlighting flag. Highlighting support is now standard.John MacFarlane2-48/+0
2011-12-20Updated s5 tests.John MacFarlane2-6/+6
2011-12-18HTML writer: Use `<del>` for strikeout.John MacFarlane1-1/+1
2011-12-04Added blank comment after directives in rst template.John MacFarlane1-0/+1
Closes #321.
2011-12-02Shared: Removed unescapeURI, modified escapeURI.John MacFarlane1-3/+3
escapeURI now only escapes space characters, leaving unicode characters as they are, instead of converting them to octets and URL-encoding them, as before. This gives more readable URIs. User agents now do the percent-encoding themselves. URIs are no longer unescaped at all on conversion to markdown, asciidoc, rst, org. Closes #349.
2011-12-02Fixed test for style type meta in highlighted html+lhs.John MacFarlane1-0/+1
2011-12-01Made author/date more consistent in HTML templates.John MacFarlane4-10/+10
Authors are now h2, date h3. (Instead of h3/h4, as in the past.)
2011-11-24Mardkown writer tests: Use setext headers for levels 1-2.John MacFarlane6-36/+72
2011-11-24Changed paths in s5 tests.John MacFarlane2-10/+10
2011-11-18AsciiDoc: Don't use Roman numerals in ordered lists.John MacFarlane1-7/+7
AsiiDoc doesn't support them.
2011-11-18Renamed to AsciiDoc. Fixed display math and escapes.John MacFarlane1-14/+14
AsciiDoc does not seem to have consistent escaping rules.
2011-11-18Merge branch 'asciidoc'John MacFarlane2-0/+727
2011-11-18Updated tests for correct col width.John MacFarlane2-19/+18
2011-11-18Updated asciidoc test.John MacFarlane1-326/+229
The test output still contains some mistakes.
2011-11-18Updated ieee.csl and mhra.csl in test directory.John MacFarlane2-504/+686
2011-11-18Updated chicago-author-date.csl.John MacFarlane1-347/+400
The old version did not work properly for edited volumes with no author.
2011-11-18Supported tables in asciidoc, added table tests.John MacFarlane1-1/+71
2011-11-16Added an asciidoc writer (partial).John MacFarlane2-0/+755
Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
2011-11-12Updated writer tests for new version of texmath.John MacFarlane5-20/+25
2011-11-09Markdown citations: don't strip off initial space in locator.John MacFarlane2-2/+2
Previously `[@item1 and nowhere else]` yielded the locator ", and nowhere else", or, with the new citeproc-hs, "and nowhere else". Now it yields " and nowhere else".
2011-11-09Fixed markdown-citations.ieee.txt to use em-dashes for citation ranges.John MacFarlane1-1/+1
This is a new feature in citeproc-hs.
2011-11-08Update templates to use Content-Style-Type meta tag.John MacFarlane8-0/+8
Closes #337.
2011-10-02HTML slides: only add id to div/section if --section-divs selected.John MacFarlane2-4/+4
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.