aboutsummaryrefslogtreecommitdiff
path: root/src/Tests/Readers/LaTeX.hs
AgeCommit message (Collapse)AuthorFilesLines
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-1/+1
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-0/+5
2012-02-06LaTeX reader: use raw latex as fallback for Cites.John MacFarlane1-22/+24
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
2012-02-05Changed infix level of testing combinators.John MacFarlane1-1/+1
This avoids clash with (<>), which is defined in Data.Monoid as having infix 6.
2012-02-04Complete rewrite of LaTeX reader.John MacFarlane1-4/+4
* The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane1-4/+4
2011-12-13Use pandoc-types 1.9.*.John MacFarlane1-25/+26
2011-01-30LaTeX reader: Fixed bug with whitespace at beginning of file.John MacFarlane1-0/+9
Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing.
2011-01-29Moved tests to src.John MacFarlane1-0/+152