Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -0/+11 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2017-12-15 | Added tests of latex tokenizer. | John MacFarlane | 1 | -1/+18 | |
This should help prevent regressions like #4159. | |||||
2017-10-27 | Automatic reformating by stylish-haskell. | John MacFarlane | 1 | -2/+2 | |
2017-10-17 | Latex reader: Skip spaces in image options | Ben Firshman | 1 | -0/+3 | |
2017-10-17 | Add tests for existing \includegraphics behaviour | Ben Firshman | 1 | -0/+24 | |
2017-10-06 | LaTeX reader: read polyglossia/babel \text($LANG){...}. | bucklereed | 1 | -0/+20 | |
2017-08-24 | LaTeX reader: RN and Rn, from biblatex (#3854) | bucklereed | 1 | -0/+23 | |
2017-08-05 | LaTeX reader: plainbreak, fancybreak et al from the memoir class (#3833) | bucklereed | 1 | -0/+26 | |
2017-07-07 | Rewrote LaTeX reader with proper tokenization. | John MacFarlane | 1 | -1/+2 | |
This rewrite is primarily motivated by the need to get macros working properly. A side benefit is that the reader is significantly faster (27s -> 19s in one benchmark, and there is a lot of room for further optimization). We now tokenize the input text, then parse the token stream. Macros modify the token stream, so they should now be effective in any context, including math. Thus, we no longer need the clunky macro processing capacities of texmath. A custom state LaTeXState is used instead of ParserState. This, plus the tokenization, will require some rewriting of the exported functions rawLaTeXInline, inlineCommand, rawLaTeXBlock. * Added Text.Pandoc.Readers.LaTeX.Types (new exported module). Exports Macro, Tok, TokType, Line, Column. [API change] * Text.Pandoc.Parsing: adjusted type of `insertIncludedFile` so it can be used with token parser. * Removed old texmath macro stuff from Parsing. Use Macro from Text.Pandoc.Readers.LaTeX.Types instead. * Removed texmath macro material from Markdown reader. * Changed types for Text.Pandoc.Readers.LaTeX's rawLaTeXInline and rawLaTeXBlock. (Both now return a String, and they are polymorphic in state.) * Added orgMacros field to OrgState. [API change] * Removed readerApplyMacros from ReaderOptions. Now we just check the `latex_macros` reader extension. * Allow `\newcommand\foo{blah}` without braces. Fixes #1390. Fixes #2118. Fixes #3236. Fixes #3779. Fixes #934. Fixes #982. | |||||
2017-06-11 | Switched Writer types to use Text. | John MacFarlane | 1 | -1/+1 | |
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731. | |||||
2017-06-10 | Changed all readers to take Text instead of String. | John MacFarlane | 1 | -6/+8 | |
Readers: Renamed StringReader -> TextReader. Updated tests. API change. | |||||
2017-03-14 | Use tasty for tests rather than test-framework. | John MacFarlane | 1 | -5/+5 | |
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 1 | -3/+2 | |
2017-02-04 | Moved tests/ -> test/. | John MacFarlane | 1 | -0/+226 | |