Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fixed macro parsing. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Parse inside arguments when ignoring commands. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Don't handle \index separately. | John MacFarlane | 2011-01-05 |
| | | | | Instead, just put it in list of commands to ignore. | ||
* | LaTeX reader: Added "index" to ignorable commands. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: skip space before option or argument. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Skip \index commands. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Removed \group (we want to parse inside {}). | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Better handling of preamble, inc. parsing macros. | John MacFarlane | 2011-01-05 |
| | |||
* | LaTeX reader: Parse bracketed {parts} as raw TeX. | John MacFarlane | 2011-01-04 |
| | |||
* | Markdown reader: Removed unneeded definitions. | John MacFarlane | 2011-01-04 |
| | | | | specialChars, strChar, specialCharsMinusLt. | ||
* | LaTeX reader: parse macros and apply to math. | John MacFarlane | 2011-01-04 |
| | |||
* | Moved 'macro' and 'applyMacros'' from markdown reader to Parsing. | John MacFarlane | 2011-01-04 |
| | |||
* | Fixed regression in markdown reader. | John MacFarlane | 2011-01-01 |
| | | | | | | | | | | | '(_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. | ||
* | Updated copyright notices. | John MacFarlane | 2011-01-01 |
| | |||
* | LaTeX reader: Allow ignored comments after \end{document}. | John MacFarlane | 2010-12-30 |
| | |||
* | HTML reader: Fixed some parsing bugs. | John MacFarlane | 2010-12-30 |
| | |||
* | Added support for listings package code blocks and inline code. | Puneeth Chaganti | 2010-12-30 |
| | |||
* | Textile reader: Slight speed improvement. | John MacFarlane | 2010-12-30 |
| | |||
* | New HTML reader using tagsoup as a lexer. | John MacFarlane | 2010-12-30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||
* | normalize: Don't reduce [Space] to []. | John MacFarlane | 2010-12-26 |
| | |||
* | Improved 'normalize'. | John MacFarlane | 2010-12-26 |
| | | | | | | Now normalizeInlines is split into consolidateInlines and removeEmptyInlines. We need to remove empties before consolidating. | ||
* | Markdown writer: Fixed bug in Image. | John MacFarlane | 2010-12-26 |
| | | | | URI was getting unescaped twice! | ||
* | Improved normalize. | John MacFarlane | 2010-12-25 |
| | |||
* | Use functions from Text.Pandoc.Generic instead of processWith(M). | John MacFarlane | 2010-12-24 |
| | |||
* | HTML reader: Simplified parsing of <script> sections. | John MacFarlane | 2010-12-22 |
| | | | | | | | 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. | ||
* | Made --smart work with HTML reader. | John MacFarlane | 2010-12-22 |
| | | | | | It did not work before, because - and quotes were gobbled up by the str parser. | ||
* | RST reader: Added unicode quote characters to specialChars. | John MacFarlane | 2010-12-22 |
| | | | | (So they can trigger Quoted environments.) | ||
* | RST reader: recouped speed loss due to addition of --smart. | John MacFarlane | 2010-12-22 |
| | | | | | | | | 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. | ||
* | ODT writer: Don't wrap text in opendocument. | John MacFarlane | 2010-12-22 |
| | |||
* | Removed all dependencies on 'pretty' package. | John MacFarlane | 2010-12-22 |
| | |||
* | Texinfo writer: Updated to use Pretty. | John MacFarlane | 2010-12-22 |
| | |||
* | Shared: Removed unneeded prettyprinting functions: | John MacFarlane | 2010-12-22 |
| | | | | wrapped, wrapIfNeeded, wrappedTeX, wrapTeXIfNeeded, hang'. | ||
* | Shared: Removed BlockWrapper, wrappedBlocksToDoc. | John MacFarlane | 2010-12-22 |
| | | | | These are no longer needed with the new Pretty module. | ||
* | Pretty: Added quote, doubleQuote. | John MacFarlane | 2010-12-22 |
| | |||
* | Man writer: updated to use Pretty. | John MacFarlane | 2010-12-22 |
| | |||
* | OpenDocument writer: Updated to use Pretty. | John MacFarlane | 2010-12-21 |
| | |||
* | XML: don't use breaking spaces in attribute lists. | John MacFarlane | 2010-12-21 |
| | |||
* | Docbook writer: Updated to use Pretty. | John MacFarlane | 2010-12-21 |
| | |||
* | Pretty: don't print a breaking space before a newline. | John MacFarlane | 2010-12-21 |
| | |||
* | Shared: Made splitBy take a test instead of an element. | John MacFarlane | 2010-12-21 |
| | |||
* | XML: Replaced escapeStringAsXML with a faster version. | John MacFarlane | 2010-12-21 |
| | | | | | | Benchmarked with criterion, it's about 8x faster than the old version. This speeds up docbook, opendocument, and html writers. | ||
* | Markdown writer: use \ for newline instead of two spaces at eol. | John MacFarlane | 2010-12-20 |
| | | | | (Unless --strict.) | ||
* | Markdown writer: Use delimited code block if there are attributes. | John MacFarlane | 2010-12-20 |
| | | | | (Unless in strict mode.) | ||
* | Plain writer: set stateStrictMarkdown automatically. | John MacFarlane | 2010-12-20 |
| | |||
* | ConTeXt writer: Updated to use Text.Pandoc.Pretty. | John MacFarlane | 2010-12-20 |
| | |||
* | Renamed 'enclosed' to 'inside'. | John MacFarlane | 2010-12-20 |
| | | | | This avoids conflict with 'enclosed' in Text.Pandoc.Parsing. | ||
* | Pretty: Fixed parens. | John MacFarlane | 2010-12-19 |
| | |||
* | Pretty: Added enclosed, parens. | John MacFarlane | 2010-12-19 |
| | |||
* | LaTeX writer: A bit of code polish. | John MacFarlane | 2010-12-19 |
| | |||
* | LaTeX writer: Modified to use Pretty. | John MacFarlane | 2010-12-19 |
| | | | | Improved footnote formatting, removed spurious blank lines. |