Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-29 | RST reader: Consolidated math block parsers into directive. | John MacFarlane | 1 | -2/+2 | |
2012-09-27 | RST reader: Use Text.Pandoc.Builder. | John MacFarlane | 2 | -125/+125 | |
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 | 2 | -0/+7 | |
2012-09-26 | RST reader: Support :target: on .. image:: blocks. | John MacFarlane | 1 | -2/+2 | |
Still not supported on substitution definitions. | |||||
2012-09-25 | Removed need for utf8-string package. | John MacFarlane | 1 | -2/+2 | |
* Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions. | |||||
2012-09-24 | Texinfo writer: Fixed internal cross-references. | John MacFarlane | 1 | -26/+67 | |
Now we insert anchors after each header, and use @ref instead of @uref for links. Commas are now escaped as @comma{} only when needed; previously all commas were escaped. (This change is needed, in part, because @ref commands must be followed by a real comma or period.) Also insert a blank line in from of @verbatim environments. | |||||
2012-09-22 | Markdown reader: Fixed link parser to avoid exponential slowdowns. | John MacFarlane | 1 | -0/+2 | |
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-22 | LaTeX reader: Added a 'try' in rawLaTeXBlock. | John MacFarlane | 1 | -0/+4 | |
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-21 | Tests.Old: Set TMP to ".". | John MacFarlane | 1 | -1/+1 | |
Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations. | |||||
2012-09-16 | LaTeX writer: Don't rely on the enumerate package. | John MacFarlane | 1 | -24/+34 | |
Instead, use standard LaTeX commands to change numbering style. | |||||
2012-09-16 | LaTeX writer: Properly escape strings inside \url{}. | John MacFarlane | 1 | -1/+1 | |
Closes #576. | |||||
2012-09-16 | Merge pull request #596 from dlax/rst-fieldlists | John MacFarlane | 1 | -1/+2 | |
improvements to rst reader for field lists | |||||
2012-09-15 | MediaWiki reader: Allow table in table cell. | John MacFarlane | 2 | -0/+33 | |
2012-09-15 | LaTeX writer: don't escape _ in url. | John MacFarlane | 1 | -1/+1 | |
2012-09-15 | LaTeX writer: Don't use \endhead with longtable. | John MacFarlane | 1 | -5/+5 | |
It causes the heading to be a different size form the body, sometimes. | |||||
2012-09-15 | Revised latex writer tests to use longtable. | John MacFarlane | 1 | -57/+51 | |
2012-09-15 | MediaWiki reader: Added test case for templates in list item. | John MacFarlane | 2 | -2/+5 | |
2012-09-15 | MediaWiki reader: Added test for ref. | John MacFarlane | 2 | -1/+7 | |
2012-09-15 | MediaWiki reader: Interpret width attribute on table columns. | John MacFarlane | 2 | -3/+3 | |
2012-09-15 | MediaWiki reader: Got alignments working. | John MacFarlane | 2 | -1/+21 | |
They only work on headers, because pandoc forces same alignment for all cells in a column. | |||||
2012-09-15 | MediaWiki reader: Misc fixes, put category links at end. | John MacFarlane | 2 | -3/+4 | |
2012-09-15 | MediaWiki reader: Parse styles after '{|' table start. | John MacFarlane | 2 | -2/+21 | |
2012-09-14 | MediaWiki reader: Added test for multi-paragraph cells. | John MacFarlane | 2 | -1/+27 | |
2012-09-14 | MediaWiki reader: Table improvements, added simple table tests. | John MacFarlane | 2 | -1/+44 | |
2012-09-13 | MediaWiki reader: Images. | John MacFarlane | 2 | -0/+15 | |
2012-09-13 | MediaWiki reader: internal links. | John MacFarlane | 2 | -0/+6 | |
2012-09-13 | MediaWiki reader: Implemented basic internal links. | John MacFarlane | 2 | -0/+18 | |
Including word-ending links and the "pipe trick." | |||||
2012-09-13 | MediaWiki reader: Added tests for external mailto link. | John MacFarlane | 2 | -0/+3 | |
2012-09-13 | MediaWiki reader: Implemented numbered external links. | John MacFarlane | 2 | -0/+3 | |
2012-09-13 | MediaWiki reader: Support HTML lists. | John MacFarlane | 2 | -0/+37 | |
2012-09-13 | MediaWiki reader: Handle templates, variables as raw mediawiki. | John MacFarlane | 2 | -1/+20 | |
Also check for column 1 in preformatted text. | |||||
2012-09-12 | MediaWiki reader: preformatted blocks and tests. | John MacFarlane | 2 | -2/+31 | |
2012-09-12 | MediaWiki reader: Support `<math>` tag. | John MacFarlane | 2 | -1/+7 | |
2012-09-12 | Added tests for mediawiki lists. | John MacFarlane | 2 | -1/+104 | |
2012-09-12 | More mediawiki reader tests. | John MacFarlane | 2 | -2/+66 | |
2012-09-12 | Added some tests for mediawiki reader. | John MacFarlane | 2 | -1/+51 | |
2012-09-12 | Added basic mediawiki reader. | John MacFarlane | 3 | -1/+112 | |
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}. | |||||
2012-09-12 | HTML writer: Improve line breaks with `<dd>` tags. | John MacFarlane | 1 | -5/+10 | |
We now put a newline between `</dd>` and `<dd>` when there are multiple definitions. | |||||
2012-09-08 | Fixed spacing in context writer test. | John MacFarlane | 1 | -1/+1 | |
2012-09-06 | LaTeX reader: Support obeylines environment. | John MacFarlane | 2 | -0/+6 | |
Closes #604. | |||||
2012-09-06 | LaTeX reader: Use curly quotes for bare straight quotes. | John MacFarlane | 1 | -1/+1 | |
2012-09-06 | Fixed footnotes bug in textile. | John MacFarlane | 1 | -1/+1 | |
This affected notes occuring before punctuation, e.g. `foo[1].`. Closes #518. | |||||
2012-08-29 | Fix RST reader for field lists items with body beginning after a new line | Denis Laxalde | 1 | -1/+2 | |
2012-08-25 | Added (failing) test case for #518. | John MacFarlane | 2 | -2/+4 | |
2012-08-18 | Man writer: Escape - as \-. | John MacFarlane | 1 | -10/+10 | |
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention. | |||||
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -1/+3 | |
- 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 | Major rewrite of markdown reader. | John MacFarlane | 7 | -363/+355 | |
* 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 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 8 | -18/+16 | |
2012-07-26 | Integrated test suite with cabal. | John MacFarlane | 1 | -1/+2 | |
To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface. | |||||
2012-07-26 | Moved tests to tests/, modified cabal file so lib isn't recompiled. | John MacFarlane | 13 | -0/+1134 | |