aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-11-27Fixed spacing in ieee citation test.John MacFarlane1-2/+2
(Test now fails pending citeproc update.)
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane1-6/+1
2010-11-27OpenDocument writer: don't print raw TeX.John MacFarlane1-6/+1
2010-11-27Removed extra line break from citation test output.John MacFarlane2-2/+2
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane3-0/+888
2010-11-27Minor adjustment in textile test suite.John MacFarlane2-2/+0
2010-11-27Merge branch 'textile'John MacFarlane3-0/+890
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-11-27Use [] for superscripts and subscripts in textile writer.John MacFarlane1-2/+2
2010-11-27Fixed spacing problems in textile nested lists.John MacFarlane1-6/+0
2010-11-26Set HOME in RunTests.John MacFarlane1-1/+1
Patch from Nathan Gass.
2010-11-22Fixed eol mistake in test.John MacFarlane1-1/+1
2010-11-22Changed markdown citation tests.John MacFarlane5-43/+240
Now the tests are produced in HTML format (so we can see all formatting). Also, we produce them in three different style, chicago-author-date, ieee, and mhra.
2010-11-21Updated markdown-citations test for new citeproc changes.John MacFarlane1-2/+3
2010-11-18Markdown citation parser improvements and test updates.John MacFarlane2-3/+9
Now we handle a suffix after a bare locator, e.g. @item1 [p. 30, suffix] The suffix now includes any punctuation that introduces it. A few tests fail because of problems with citeproc (extra space before the suffix, missing space after comma separating multiple page ranges in the locator).
2010-11-18Markdown reader: Revised parser for new citation syntax.John MacFarlane1-5/+5
Suffixes and prefixes are now [Inline]. The locator is separated from the citation key by a blank space. The locator consists of one introductory word and any number of words containing at least one digit. The suffix, if any, is separated from the locator by a comma, and continues til the end of the citation.
2010-11-13Replaced --biblio-file with --bibliography, removed --biblio-format.John MacFarlane1-1/+1
Bibliography format is guessed from the file extension of the bibliography. Also, the bibliography entries are now read during option parsing.
2010-11-12Repairs to citation parser + citation test suite.John MacFarlane1-7/+7
2010-11-12Improvements to test suite for citations.John MacFarlane2-4/+5
2010-11-12Set LANG in test runner.John MacFarlane1-1/+3
2010-11-12Added material for citation tests.John MacFarlane7-0/+980
Currently they fail with a multibyte error from citeproc-hs when it tries to read locale.
2010-11-11HTML reader: don't parse raw HTML inside <code> tag.John MacFarlane1-3/+3
Previously '<code><a>x</a></code>' would be parsed as Code "<a>x</a>", which is not what you want.
2010-11-09Allow HTML comments as inline elements in markdown.John MacFarlane1-2/+2
So, aaa <!-- comment --> bbb can be a single paragraph.
2010-10-26Added test for macros.John MacFarlane2-1/+9
2010-10-24LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.John MacFarlane2-12/+12
This avoids unwanted interpretation as optional arguments in some contexts, which caused the brackets to silently disappear!
2010-07-22Updated s5 tests.John MacFarlane2-40/+24
2010-07-22Extended --offline to s5.John MacFarlane2-516/+14
S5 default is now to include links, rather than a full copy of scripts and stylesheets.
2010-07-20Added amssymb to default latex template.John MacFarlane3-3/+3
Resolves github Issue 1.
2010-07-20Made spacing at end of output more consistent.John MacFarlane44-61/+5
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
2010-07-16Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane2-26/+24
2010-07-15Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane3-179/+147
Note: Update any custom CSS or templates accordingly.
2010-07-15Added --section-divs option.John MacFarlane3-1061/+991
+ Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
2010-07-15Added --webtex option for HTML math.John MacFarlane1-2/+4
+ Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
2010-07-14Improved handling of code in man writer.John MacFarlane1-52/+74
+ Inline code is now in monoscpace, not bold. + Code blocks now use .nf (no fill) and .IP (indented paragraph). + Resolves Issue #247.
2010-07-13Put insert-before text before the title h1 in HTML.John MacFarlane1-1/+1
+ This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
2010-07-12Added tests for example lists.John MacFarlane2-1/+18
2010-07-06Allow language-neutral table captions.John MacFarlane3-10/+10
+ Captions may now begin simply with ':', instead of 'Table:' + Captions may now appear either above or below the table. + Resolves Issue #227.
2010-06-30Use unicode for smart punctuation in plain, markdown, rst formats.John MacFarlane3-80/+80
2010-05-17Added Textile writer module.John MacFarlane3-0/+896
2010-05-06No longer need to set LANG in RunTests.John MacFarlane1-2/+1
2010-04-26Man writer: convert math to unicode when possible.John MacFarlane1-8/+7
(As in other writers.)
2010-04-25Use texmath's parser in TexMath module.John MacFarlane7-139/+30
* This replaces a lot of custom parser code, and expands the tex -> unicode conversion. * The behavior has also changed: if the whole formula can't be converted, the whole formula is left in raw TeX. Previously, pandoc converted parts of the formula to unicode and left other parts in raw TeX. * Added (but not yet exported) readTeXMath', which returns a Maybe. * Updated tests
2010-04-25RunTests: use UTF8 no matter what the locale.John MacFarlane1-4/+8
2010-04-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke1-0/+9
2010-03-23Added multilingual URL tests for markdown reader.John MacFarlane2-1/+13
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher1-209/+201
* Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added plain writer.fiddlosopher4-22/+800
Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18MediaWiki writer: make links to relative URLs wikilinks.fiddlosopher1-22/+22
The new rule: If the link target is an absolute URL, an external link is created. Otherwise, a wikilink is created. Examples: 1. [label](/foo/bar) => [[foo/bar|label]] 2. [label](foo) => [[foo|label]] 3. [label](http://gitit.net/foo) => [http://gitit.net/foo label] Note on 1: We strip the leading / here, since otherwise we get a link to Help:Links/foo/bar. would it be better for 1 to become [http://{SERVERNAME}}/foo/bar label]? Perhaps, since this would guarantee the same link destination as you'd get if you used the HTML writer directly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1904 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Texinfo writer: Handle images in figures.fiddlosopher1-0/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1901 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18HTML writer: Use a p rather than a div for image caption.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1900 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18RST writer: handle images in figures.fiddlosopher1-2/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1899 788f1e2b-df1e-0410-8736-df70ead52e1b