Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 3 | -5/+30 | |
This works for any input format. | |||||
2017-12-02 | Bump to 2.0.4, update changelog. | John MacFarlane | 2 | -1/+130 | |
2017-12-02 | Update tested-with. | John MacFarlane | 1 | -1/+1 | |
2017-12-02 | LaTeX writer: escape `_` in code with --listings. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | revealjs template: added a necessary escape. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | reveal.js template: include tex2jax configuration. | John MacFarlane | 1 | -0/+12 | |
This ensures that we don't use $..$ delimiters, which gives bad results when $ is used as a currency sign. This depends on the current dev version of reveal.js. | |||||
2017-12-01 | LaTeX writer: allow specifying just width or height for image size. | John MacFarlane | 2 | -2/+7 | |
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 | 2 | -7/+2 | |
This reverts commit 171187a4527497701b3c77bd56cea2d770d4e3b0. | |||||
2017-12-01 | pandoc.lua: set metatable on List MetaValues | Albert Krewinkel | 1 | -10/+10 | |
The `List` metatable is assigned to the tables which get passed to the constructors `MetaBlocks`, `MetaInline`, and `MetaList`. This enables the use of the resulting objects as lists. This is part of the changes discussed in #4081. | |||||
2017-12-01 | Lua/StackInstances: push Pandoc and Meta via constructor | Albert Krewinkel | 3 | -7/+31 | |
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 | lua-filters.md: add documentation for pandoc.List | Albert Krewinkel | 2 | -10/+128 | |
2017-12-01 | List.lua: add missing fixes as discussed in #4099 | Albert Krewinkel | 3 | -24/+35 | |
The changes were missing due to an error while using git. | |||||
2017-11-30 | LaTeX writer: Add keepaspectratio to includegraphics... | John MacFarlane | 2 | -2/+7 | |
...if only one of height/width is given. | |||||
2017-11-30 | Use latest tagsoup. | John MacFarlane | 3 | -4/+6 | |
This fixes a bug in parsing tags with `&` following. Closes #4094. Closes #4088. | |||||
2017-11-29 | Support beamer `\alert` in LaTeX reader. Closes #4091. | John MacFarlane | 2 | -0/+7 | |
2017-11-29 | List.lua: add _VERSION to module, drop unused var | Albert Krewinkel | 1 | -4/+3 | |
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 | 2 | -2/+10 | |
Exactly one space is required and considered to be part of the marker. | |||||
2017-11-28 | Add basic lua List module (#4099) | Albert Krewinkel | 4 | -46/+174 | |
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 | Temporarily disable round-trip block test for muse reader. | John MacFarlane | 1 | -4/+6 | |
See #4107. | |||||
2017-11-28 | Added --print-highlight-style option. | John MacFarlane | 2 | -3/+36 | |
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 | Update tests for new skylighting. | John MacFarlane | 2 | -4/+8 | |
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 | Use skylighting 0.4.4.1. | John MacFarlane | 3 | -3/+3 | |
Closes #4103 (wrong color of unmarked code text when numerLines is used). | |||||
2017-11-27 | Fix --help output for --highlight-style to include FILE (#4098) | Mauro Bieg | 1 | -1/+1 | |
Closes #4095. | |||||
2017-11-27 | Travis: Use ghc 8.2.2 instead of 8.2.1. | John MacFarlane | 1 | -6/+6 | |
2017-11-27 | Travis stack nightly build: switch to ghc 8.2.2. | John MacFarlane | 1 | -1/+1 | |
2017-11-27 | Muse reader: parse "~~" as non-breaking space in Emacs mode | Alexander Krotov | 2 | -0/+10 | |
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 | 2 | -13/+41 | |
2017-11-26 | Muse reader: drop common space prefix from list items | Alexander Krotov | 2 | -11/+35 | |
2017-11-26 | Muse reader: Add partial round trip test | Alexander Krotov | 1 | -1/+28 | |
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 | 2 | -6/+7 | |
2017-11-25 | Muse reader: remove `nested` | Alexander Krotov | 1 | -11/+2 | |
2017-11-24 | Changelog: fix description of lua filters in 2.0 release | Albert Krewinkel | 1 | -1/+1 | |
Lua filters were initially run *after* conventional (JSON) filters. However, this was changed later to make it easier to deal with files in the mediabag. The changelog is updated to describe that feature of the 2.0 release correctly. | |||||
2017-11-24 | Muse reader: parse markup in definition list terms | Alexander Krotov | 2 | -2/+6 | |
2017-11-24 | Muse reader: allow definition to end with EOF | Alexander Krotov | 2 | -1/+3 | |
2017-11-24 | Muse writer: test that inline math conversion result is normalized | Alexander Krotov | 1 | -0/+1 | |
Without normalization this test produced <em>a</em><em>b</em><em>c</em> | |||||
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 | 4 | -21/+14 | |
2017-11-22 | Org reader: allow empty list items | Albert Krewinkel | 3 | -45/+54 | |
Fixes: #4090 | |||||
2017-11-22 | Muse reader: allow list items to be empty | Alexander Krotov | 2 | -2/+23 | |
2017-11-22 | Muse reader: add ordered list test | Alexander Krotov | 1 | -12/+24 | |
2017-11-22 | Muse writer: escape hash symbol | Alexander Krotov | 3 | -2/+4 | |
2017-11-22 | Muse reader: add more multiline definition tests | Alexander Krotov | 1 | -0/+25 | |
2017-11-22 | Muse reader: don't allow blockquotes within lists | Alexander Krotov | 1 | -1/+2 | |