Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-30 | RST reader: Consolidate super/subscript, math into interpretedRole. | John MacFarlane | 1 | -35/+26 | |
2012-09-30 | RST reader: Renamed 'image' to 'subst', since it now handles more. | John MacFarlane | 1 | -4/+3 | |
2012-09-30 | Ignore unknown interpreted roles. | John MacFarlane | 1 | -3/+12 | |
The contents are treated as rst, not literal, which will sometimes be wrong. | |||||
2012-09-30 | RST reader: Removed requirement that directives begin at left margin. | John MacFarlane | 1 | -3/+0 | |
This was (correctly) not in earlier releases; docutils doesn't make the requirement. | |||||
2012-09-30 | RST reader: Require whitespace after field list field names. | John MacFarlane | 1 | -1/+1 | |
2012-09-30 | RST reader: Consolidated rawBlock into directive. | John MacFarlane | 1 | -15/+1 | |
2012-09-30 | RST reader: Handle replace:: and unicode:: substitutions. | John MacFarlane | 1 | -8/+77 | |
2012-09-29 | RST reader: Make directive labels case-insensitive. | John MacFarlane | 1 | -1/+3 | |
2012-09-29 | RST reader: Folded figureBlock into directive. | John MacFarlane | 1 | -14/+10 | |
2012-09-29 | RST reader: Made comments a separate parser. | John MacFarlane | 1 | -6/+17 | |
2012-09-29 | RST reader: Folded image block handling into directive. | John MacFarlane | 1 | -41/+36 | |
2012-09-29 | RST reader: Folded code block parsers into directive. | John MacFarlane | 1 | -18/+15 | |
2012-09-29 | RST reader: Folded default-role parser into directive. | John MacFarlane | 1 | -21/+8 | |
2012-09-29 | Renamed removedLeadingTrailingSpace to trim. | John MacFarlane | 1 | -11/+11 | |
Also removeLeadingSpace to triml, removeTrailingSpace to trimr. | |||||
2012-09-29 | RST reader: Consolidated math block parsers into directive. | John MacFarlane | 1 | -29/+9 | |
2012-09-29 | RST reader: Refactored directive parser. | John MacFarlane | 1 | -83/+105 | |
We now also hander container, compound, epigraph, rubric, highligts, pull-quote. | |||||
2012-09-28 | RST reader: Support ".. code::". | John MacFarlane | 1 | -1/+5 | |
2012-09-28 | RST reader: Combine para/plain. | John MacFarlane | 1 | -9/+10 | |
2012-09-28 | RST reader: Made para parser slightly more efficient. | John MacFarlane | 1 | -12/+19 | |
2012-09-27 | RST reader: Use Text.Pandoc.Builder. | John MacFarlane | 1 | -174/+180 | |
This will give us more flexibility in the future. It also gives built-in normalization. Performance slightly better. | |||||
2012-09-27 | RST reader: Support :target: on image substitutions. | John MacFarlane | 1 | -26/+26 | |
2012-09-27 | Added stateSubstitutions to ParserState, use for RST substitutions. | John MacFarlane | 1 | -12/+18 | |
2012-09-26 | RST reader: Support :target: on .. image:: blocks. | John MacFarlane | 1 | -4/+8 | |
Still not supported on substitution definitions. | |||||
2012-09-16 | RST reader: Small tweaks to raw field lists. | John MacFarlane | 1 | -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-16 | Merge pull request #596 from dlax/rst-fieldlists | John MacFarlane | 1 | -2/+2 | |
improvements to rst reader for field lists | |||||
2012-09-08 | RST reader: Allow dashes as separator in simple tables. | John MacFarlane | 1 | -1/+1 | |
Closes #555. | |||||
2012-08-29 | Allow any char but ':' in names of field lists in RST reader | Denis Laxalde | 1 | -1/+1 | |
2012-08-29 | Fix RST reader for field lists items with body beginning after a new line | Denis Laxalde | 1 | -1/+1 | |
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -1/+1 | |
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix. | |||||
2012-08-01 | Parsing: removed duplication of Key and Key'. | John MacFarlane | 1 | -14/+19 | |
Now we just use the former Key' (string contents), renamed Key. lookupKeySrc and fromKey are no longer eport. Key', toKey' and KeyTable' have become Key, toKey, and KeyTable. | |||||
2012-08-01 | Major rewrite of markdown reader. | John MacFarlane | 1 | -2/+2 | |
* Use Builder's Inlines/Blocks instead of lists. * Return values in the reader monad, which are then run (at the end of parsing) against the final parser state. This allows links, notes, and example numbers to be resolved without a second parser pass. * An effect of using Builder is that everything is normalized automatically. * New exports from Text.Pandoc.Parsing: widthsFromIndices, NoteTable', KeyTable', Key', toKey', withQuoteContext, singleQuoteStart, singleQuoteEnd, doubleQuoteStart, doubleQuoteEnd, ellipses, apostrophe, dash * Updated opendocument tests. * Don't derive Show for ParserState. * Benchmarks: markdown reader takes 82% of the time it took before. Markdown writer takes 92% of the time (here the speedup is probably due to the fact that everything is normalized by default). | |||||
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -26/+26 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -4/+4 | |
2012-07-25 | Restored stateStandalone as readerStandalone. | John MacFarlane | 1 | -2/+5 | |
It is indeed needed by the RST reader. | |||||
2012-07-25 | Got rid of stateStandalone, which was hardly used anyway. | John MacFarlane | 1 | -3/+1 | |
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform. | |||||
2012-07-25 | Moved stateTabStop to readerTabStop in ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
2012-07-24 | Refactored table parsers, captions now not part of core tableWith. | John MacFarlane | 1 | -2/+2 | |
2012-07-20 | Use Parser as type synonym for Parsec. | John MacFarlane | 1 | -92/+92 | |
2012-07-20 | Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code. | John MacFarlane | 1 | -1/+0 | |
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to. | |||||
2012-07-20 | Use Text.Parsec instead of Text.ParserCombinators.Parsec. | John MacFarlane | 1 | -95/+95 | |
2012-07-16 | Don't recognize inline-markup starts inside words. | John MacFarlane | 1 | -8/+17 | |
For example, "2*2 = 4*1" should not contain an emphasized section. Added test case for "Literal symbols". Closes #569. | |||||
2012-05-29 | RST reader: handle figures. | John MacFarlane | 1 | -0/+15 | |
Closes #522. | |||||
2012-03-25 | Oops! Forgot to munch whitespace / ignore body after directive. | Greg Maslov | 1 | -1/+4 | |
2012-03-24 | Add parsing support for the rST default-role directive. | Greg Maslov | 1 | -3/+31 | |
2012-03-24 | RST reader: allow :math:`...` even when not followed by blank or \. | John MacFarlane | 1 | -2/+3 | |
This does not implement the complex rule described at http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, but it should be good enough for most purposes. Closes #453. | |||||
2012-03-24 | RST reader: '\ ' is null, not escaped space. | John MacFarlane | 1 | -1/+3 | |
2011-12-31 | Support for math in RST reader and writer. | John MacFarlane | 1 | -4/+5 | |
Inline math uses the :math:`...` construct. Display math uses .. math:: ... or if multilin .. math:: ... These seem to be supported now by rst2latex.py. | |||||
2011-12-30 | Support Sphinx style math in RST reader. | John MacFarlane | 1 | -4/+35 | |
Inline: :math:`E=mc^2` Block: .. math: E = mc^2 .. math:: E = mc^2 a = b^2 (This latter will turn into a paragraph with two display math elements.) Closes #117. | |||||
2011-12-29 | Better smart quote parsing. | John MacFarlane | 1 | -1/+5 | |
* Added stateLastStrPos to ParserState. This lets us keep track of whether we're parsing the position immediately after a 'str'. If we encounter a ' in such a location, it must be an apostrophe, and can't be a single quote start. * Set this in the markdown, textile, html, and rst str parsers. * Closes #360. | |||||
2011-12-05 | Parsing: Changed type of escaped to return Char | John MacFarlane | 1 | -1/+2 | |