Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-09-11 | Merge pull request #3911 from labdsf/muse-reader-braces | John MacFarlane | 1 | -0/+33 | |
Muse reader: parse {{{ }}} example syntax | |||||
2017-09-11 | Muse reader: allow inline markup to be followed by punctuation | Alexander Krotov | 1 | -2/+18 | |
Previously code was not allowed to be followed by comma, and emphasis was allowed to be followed by letter. | |||||
2017-09-11 | Muse reader: parse {{{ }}} example syntax | Alexander Krotov | 1 | -0/+33 | |
2017-09-11 | Muse reader: parse verbatim tag | Alexander Krotov | 1 | -0/+2 | |
2017-09-10 | Muse reader: trim newlines from <example>s | Alexander Krotov | 1 | -0/+25 | |
2017-09-09 | Muse reader: debug inline code markup | Alexander Krotov | 1 | -2/+32 | |
2017-09-06 | Muse reader: Allow finishing header with EOF (#3897) | Alexander | 1 | -6/+6 | |
2017-09-05 | Muse reader: require at least one space char after * in header (#3895) | Alexander | 1 | -0/+1 | |
2017-09-04 | Muse reader: parse <div> tag (#3888) | Alexander | 1 | -0/+8 | |
2017-08-29 | Muse reader: parse verse markup (#3882) | Alexander | 1 | -0/+24 | |
2017-08-28 | RST reader: handle blank lines correctly in line blocks (#3881) | Alexander | 1 | -0/+13 | |
Previously pandoc would sometimes combine two line blocks separated by blanks, and ignore trailing blank lines within the line block. Test is checked to be consisted with http://rst.ninjs.org/ | |||||
2017-08-25 | Muse reader: parse <verse> tag (#3872) | Alexander | 1 | -0/+21 | |
2017-08-24 | LaTeX reader: RN and Rn, from biblatex (#3854) | bucklereed | 1 | -0/+23 | |
2017-08-22 | Muse reader: avoid crashes on multiparagraph inline tags (#3866) | Alexander | 1 | -0/+10 | |
Test checks that behavior is consistent with Amusewiki | |||||
2017-08-22 | Muse reader: do not allow closing tags with EOF (#3863) | Alexander | 1 | -0/+6 | |
This behavior is compatible to Amusewiki | |||||
2017-08-22 | Text.Pandoc.Lua: support Inline and Block catch-alls | Albert Krewinkel | 1 | -0/+6 | |
Try function `Inline`/`Block` if no other filter function of the respective type matches an element. Closes: #3859 | |||||
2017-08-22 | Text.Pandoc.Lua: respect metatable when getting filters | Albert Krewinkel | 1 | -0/+6 | |
This change makes it possible to define a catch-all function using lua's metatable lookup functionality. function catch_all(el) … end return { setmetatable({}, {__index = function(_) return catch_all end}) } A further effect of this change is that the map with filter functions now only contains functions corresponding to AST element constructors. | |||||
2017-08-21 | Muse reader: add definition list support (#3860) | Alexander | 1 | -0/+52 | |
2017-08-17 | RST reader/writer: support unknown interpreted text roles... | John MacFarlane | 1 | -1/+2 | |
...by parsing them as Span with "role" attributes. This way they can be manipulated in the AST. Closes #3407. | |||||
2017-08-14 | Test fixes so we can find data files. | John MacFarlane | 3 | -7/+7 | |
In old tests & command tests, we now set the environment variable pandoc_datadir. In lua tests, we set the datadir explicitly. | |||||
2017-08-13 | Fixed command tests to set local path. | John MacFarlane | 1 | -5/+5 | |
Previously we just tacked on a directory to the command line, but that didn't work when we e.g. used a pipe for round tripping, with two invocations of pandoc. | |||||
2017-08-13 | Use hslua >= 0.7, update Lua code | Albert Krewinkel | 1 | -17/+14 | |
2017-08-11 | Command tests; print stderr when a test fails. | John MacFarlane | 1 | -1/+4 | |
2017-08-10 | Fixed writer tests not to use writerUserDataDir. | John MacFarlane | 1 | -3/+3 | |
2017-08-09 | Org reader: use org-language attribute rather than data-org-language. | John MacFarlane | 1 | -9/+9 | |
2017-08-09 | Org reader: use tag-name attribute instead of data-tag-name. | John MacFarlane | 1 | -1/+1 | |
2017-08-09 | HTML reader: parse <main> like <div role=main>. (#3791) | bucklereed | 1 | -0/+15 | |
* HTML reader: parse <main> like <div role=main>. * <main> closes <p> and behaves like a block element generally | |||||
2017-08-08 | Muse writer: insert two blanklines between lists of the same type (#3844) | Alexander | 1 | -0/+73 | |
2017-08-06 | Muse reader: debug indented paragraph support (#3839) | Alexander | 1 | -6/+29 | |
Take only first line indentation into account and do not start new paragraph on indentation change. | |||||
2017-08-06 | Docx reader: Add tests for avoiding zero-level header. | Jesse Rosenthal | 1 | -0/+4 | |
2017-08-06 | Muse reader: debug list and list item separation rules (#3837) | Alexander | 1 | -0/+89 | |
2017-08-05 | LaTeX reader: plainbreak, fancybreak et al from the memoir class (#3833) | bucklereed | 1 | -0/+26 | |
2017-08-03 | Muse reader: do not allow headers in blockquotes (#3831) | Alexander Krotov | 1 | -1/+7 | |
2017-07-30 | Class: Removed unnecessary withMedia, improved haddocks. | John MacFarlane | 1 | -1/+3 | |
2017-07-21 | Added TikiWiki reader (#3800) | rlpowell | 1 | -0/+3 | |
Added TikiWiki reader, including tests and documentation. It's probably not *complete*, but it works pretty well, handles all the basics (and some not-so-basics). | |||||
2017-07-21 | Muse reader: fix reading of lists inside tags (#3802) | Alexander Krotov | 1 | -0/+28 | |
2017-07-15 | Fix docx writer test for ghc 8.2.1. | John MacFarlane | 1 | -1/+9 | |
Workaround for different behavior of Data.Unique in different ghc versions. | |||||
2017-07-15 | Rearrange docx writer roundtrip test. | John MacFarlane | 1 | -4/+4 | |
I'm hoping this gives reproducible results on ghc 8.2.1. | |||||
2017-07-14 | Refactored compareOutput in docx writer test | John MacFarlane | 1 | -7/+6 | |
2017-07-12 | Muse writer: indent lists inside <quote> with at least one space (#3795) | Alexander Krotov | 1 | -0/+11 | |
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-29 | Added parameter for user data directory to runLuaFilter. | John MacFarlane | 1 | -2/+2 | |
in Text.Pandoc.Lua. Also to pushPandocModule. This change allows users to override pandoc.lua with a file in their local data directory, adding custom functions, etc. @tarleb, if you think this is a bad idea, you can revert this. But in general our data files are all overridable. | |||||
2017-06-28 | Muse reader: parse indented blockquotes (#3769) | Alexander Krotov | 1 | -1/+6 | |
2017-06-27 | HTML reader: Use the lang value of <html> to set the lang meta value. (#3765) | bucklereed | 1 | -0/+6 | |
* HTML reader: Use the lang value of <html> to set the lang meta value. * Fix for pre-AMP environments. | |||||
2017-06-26 | Muse writer: fix hlint errors (#3764) | Alexander Krotov | 1 | -2/+2 | |
2017-06-26 | Muse reader: fix horizontal rule parsing (#3762) | Alexander Krotov | 1 | -1/+12 | |
Do not parse 3 dashes as horizontal rule and allow whitespace after rule | |||||
2017-06-25 | Muse reader: Require space before and after '=' for code (#3758) | Alexander Krotov | 1 | -0/+8 | |
2017-06-20 | Muse reader: check that headers start at the first column (#3749) | Alexander Krotov | 1 | -0/+17 | |
2017-06-19 | Muse reader: fix list item continuation parsing (#3747) | Alexander Krotov | 1 | -0/+13 | |
2017-06-19 | Added Vimwiki reader (#3705). | Yuchen Pei | 1 | -0/+4 | |
* New module Text.Pandoc.Readers.Vimwiki, exporting readVimwiki [API change]. * New input format `vimwiki`. * New data file, `data/vimwiki.css`, for displaying the HTML produced by this reader and pandoc's HTML writer in the style of vimwiki's own HTML export. |