Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-19 | Use spaceChar instead of oneOf " \t" in rst reader. | John MacFarlane | 1 | -5/+5 | |
2011-01-19 | Replaced more noneOf/oneOf parsers. | John MacFarlane | 1 | -5/+11 | |
2011-01-19 | Replaced uses of oneOf with more efficient parsers. | John MacFarlane | 1 | -12/+19 | |
This speeds up the markdown reader. | |||||
2011-01-14 | HTML reader: parse simple tables. | John MacFarlane | 1 | -2/+22 | |
Resolves Issue #106. Thanks to Rodja Trappe for the idea and some sample code. | |||||
2011-01-14 | HTML reader: parse location tags in pSatisfy. | John MacFarlane | 1 | -13/+17 | |
This avoids the need for manual parsing all over the place. | |||||
2011-01-07 | LaTeX reader: Support simple tables. | John MacFarlane | 1 | -0/+58 | |
2011-01-06 | LaTeX reader: allow spaces btw \\begin or \\end and {. | John MacFarlane | 1 | -10/+27 | |
2011-01-06 | LaTeX reader: Removed unnecessary 'spaces'. | John MacFarlane | 1 | -4/+0 | |
2011-01-06 | HTML reader: Fixed bug in htmlTag for comments. | John MacFarlane | 1 | -2/+9 | |
2011-01-05 | LaTeX reader: Apply macros to non-math; handle ensuremath. | John MacFarlane | 1 | -9/+23 | |
2011-01-05 | LaTeX reader: Don't handle \label and \ref specially. | John MacFarlane | 1 | -11/+0 | |
Put labels in {} instead of (). | |||||
2011-01-05 | LaTeX reader: Support \L \l accents. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | Updated for texmath 0.5. | John MacFarlane | 1 | -13/+13 | |
2011-01-05 | LaTeX reader: Parse inside arguments when ignoring commands. | John MacFarlane | 1 | -9/+11 | |
2011-01-05 | LaTeX reader: Don't handle \index separately. | John MacFarlane | 1 | -7/+0 | |
Instead, just put it in list of commands to ignore. | |||||
2011-01-05 | LaTeX reader: Added "index" to ignorable commands. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: skip space before option or argument. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: Skip \index commands. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | LaTeX reader: Removed \group (we want to parse inside {}). | John MacFarlane | 1 | -6/+0 | |
2011-01-05 | LaTeX reader: Better handling of preamble, inc. parsing macros. | John MacFarlane | 1 | -10/+20 | |
2011-01-04 | LaTeX reader: Parse bracketed {parts} as raw TeX. | John MacFarlane | 1 | -2/+2 | |
2011-01-04 | Markdown reader: Removed unneeded definitions. | John MacFarlane | 1 | -10/+8 | |
specialChars, strChar, specialCharsMinusLt. | |||||
2011-01-04 | LaTeX reader: parse macros and apply to math. | John MacFarlane | 1 | -7/+8 | |
2011-01-04 | Moved 'macro' and 'applyMacros'' from markdown reader to Parsing. | John MacFarlane | 1 | -24/+0 | |
2011-01-01 | Fixed regression in markdown reader. | John MacFarlane | 1 | -3/+3 | |
'(_hi_)' was being parsed with literal underscores (no emphasis). The fix: the 'str' parser now only parses alphanumerics and embedded underscores. All other symbols are handled by the 'symbol' parser. This has a slight effect on the AST, since you'll get [Str "hi",Str ":"] insntead of [Str "hi:"]. But there should not be a visible effect in any of the writers. Thanks to gwern for pointing out the regression. | |||||
2010-12-30 | LaTeX reader: Allow ignored comments after \end{document}. | John MacFarlane | 1 | -3/+1 | |
2010-12-30 | HTML reader: Fixed some parsing bugs. | John MacFarlane | 1 | -22/+28 | |
2010-12-30 | Added support for listings package code blocks and inline code. | Puneeth Chaganti | 1 | -2/+9 | |
2010-12-30 | Textile reader: Slight speed improvement. | John MacFarlane | 1 | -5/+5 | |
2010-12-30 | New HTML reader using tagsoup as a lexer. | John MacFarlane | 3 | -625/+421 | |
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly. | |||||
2010-12-24 | Use functions from Text.Pandoc.Generic instead of processWith(M). | John MacFarlane | 1 | -1/+2 | |
2010-12-22 | HTML reader: Simplified parsing of <script> sections. | John MacFarlane | 1 | -24/+1 | |
I had previously assumed that we needed to ignore </script> occuring in a string literal or javascript comment. It turns out, though, that browsers aren't that smart. | |||||
2010-12-22 | Made --smart work with HTML reader. | John MacFarlane | 1 | -4/+13 | |
It did not work before, because - and quotes were gobbled up by the str parser. | |||||
2010-12-22 | RST reader: Added unicode quote characters to specialChars. | John MacFarlane | 1 | -1/+1 | |
(So they can trigger Quoted environments.) | |||||
2010-12-22 | RST reader: recouped speed loss due to addition of --smart. | John MacFarlane | 1 | -4/+4 | |
This was achieved by rearranging the parsers in inline. Benchmarks went from 500ms to 307ms -- not quite back to the 279ms we had in 1.6, before supporting smart punctuation and footnotes, but close. | |||||
2010-12-21 | Shared: Made splitBy take a test instead of an element. | John MacFarlane | 1 | -1/+1 | |
2010-12-15 | HTML reader: allow : in tags. | John MacFarlane | 1 | -2/+6 | |
Resolves Issue #274. | |||||
2010-12-14 | Fixed preamble parsing in LaTeX reader. | John MacFarlane | 1 | -2/+8 | |
2010-12-14 | Fixed regression in parsing _emph_ | John MacFarlane | 1 | -1/+1 | |
There was a bug in parsing '_emph_, ...': when followed by a comma, underscore emphasis did not register. (Thanks to gwern for pointing this out.) This bug was introduced by the change in c66921f2acea456af527b93e2daa1d8594798642 | |||||
2010-12-13 | Moved special handling of punctuation in suffix out of markdown reader. | Nathan Gass | 1 | -7/+2 | |
This allows different writers to handle punctuation in the suffix differently. | |||||
2010-12-13 | Added support for latex cite commands in latex reader. | Nathan Gass | 1 | -8/+109 | |
2010-12-13 | Markdown reader: Further fix to abbrevs. | John MacFarlane | 1 | -1/+1 | |
2010-12-13 | Markdown reader: Fixed abbrev handler to allow abbrev at end of line. | John MacFarlane | 1 | -2/+2 | |
E.g., Mr. Frank. | |||||
2010-12-13 | Markdown reader: Fixed referenceKey parser to allow space after newline. | John MacFarlane | 1 | -2/+1 | |
2010-12-13 | Markdown reader: Fixed regression in reference key parser. | John MacFarlane | 1 | -0/+1 | |
* 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-12 | Markdown reader: fix superscripts with links. | John MacFarlane | 1 | -1/+1 | |
Moved inlineNote parser after superscript parser, so ^[link](/foo)^ gets recognized as a superscripted link, not an inline note followed by garbage. Thanks to Conal Elliott for pointing out the problem. | |||||
2010-12-10 | LaTeX reader: Improved parsing of preamble. | John MacFarlane | 1 | -11/+6 | |
Previously you'd get unexpected behavior on a document that contained '\begin{document}' in, say, a verbatim block. | |||||
2010-12-10 | Markdown reader: small cosmetic code improvements. | John MacFarlane | 1 | -8/+6 | |
2010-12-10 | Removed HTML sanitization. | John MacFarlane | 2 | -101/+10 | |
This is better done on the resulting HTML; use the xss-sanitize library for this. xss-sanitize is based on pandoc's sanitization, but improves it. - Removed stateSanitize from ParserState. - Removed --sanitize-html option. | |||||
2010-12-10 | Markdown reader: Allow linebreaks in URLs (treat as spaces). | John MacFarlane | 1 | -6/+21 | |
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. |