aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30LaTeX writer: Add keepaspectratio to includegraphics...John MacFarlane2-2/+7
...if only one of height/width is given.
2017-11-30Use latest tagsoup.John MacFarlane3-4/+6
This fixes a bug in parsing tags with `&` following. Closes #4094. Closes #4088.
2017-11-29Support beamer `\alert` in LaTeX reader. Closes #4091.John MacFarlane2-0/+7
2017-11-29List.lua: add _VERSION to module, drop unused varAlbert Krewinkel1-4/+3
2017-11-29Let papersizes a0, a1, a2, ... be case-insensitive in LaTeX and ConTeXt.John MacFarlane2-5/+8
2017-11-29Muse reader: correctly remove indentation from notesAlexander Krotov2-2/+10
Exactly one space is required and considered to be part of the marker.
2017-11-28Add basic lua List module (#4099)Albert Krewinkel4-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-28Temporarily disable round-trip block test for muse reader.John MacFarlane1-4/+6
See #4107.
2017-11-28Added --print-highlight-style option.John MacFarlane2-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-28Support `--webtex` for `gfm` output.John MacFarlane2-9/+18
2017-11-28Update tests for new skylighting.John MacFarlane2-4/+8
2017-11-28make normalizeDate more forgiving (#4101)Mauro Bieg1-1/+1
also parse two-digit days, e.g. "April 20, 2017"
2017-11-27Use skylighting 0.4.4.1.John MacFarlane3-3/+3
Closes #4103 (wrong color of unmarked code text when numerLines is used).
2017-11-27Fix --help output for --highlight-style to include FILE (#4098)Mauro Bieg1-1/+1
Closes #4095.
2017-11-27Travis: Use ghc 8.2.2 instead of 8.2.1.John MacFarlane1-6/+6
2017-11-27Travis stack nightly build: switch to ghc 8.2.2.John MacFarlane1-1/+1
2017-11-27Muse reader: parse "~~" as non-breaking space in Emacs modeAlexander Krotov2-0/+10
2017-11-26Clearer deprecation warning for --latexmathml, --asciimathml, -m.John MacFarlane1-1/+1
Previously we only mentioned `--latexmathml`, even if `-m` was used.
2017-11-27Muse reader: make code blocks round tripAlexander Krotov2-13/+41
2017-11-26Muse reader: drop common space prefix from list itemsAlexander Krotov2-11/+35
2017-11-26Muse reader: Add partial round trip testAlexander Krotov1-1/+28
2017-11-25Fix comment typo: s/elemnet/element/Alexander Krotov1-1/+1
2017-11-25Muse reader: don't interpret XML entitiesAlexander Krotov2-6/+7
2017-11-25Muse reader: remove `nested`Alexander Krotov1-11/+2
2017-11-24Changelog: fix description of lua filters in 2.0 releaseAlbert Krewinkel1-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-24Muse reader: parse markup in definition list termsAlexander Krotov2-2/+6
2017-11-24Muse reader: allow definition to end with EOFAlexander Krotov2-1/+3
2017-11-24Muse writer: test that inline math conversion result is normalizedAlexander Krotov1-0/+1
Without normalization this test produced <em>a</em><em>b</em><em>c</em>
2017-11-24Muse writer: improve inline normalizationAlexander Krotov1-0/+14
2017-11-24Muse: move inline list normalization to writerAlexander Krotov4-21/+14
2017-11-22Org reader: allow empty list itemsAlbert Krewinkel3-45/+54
Fixes: #4090
2017-11-22Muse reader: allow list items to be emptyAlexander Krotov2-2/+23
2017-11-22Muse reader: add ordered list testAlexander Krotov1-12/+24
2017-11-22Muse writer: escape hash symbolAlexander Krotov3-2/+4
2017-11-22Muse reader: add more multiline definition testsAlexander Krotov1-0/+25
2017-11-22Muse reader: don't allow blockquotes within listsAlexander Krotov1-1/+2
2017-11-22Muse reader: fix reading of multiline definitionsAlexander Krotov1-2/+2
2017-11-21Update tests for skylighting changes.John MacFarlane2-14/+14
2017-11-21Use skylighting 0.4.4.John MacFarlane3-3/+3
2017-11-22Muse writer: escape "----" to avoid accidental horizontal rulesAlexander Krotov2-4/+7
2017-11-22Muse reader: concatenate inlines of the same typeAlexander Krotov2-4/+20
2017-11-22Muse writer: escape only </code> inside code tagAlexander Krotov4-12/+10
Additional <verbatim> is not needed as <code> is verbatim already.
2017-11-21Change Generic JSON instances to TemplateHaskell (#4085)Jasper Van der Jeugt2-51/+22
2017-11-21lua-filters.md - added tikz filter example.John MacFarlane1-0/+83
2017-11-21Updated INSTALL.md since we now provide zips for binaries.John MacFarlane1-21/+12
2017-11-21Create zip for macOS package.John MacFarlane1-0/+12
2017-11-21Add comment explaining why TH is used in Text.Pandoc.App.John MacFarlane1-0/+2
2017-11-21Change JSON instances for Opt to TemplateHaskell (#4083)Jasper Van der Jeugt1-10/+6
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?
2017-11-21Relax `http-types` dependency. (#4084)Justus Sagemüller1-1/+1
2017-11-21Muse reader: add inline <literal> supportAlexander Krotov2-0/+20