aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-23Added base dependencies for test suite.John MacFarlane1-1/+3
2012-09-23Added 'UTF8.' to decodeArg.John MacFarlane1-1/+1
2012-09-23Require base >= 4.2 (i.e. GHC 6.12).John MacFarlane1-19/+9
2012-09-23Revert "Use local encoding for input/output rather than forcing UTF8."John MacFarlane2-12/+13
This reverts commit c69837adb648a479167be5e2d37279a02be8060c.
2012-09-23Use local encoding for input/output rather than forcing UTF8.John MacFarlane2-13/+12
Note that system templates are stored as UTF8 and will still be read as such, even if the local encoding is different. Text downloaded from URLs will also be treated as UTF-8.
2012-09-23UTF8: Export decodeArg.John MacFarlane1-1/+5
2012-09-23Export encodePath/decodePath from UTF8.John MacFarlane2-15/+2
Removed duplicate code in src/pandoc.hs.
2012-09-22Markdown reader: Fixed link parser to avoid exponential slowdowns.John MacFarlane2-8/+14
Previously the parser would hang on input like this: [[[[[[[[[[[[[[[[[[hi We fixed this by making the link parser parser characters between balanced brackets (skipping brackets in inline code spans), then parsing the result as an inline list. One change is that [hi *there]* bud](/url) is now no longer parsed as a link. But in this respect pandoc behaved differently from most other implementations anyway, so that seems okay. All current tests pass. Added test for this case. Closes #620.
2012-09-22LaTeX reader: Added a 'try' in rawLaTeXBlock.John MacFarlane2-1/+5
This allows the markdown reader to treat '\begin' (not followed by an argument) as a raw string rather than erroring out when it doesn't find a '{'. Closes #622.
2012-09-21Tests.Old: Set TMP to ".".John MacFarlane1-1/+1
Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations.
2012-09-21Merge pull request #619 from bgamari/masterJohn MacFarlane2-8/+15
Various version bumps
2012-09-21Setup: getModificationTime returns UTCTime as of GHC 7.6Ben Gamari1-0/+7
2012-09-21Bump network upper bound to <2.5Ben Gamari1-2/+2
network 2.4 is now on hackage
2012-09-21Bump directory upper bound to <1.3Ben Gamari1-3/+3
directory-1.2 is in ghc 7.6
2012-09-21Bump containers upper bound to <0.6Ben Gamari1-3/+3
Since containers 0.5 is in the wild as of ghc 7.6
2012-09-16README: Removed claim that 'enumerate' library is needed in LaTeX.John MacFarlane1-1/+1
It isn't any longer.
2012-09-16LaTeX/Beamer templates: Don't require 'float' package for tables.John MacFarlane1-5/+7
We don't actually seem to use the '[H]' option.
2012-09-16LaTeX writer: Don't rely on the enumerate package.John MacFarlane3-46/+66
Instead, use standard LaTeX commands to change numbering style.
2012-09-16LaTeX writer: Properly escape strings inside \url{}.John MacFarlane2-2/+3
Closes #576.
2012-09-16RST writer: Fixed hyperlinked images.John MacFarlane1-17/+28
* Use :target: field when you have a simple linked image. * Don't wrap the reference. * Cleaned up code. * Closes #611.
2012-09-16RST reader: Small tweaks to raw field lists.John MacFarlane1-3/+2
* Don't allow line breaks in field names. * Strip off initial newline from 'raw' when field body begins on next line.
2012-09-16Merge pull request #596 from dlax/rst-fieldlistsJohn MacFarlane2-3/+4
improvements to rst reader for field lists
2012-09-15MediaWiki reader: Allow table in table cell.John MacFarlane3-1/+36
2012-09-15LaTeX writer: Don't escape _ in hyperref identifiers.John MacFarlane1-1/+1
2012-09-15LaTeX writer: don't escape _ in url.John MacFarlane2-2/+2
2012-09-15LaTeX writer: Don't use \endhead with longtable.John MacFarlane2-6/+6
It causes the heading to be a different size form the body, sometimes.
2012-09-15Markdown writer: Made sensitive to Ext_hard_line_breaks.John MacFarlane1-4/+8
2012-09-15Updated README to mention longtable packageJohn MacFarlane1-1/+1
2012-09-15Updated README to include mediawiki readerJohn MacFarlane1-19/+20
2012-09-15Revised latex writer tests to use longtable.John MacFarlane1-57/+51
2012-09-15LaTeX writer: Use longtable instead of ctable.John MacFarlane1-19/+17
2012-09-15LaTeX, beamer templates: Use longtable instead of ctable.John MacFarlane1-8/+5
2012-09-15MediaWiki reader: Added smart doublequotes with -S option.John MacFarlane1-2/+10
Also disallow ' in the "trail" of an internal link; allowing it causes bugs with `'''[[Link]]'''`.
2012-09-15MediaWiki parser: Improved endline to stop bad breaks.John MacFarlane1-2/+0
2012-09-15MediaWiki reader: Added test case for templates in list item.John MacFarlane2-2/+5
2012-09-15MediaWiki reader: Added test for ref.John MacFarlane2-1/+7
2012-09-15MediaWiki reader: Allow def list item with just a term.John MacFarlane1-1/+4
2012-09-15MediaWiki reader: Properly handle templates in list items.John MacFarlane1-4/+15
2012-09-15HTML reader: Modified htmlTag for fewer false positives.John MacFarlane1-1/+1
A tag must start with `<` followed by `!`,`?`, `/`, or a letter. This makes it more useful in the wikimedia and markdown parsers.
2012-09-15MediaWiki reader: Handle ref tags as footnotes.John MacFarlane1-0/+1
2012-09-15MediaWiki reader: Better parsing of templates.John MacFarlane1-9/+10
2012-09-15MediaWiki reader: Treat "references" tag as block.John MacFarlane1-5/+2
2012-09-15MediaWiki reader: Interpret width attribute on table columns.John MacFarlane3-17/+36
2012-09-15MediaWiki reader: Got alignments working.John MacFarlane3-7/+33
They only work on headers, because pandoc forces same alignment for all cells in a column.
2012-09-15MediaWiki reader: Misc fixes, put category links at end.John MacFarlane4-26/+46
2012-09-15MediaWiki reader: Skip inline templates, handle <source>.John MacFarlane1-5/+10
2012-09-15MediaWiki reader: Parse styles on table cells.John MacFarlane1-0/+6
2012-09-15MediaWiki reader: Parse styles after '{|' table start.John MacFarlane3-3/+39
2012-09-14MediaWiki reader: || between table cells.John MacFarlane1-9/+10
2012-09-14MediaWiki reader: Added test for multi-paragraph cells.John MacFarlane2-1/+27