aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2017-11-21Added epub.md, getting-started.md to docs.John MacFarlane2-0/+470
These used to live in the website repo.
2017-11-21Muse reader: test <literal> blocksAlexander Krotov1-0/+14
2017-11-21Muse reader: chop newlines after <literal> and before </literal>Alexander Krotov1-9/+13
2017-11-21Muse reader: <literal> has "style" attribute, not "format"Alexander Krotov1-1/+2
2017-11-21Recognize ".muse" file extensionAlexander Krotov1-0/+2
2017-11-20Added 'packages' target to Makefile.John MacFarlane1-2/+5
2017-11-20Makefile - create windows binary package as zip as well as msi.John MacFarlane1-1/+11
2017-11-20Update man page.John MacFarlane1-1/+7
2017-11-20Update MANUAL dateJohn MacFarlane1-1/+1
2017-11-20Update title and authors on lua-filters.md.John MacFarlane1-3/+4
2017-11-20Update changelogJohn MacFarlane1-0/+93
2017-11-20Version to 2.0.3.John MacFarlane1-1/+1
2017-11-20data/pandoc.lua: enable table-like behavior of attributes (#4080)Albert Krewinkel3-4/+109
Attribute lists are represented as associative lists in Lua. Pure associative lists are awkward to work with. A metatable is attached to attribute lists, allowing to access and use the associative list as if the attributes were stored in as normal key-value pair in table. Note that this changes the way `pairs` works on attribute lists. Instead of producing integer keys and two-element tables, the resulting iterator function now returns the key and value of those pairs. Use `ipairs` to get the old behavior. Warning: the new iteration mechanism only works if pandoc has been compiled with Lua 5.2 or later (current default: 5.3). The `pandoc.Attr` function is altered to allow passing attributes as key-values in a normal table. This is more convenient than having to construct the associative list which is used internally. Closes #4071
2017-11-19Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`.John MacFarlane1-2/+2
Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in `markdown` or `html` `+tex_math_single_backslash`.
2017-11-19Muse reader: count only one space as part of list item markerAlexander Krotov2-24/+38
2017-11-19Muse reader: produce SoftBreaks on newlinesAlexander Krotov2-31/+41
Now wrapping can be preserved with --wrap=preserve
2017-11-18HTML reader: ensure we don't produce level 0 headers,John MacFarlane1-5/+5
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.
2017-11-18MANUAL: clarify that math extensions work with HTML.John MacFarlane1-1/+5
Clarify that `tex_math_dollars` and `tex_math_single_backslash` will work with HTML as well as Markdown.
2017-11-18Documented text module for lua-filters.John MacFarlane1-0/+37
See #4077.
2017-11-18Update man page lua filter to use text module.John MacFarlane2-4/+10
2017-11-18Updated man page version.John MacFarlane1-1/+1