Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Clearer deprecation warning for --latexmathml, --asciimathml, -m. | John MacFarlane | 2017-11-26 |
| | | | | | Previously we only mentioned `--latexmathml`, even if `-m` was used. | ||
* | Muse reader: make code blocks round trip | Alexander Krotov | 2017-11-27 |
| | |||
* | Muse reader: drop common space prefix from list items | Alexander Krotov | 2017-11-26 |
| | |||
* | Fix comment typo: s/elemnet/element/ | Alexander Krotov | 2017-11-25 |
| | |||
* | Muse reader: don't interpret XML entities | Alexander Krotov | 2017-11-25 |
| | |||
* | Muse reader: remove `nested` | Alexander Krotov | 2017-11-25 |
| | |||
* | Muse reader: parse markup in definition list terms | Alexander Krotov | 2017-11-24 |
| | |||
* | Muse reader: allow definition to end with EOF | Alexander Krotov | 2017-11-24 |
| | |||
* | Muse writer: improve inline normalization | Alexander Krotov | 2017-11-24 |
| | |||
* | Muse: move inline list normalization to writer | Alexander Krotov | 2017-11-24 |
| | |||
* | Org reader: allow empty list items | Albert Krewinkel | 2017-11-22 |
| | | | | Fixes: #4090 | ||
* | Muse reader: allow list items to be empty | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse writer: escape hash symbol | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse reader: don't allow blockquotes within lists | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse reader: fix reading of multiline definitions | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse writer: escape "----" to avoid accidental horizontal rules | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse reader: concatenate inlines of the same type | Alexander Krotov | 2017-11-22 |
| | |||
* | Muse writer: escape only </code> inside code tag | Alexander Krotov | 2017-11-22 |
| | | | | Additional <verbatim> is not needed as <code> is verbatim already. | ||
* | Change Generic JSON instances to TemplateHaskell (#4085) | Jasper Van der Jeugt | 2017-11-21 |
| | |||
* | Add comment explaining why TH is used in Text.Pandoc.App. | John MacFarlane | 2017-11-21 |
| | |||
* | Change JSON instances for Opt to TemplateHaskell (#4083) | Jasper Van der Jeugt | 2017-11-21 |
| | | | | | | | | | | | | | | | | | | | The `Generic` JSON instances for `Text.Pandoc.App.Opt` seem to tickle a particulary bad quadratic complexity case (Generics complexity is worse than quadratic with respect to the number of fields in the datatype). This is with GHC-8.2.1, I didn't test it using 8.0 but I assume it is similar. Using `Generic`, compilation of the `Text.Pandoc.App` module takes minutes and often gets killed due to out of memory on slower machines with "only" 8GB of accessible memory. This is particularly annoying to me since it means I cannot build pandoc on Travis. TemplateHaskell is a little uglier, but the module seems to compile within a few seconds, and compilation doesn't take more than 1GB of memory. Should I also change the other JSON instances throughout the codebase for consistency? | ||
* | Muse reader: add inline <literal> support | Alexander Krotov | 2017-11-21 |
| | |||
* | Muse reader: chop newlines after <literal> and before </literal> | Alexander Krotov | 2017-11-21 |
| | |||
* | Muse reader: <literal> has "style" attribute, not "format" | Alexander Krotov | 2017-11-21 |
| | |||
* | Recognize ".muse" file extension | Alexander Krotov | 2017-11-21 |
| | |||
* | Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`. | John MacFarlane | 2017-11-19 |
| | | | | | Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in `markdown` or `html` `+tex_math_single_backslash`. | ||
* | Muse reader: count only one space as part of list item marker | Alexander Krotov | 2017-11-19 |
| | |||
* | Muse reader: produce SoftBreaks on newlines | Alexander Krotov | 2017-11-19 |
| | | | | Now wrapping can be preserved with --wrap=preserve | ||
* | HTML reader: ensure we don't produce level 0 headers, | John MacFarlane | 2017-11-18 |
| | | | | | | | | | | | | even for chapter sections in epubs. This causes problems because writers aren't set up to expect these. This fixes the most immediate problem in #4076. It would be good to think more about how to propagate the information that top-level headers are chapters from the reader to the writer. | ||
* | Lua filters: preload text module (#4077) | Albert Krewinkel | 2017-11-18 |
| | | | | | | | | | | | The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end | ||
* | Muse reader: Add Text::Amuse footnote extensions | Alexander Krotov | 2017-11-18 |
| | | | | | | Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it. | ||
* | Introduce `HasSyntaxExtensions` typeclass (#4074) | Alexander | 2017-11-16 |
| | | | | | | + Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`. + Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions` and `WriterOptions`. + Replaced `enabled` from `CommonMark.hs` with new `isEnabled`. | ||
* | Creole reader: Fix performance issue for longer lists. (#4075) | Sascha Wilde | 2017-11-15 |
| | | | Fixes #4067. | ||
* | Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters. | John MacFarlane | 2017-11-14 |
| | | | | | | | | | This fixes a bug where pandoc would stop parsing a URI with an empty attribute: for example, `&a=&b=` wolud stop at `a`. (The uri parser tries to guess which punctuation characters are part of the URI and which might be punctuation after it.) Closes #4068. | ||
* | RST reader: better support for 'container' directive. | John MacFarlane | 2017-11-14 |
| | | | | | | Create a div, incorporate name attribute and classes. Closes #4066. | ||
* | EPUB writer: Fixed path for cover image. | John MacFarlane | 2017-11-14 |
| | | | | | It was previously `media/media/imagename`, and should have been `media/imagename`. | ||
* | EPUB writer: fix paths for cover image. | John MacFarlane | 2017-11-14 |
| | | | | Closes #4069. | ||
* | LaTeX reader: allow optional arguments on `\footnote`. | John MacFarlane | 2017-11-13 |
| | | | | Closes #4062. | ||
* | Markdown writer: fix bug with doubled footnotes in grid tables. | John MacFarlane | 2017-11-13 |
| | | | | Closes #4061. | ||
* | Replace "emacs" extension with "amuse" extension | Alexander Krotov | 2017-11-13 |
| | | | | It makes clear that extension is related to Muse markup. | ||
* | Fix comment that confuses haddock. | John MacFarlane | 2017-11-12 |
| | |||
* | LaTeX reader: support column specs like `*{2}{r}`. | John MacFarlane | 2017-11-12 |
| | | | | | | This is equivalent to `rr`. We now expand it like a macro. Closes #4056. | ||
* | LaTeX reader: allow optional args for parbox. | John MacFarlane | 2017-11-12 |
| | | | | See #4056. | ||
* | Muse reader: accept Emacs Muse definition lists | Alexander Krotov | 2017-11-12 |
| | | | | Emacs Muse does not require indentation. | ||
* | Add emacs extension | Alexander Krotov | 2017-11-12 |
| | |||
* | Functor instance to fix ghc 7.8 warning. | John MacFarlane | 2017-11-11 |
| | |||
* | Add lua filter functions to walk inline and block elements. | John MacFarlane | 2017-11-11 |
| | | | | | | | Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module. | ||
* | Fixed YAML metadata with "chomp" (`|-`). | John MacFarlane | 2017-11-11 |
| | | | | | Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata. | ||
* | MediaWiki reader: hlint | Alexander Krotov | 2017-11-11 |
| | |||
* | Txt2Tags reader: hlint | Alexander Krotov | 2017-11-10 |
| |