aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass3-3/+3
2010-12-13Markdown reader: Fixed regression in reference key parser.John MacFarlane1-1/+0
* The recent change allowing spaces and newlines in the URL caused problems when reference keys are stacked up without blank lines between. This is now fixed. * Added test.
2010-12-10Markdown reader: Allow linebreaks in URLs (treat as spaces).John MacFarlane2-2/+3
Also, a string of consecutive spaces or tabs is now parsed as a single space. If you have multiple spaces in your URL, use %20%20.
2010-12-09textile redcloth definition listspaul.rivier2-0/+24
2010-12-09Textile reader: better treatment of acronyms.John MacFarlane1-1/+1
We now parse PBS(Public Broadcasting System) as if it were "PBS (Public Broadcasting System)".
2010-12-08RST reader: Added footnote suppport.John MacFarlane2-1/+35
Resolves issue #258. Note that there are some differences in how docutils and pandoc treat footnotes. Currently pandoc ignores the numeral or symbol used in the note; footnotes are put in an auto-numbered ordered list.
2010-12-08Textile reader: Implemented footnotes.John MacFarlane2-2/+11
2010-12-07Made --smart work with RST reader.John MacFarlane2-48/+48
2010-12-07Smart punctuation: don't alllow ellipses containing spaces.John MacFarlane1-1/+1
Previously we allowed '. . .', ' . . . ', etc. This caused too many complications, and removed author's flexibility in combining ellipses with spaces and periods.
2010-12-07Moved smartPunctuation from Markdown to Parsing.John MacFarlane1-8/+8
+ Parameterized smartPunctuation on an inline parser. + Handle smartPunctuation in Textile reader.
2010-12-07Textile reader: implemented acronyms, (tm), (r), (c).John MacFarlane2-1/+19
2010-12-07Fixed bugs in ieee.csl (Andrea Rossato).John MacFarlane1-2/+2
2010-12-07Updated ieee citation test for punctuation-in-quote.John MacFarlane1-2/+2
2010-12-06Markdown reader: handle curly quotes better.John MacFarlane3-2/+11
Previously, curly quotes were just parsed literally, leading to problems in some output formats. Now they are parsed as Quoted inlines, if --smart is specified. Resolves Issue #270.
2010-12-05Fix regression: markdown references should be case-insensitive.John MacFarlane2-1/+15
This broke when we added the Key type. We had assumed that the custom case-insensitive Ord instance would ensure case-insensitive matching, but that is not how Data.Map works. * Added a test case for case-insensitivity in markdown-reader-more * Removed old refsMatch from Text.Pandoc.Parsing module; * hid the 'Key' constructor; * dropped the custom Ord and Eq instances, deriving instead; * added fromKey and toKey to convert between Keys and Inline lists; * toKey ensures that keys are case-insensitive, since this is the only way the API provides to construct a Key. Resolves Issue #272.
2010-12-04Added tests.Puneeth Chaganti3-0/+938
+ Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
2010-12-03Merge branch 'citeproc' into master.John MacFarlane9-2/+1068
Conflicts: src/Text/Pandoc/Definition.hs
2010-12-03Textile reader: added hrule parser.John MacFarlane1-1/+1
2010-12-03Textile reader: drop leading, trailing newline in pre block.John MacFarlane1-2/+2
This is consistent with how the other readers work.
2010-12-03Textile reader: updated test suite to include raw HTML.John MacFarlane1-6/+6
2010-12-03Textile reader: parse raw by default.John MacFarlane1-1/+1
It's part of the textile spec to allow raw HTML, just as with markdown. -R is no longer needed in test suite.
2010-12-03punctuation handling, and more html-specific handlingpaul.rivier2-48/+48
2010-12-03html inlines and html blocks handling in textile readerPaul Rivier2-1/+30
2010-12-03textile reader now ignores html/css attributesPaul Rivier2-1/+26
2010-12-03fix autolink by promoting it in the parser list, fix table parabreakPaul Rivier2-26/+4
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier3-0/+279
entries
2010-11-28Revamped tests, using markdown output instead of HTML.John MacFarlane8-257/+136
This is easier to inspect.
2010-11-28Citation tests: removed spurious double-spaces.John MacFarlane3-9/+9
2010-11-28Updated citation tests to use en-dash between ranges.John MacFarlane3-12/+12
2010-11-28Fixed spacing bug for reference-style citations.John MacFarlane1-1/+1
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.