aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-16Introduce `HasSyntaxExtensions` typeclass (#4074)Alexander2-15/+20
+ 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`.
2017-11-15Creole reader: Fix performance issue for longer lists. (#4075)Sascha Wilde1-1/+1
Fixes #4067.
2017-11-14Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters.John MacFarlane2-1/+10
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.
2017-11-14RST reader: better support for 'container' directive.John MacFarlane1-1/+3
Create a div, incorporate name attribute and classes. Closes #4066.
2017-11-14EPUB writer: Fixed path for cover image.John MacFarlane1-1/+1
It was previously `media/media/imagename`, and should have been `media/imagename`.
2017-11-14EPUB writer: fix paths for cover image.John MacFarlane1-2/+2
Closes #4069.
2017-11-14LaTeX template: include natbib/biblatex after polyglossia.John MacFarlane1-10/+10
Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073.
2017-11-13LaTeX reader: allow optional arguments on `\footnote`.John MacFarlane2-2/+8
Closes #4062.
2017-11-13Markdown writer: fix bug with doubled footnotes in grid tables.John MacFarlane2-12/+36
Closes #4061.
2017-11-13Replace "emacs" extension with "amuse" extensionAlexander Krotov4-11/+12
It makes clear that extension is related to Muse markup.
2017-11-12More efficient wordcount.lua example.John MacFarlane1-2/+1
2017-11-12lua-filters.md: add wordcount example.John MacFarlane1-0/+47
2017-11-12Fix comment that confuses haddock.John MacFarlane1-1/+1
2017-11-12Improve handout example.John MacFarlane1-2/+5
2017-11-12Fixed typo in lua-filters exmaple.John MacFarlane1-1/+1
2017-11-12lua-filters.md doc: Added handout example.John MacFarlane1-0/+21
2017-11-12LaTeX reader: support column specs like `*{2}{r}`.John MacFarlane2-4/+27
This is equivalent to `rr`. We now expand it like a macro. Closes #4056.
2017-11-12LaTeX reader: allow optional args for parbox.John MacFarlane2-1/+12
See #4056.
2017-11-12README: fixed link.John MacFarlane1-2/+2
2017-11-12Muse reader: accept Emacs Muse definition listsAlexander Krotov2-1/+14
Emacs Muse does not require indentation.
2017-11-12Add emacs extensionAlexander Krotov1-0/+1
2017-11-12Fix a typo: "uisng" -> "using"Alexander Krotov1-1/+1
2017-11-11Functor instance to fix ghc 7.8 warning.John MacFarlane1-1/+1
2017-11-11Update changelog.John MacFarlane1-0/+62
2017-11-11Require latest pandoc-types.John MacFarlane1-2/+2
2017-11-11Fixed URIs in jats.csl.John MacFarlane1-4/+1
They were being rendered twice, leading to invalid XML.
2017-11-11lua-filters.md: use real-world man page filter as example.John MacFarlane1-4/+17
2017-11-11Bump to 2.0.2.John MacFarlane1-1/+1
2017-11-11Use lua filter to generate man page from MANUAL.John MacFarlane7-321/+281
Instead of three Haskell filters. This is easier and faster.
2017-11-11Add lua filter functions to walk inline and block elements.John MacFarlane5-149/+241
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.
2017-11-11Use pandoc-types 1.17.3John MacFarlane2-2/+2
2017-11-11MANUAL: update date.John MacFarlane1-1/+1
2017-11-11Fixed YAML metadata with "chomp" (`|-`).John MacFarlane2-2/+14
Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata.
2017-11-11MediaWiki reader: hlintAlexander Krotov1-13/+13
2017-11-10Txt2Tags reader: hlintAlexander Krotov1-27/+25
2017-11-10Vimwiki reader: hlintAlexander Krotov1-17/+17
2017-11-09Removed etc. from abbreviations file.John MacFarlane1-1/+0
Reason: often etc. ends a sentence, and we want the . to be treated as a sentence-ending period.
2017-11-09Allow fenced code blocks to be indented 1-3 spaces.John MacFarlane2-2/+26
This brings our handling of them into alignment with CommonMark's. Closes #??.
2017-11-10HTML reader: hlintAlexander Krotov1-31/+30
2017-11-09MANUAL: fix header level of "Extension: emoji"Albert Krewinkel1-1/+1
The level of the "Extension: `emoji`" heading is reduced from 5 to 4 to conform with the other extension headings.
2017-11-08Fix regression with --metadata.John MacFarlane2-4/+24
It should replace a metadata value set in the document itself, rather than creating a list including a new value. Closes #4054.
2017-11-08EPUB writer: fixed modified paths for raw HTML tagsJohn MacFarlane1-2/+2
(src, poster, etc.) This had not been updated for the new EPUB container layout, with a separate text/ subdirectory. Closes #4050. Closes #4055.
2017-11-08Change to using pandoc-citeproc 0.12.1 in binary packages.John MacFarlane1-1/+1
2017-11-08Remove stack.full.yaml.John MacFarlane1-25/+0
See #4052.
2017-11-07Deprecated ancient HTML math methods.John MacFarlane2-34/+47
`--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`
2017-11-07MANUAL: consolidate math documentation (#4049)Mauro Bieg1-85/+66
2017-11-07EPUB writer: fixed EPUB OCF structure.John MacFarlane1-65/+82
The structure of the EPUBs was messed up, and #3720 was improperly implemented. This commit fixes things.
2017-11-07EPUB writer: fix image paths with empty `--epub-subdirectory`.John MacFarlane1-3/+9
2017-11-06s/suppport/support/Alexander Krotov2-4/+4
2017-11-06Spellcheck commentsAlexander Krotov2-6/+6