Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-06 | hlint Muse reader and tests | Alexander Krotov | 1 | -4/+4 | |
2017-12-06 | Muse reader: don't allow emphasis to be preceded by letter | Alexander Krotov | 1 | -2/+12 | |
2017-12-05 | Muse reader: support multiline directives in Amusewiki mode | Alexander Krotov | 1 | -4/+24 | |
2017-12-04 | Markdown reader: Don't parse native div as table caption. | John MacFarlane | 1 | -1/+1 | |
Closes #4119. | |||||
2017-12-04 | Add `empty_paragraphs` extension. | John MacFarlane | 7 | -33/+52 | |
* Deprecate `--strip-empty-paragraphs` option. Instead we now use an `empty_paragraphs` extension that can be enabled on the reader or writer. By default, disabled. * Add `Ext_empty_paragraphs` constructor to `Extension`. * Revert "Docx reader: don't strip out empty paragraphs." This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b. * Implement `empty_paragraphs` extension in docx reader and writer, opendocument writer, html reader and writer. * Add tests for `empty_paragraphs` extension. | |||||
2017-12-04 | Muse reader: add underline support in Emacs Muse mode | Alexander Krotov | 1 | -1/+7 | |
2017-12-03 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-12-03 | commonmark/gfm writer: use raw html for native divs/spans. | John MacFarlane | 1 | -4/+14 | |
This allows a pandoc markdown native div or span to be rendered in gfm using raw html tags. | |||||
2017-12-03 | HTML writer: export tagWithAttributes. | John MacFarlane | 1 | -2/+19 | |
This is a helper allowing other writers to create single HTML tags. | |||||
2017-12-03 | commonmark/gfm writer: implement `raw_html` and `raw_tex` extensions. | John MacFarlane | 1 | -6/+12 | |
Note that `raw_html` is enabled by default for `gfm`, while `raw_tex` is disabled by default. | |||||
2017-12-02 | Docx writer: allow empty paragraphs. | John MacFarlane | 2 | -4/+8 | |
See #2252. This also changes fixDisplayMath from Text.Pandoc.Writers.Shared so that it no longer produces empty Para as an artifact. (That was the original reason the writer omitted them.) | |||||
2017-12-02 | Docx reader: don't strip out empty paragraphs. | John MacFarlane | 1 | -3/+1 | |
We now have the `--strip-empty-paragraphs` option for that, if you want it. Closes #2252. Updated docx reader tests. We use stripEmptyParagraphs to avoid changing too many tests. We should add new tests for empty paragraphs. | |||||
2017-12-02 | Shared.blocksToInlines: rewrote using builder. | John MacFarlane | 1 | -24/+27 | |
This gives us automatic normalization, so we don't get for example two consecutive Spaces. | |||||
2017-12-02 | Add --strip-empty-paragraphs option. | John MacFarlane | 2 | -5/+24 | |
This works for any input format. | |||||
2017-12-02 | LaTeX writer: escape `_` in code with --listings. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | LaTeX writer: allow specifying just width or height for image size. | John MacFarlane | 1 | -1/+6 | |
Previously both needed to be specified (unless the image was being resized to be smaller than its original size). If height but not width is specified, we now set width to textwidth (and similarly if width but not height is specified). Since we have keepaspectratio, this yields the desired result. | |||||
2017-12-01 | LaTeX writer: escape ~ in code with --listings. | John MacFarlane | 1 | -1/+1 | |
Closes #4111. | |||||
2017-12-01 | Revert "LaTeX writer: Add keepaspectratio to includegraphics..." | John MacFarlane | 1 | -6/+1 | |
This reverts commit 171187a4527497701b3c77bd56cea2d770d4e3b0. | |||||
2017-12-01 | Lua/StackInstances: push Pandoc and Meta via constructor | Albert Krewinkel | 1 | -7/+5 | |
Pandoc and Meta elements are now pushed by calling the respective constructor functions of the pandoc Lua module. This makes serialization consistent with the way blocks and inlines are pushed to lua and allows to use List methods with the `blocks` value. | |||||
2017-12-01 | List.lua: add missing fixes as discussed in #4099 | Albert Krewinkel | 1 | -1/+1 | |
The changes were missing due to an error while using git. | |||||
2017-11-30 | LaTeX writer: Add keepaspectratio to includegraphics... | John MacFarlane | 1 | -1/+6 | |
...if only one of height/width is given. | |||||
2017-11-29 | Support beamer `\alert` in LaTeX reader. Closes #4091. | John MacFarlane | 1 | -0/+1 | |
2017-11-29 | Let papersizes a0, a1, a2, ... be case-insensitive in LaTeX and ConTeXt. | John MacFarlane | 2 | -5/+8 | |
2017-11-29 | Muse reader: correctly remove indentation from notes | Alexander Krotov | 1 | -2/+2 | |
Exactly one space is required and considered to be part of the marker. | |||||
2017-11-28 | Add basic lua List module (#4099) | Albert Krewinkel | 1 | -5/+23 | |
The List module is automatically loaded, but not assigned to a global variable. It can be included in filters by calling `List = require 'List'`. Lists of blocks, lists of inlines, and lists of classes are now given `List` as a metatable, making working with them more convenient. E.g., it is now possible to concatenate lists of inlines using Lua's concatenation operator `..` (requires at least one of the operants to have `List` as a metatable): function Emph (emph) local s = {pandoc.Space(), pandoc.Str 'emphasized'} return pandoc.Span(emph.content .. s) end Closes: #4081 | |||||
2017-11-28 | Added --print-highlight-style option. | John MacFarlane | 1 | -1/+26 | |
This generates a JSON version of a highlighting style, which can be saved as a .theme file, modified, and used with `--highlight-style`. Closes #4106. Closes #4096. | |||||
2017-11-28 | Support `--webtex` for `gfm` output. | John MacFarlane | 2 | -9/+18 | |
2017-11-28 | make normalizeDate more forgiving (#4101) | Mauro Bieg | 1 | -1/+1 | |
also parse two-digit days, e.g. "April 20, 2017" | |||||
2017-11-27 | Fix --help output for --highlight-style to include FILE (#4098) | Mauro Bieg | 1 | -1/+1 | |
Closes #4095. | |||||
2017-11-27 | Muse reader: parse "~~" as non-breaking space in Emacs mode | Alexander Krotov | 1 | -0/+7 | |
2017-11-26 | Clearer deprecation warning for --latexmathml, --asciimathml, -m. | John MacFarlane | 1 | -1/+1 | |
Previously we only mentioned `--latexmathml`, even if `-m` was used. | |||||
2017-11-27 | Muse reader: make code blocks round trip | Alexander Krotov | 1 | -8/+16 | |
2017-11-26 | Muse reader: drop common space prefix from list items | Alexander Krotov | 1 | -11/+17 | |
2017-11-25 | Fix comment typo: s/elemnet/element/ | Alexander Krotov | 1 | -1/+1 | |
2017-11-25 | Muse reader: don't interpret XML entities | Alexander Krotov | 1 | -6/+5 | |
2017-11-25 | Muse reader: remove `nested` | Alexander Krotov | 1 | -11/+2 | |
2017-11-24 | Muse reader: parse markup in definition list terms | Alexander Krotov | 1 | -2/+4 | |
2017-11-24 | Muse reader: allow definition to end with EOF | Alexander Krotov | 1 | -1/+1 | |
2017-11-24 | Muse writer: improve inline normalization | Alexander Krotov | 1 | -0/+14 | |
2017-11-24 | Muse: move inline list normalization to writer | Alexander Krotov | 2 | -19/+13 | |
2017-11-22 | Org reader: allow empty list items | Albert Krewinkel | 2 | -45/+42 | |
Fixes: #4090 | |||||
2017-11-22 | Muse reader: allow list items to be empty | Alexander Krotov | 1 | -2/+2 | |
2017-11-22 | Muse writer: escape hash symbol | Alexander Krotov | 1 | -1/+1 | |
2017-11-22 | Muse reader: don't allow blockquotes within lists | Alexander Krotov | 1 | -1/+2 | |
2017-11-22 | Muse reader: fix reading of multiline definitions | Alexander Krotov | 1 | -2/+2 | |
2017-11-22 | Muse writer: escape "----" to avoid accidental horizontal rules | Alexander Krotov | 1 | -4/+6 | |
2017-11-22 | Muse reader: concatenate inlines of the same type | Alexander Krotov | 1 | -4/+18 | |
2017-11-22 | Muse writer: escape only </code> inside code tag | Alexander Krotov | 1 | -1/+1 | |
Additional <verbatim> is not needed as <code> is verbatim already. | |||||
2017-11-21 | Change Generic JSON instances to TemplateHaskell (#4085) | Jasper Van der Jeugt | 2 | -51/+22 | |
2017-11-21 | Add comment explaining why TH is used in Text.Pandoc.App. | John MacFarlane | 1 | -0/+2 | |