aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-11-13Clean up stack.yaml, allow latest pandoc-citeproc.John MacFarlane1-4/+3
2018-11-13Muse writer: output tables with one column as grid tablesAlexander Krotov2-1/+13
2018-11-13Fix note on curly brace syntx for locators.John MacFarlane1-2/+2
2018-11-12Document new explicit syntax for citeproc locators.John MacFarlane1-0/+7
2018-11-12LaTeX writer: don't emit `[<+->]` unless beamer output,John MacFarlane2-2/+17
even if `writerIncremental` is True. See #5072.
2018-11-11Exactly match GitHub's identifier generating algorithm.John MacFarlane2-2/+11
See #5057.
2018-11-11stack.yaml - use latest versions of packages.John MacFarlane1-3/+3
pandoc-citeproc, HsYaml, yaml.
2018-11-11Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier.John MacFarlane15-83/+109
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057.
2018-11-11Remove `ascii_identifiers` from `githubMarkdownExtensions`.John MacFarlane2-2/+1
GitHub doesn't seem to strip non-ascii characters.
2018-11-11Clean up toIdent in CommonMark reader.John MacFarlane1-8/+9
This partially addresses #5057, fixing a bad interaction between the `ascii_identifiers` extension and the `gfm_auto_identifiers` extension, and creating identifiers that match the ones GitHub produces. This code still needs to be put somewhere common, so the `gfm_auto_identifiers` extension will work with other formats.
2018-11-11Fix CPP conditional for TH pragmaAlbert Krewinkel3-4/+4
The condition was from an earlier version.
2018-11-08Remove Functor and Applicative constraints where Monad already existsAlexander Krotov1-14/+7
2018-11-07Merge pull request #5054 from lierdakil/docx-image-bookmarksJohn MacFarlane1-26/+17
Docx image and code block bookmarks
2018-11-07Texinfo writer: add blank line before `@menu` section.John MacFarlane2-1/+10
Closes #5055.
2018-11-07T.P.App: fix regression in output format heuristicsAlbert Krewinkel1-47/+5
This fix is necessary due to a rebasing error introduced in commit 418bd42df85b93016e50ba48042804e8f51341b5
2018-11-07T.P.App: extract submodule T.P.App.FormatHeuristicsAlbert Krewinkel3-57/+96
Format guessing is used for input and output options and should be shared.
2018-11-07[Docx Writer] Add bookmarks to code blocksNikolay Yakimov1-2/+2
2018-11-07[Docx Writer] Add bookmarks to imagesNikolay Yakimov1-2/+2
2018-11-07[Docx Writer] Refactor common bookmark creation code into a functionNikolay Yakimov1-22/+13
2018-11-07ICML writer: fix missing type signature warningAlbert Krewinkel1-3/+4
2018-11-06Add command test for #5050.John MacFarlane1-0/+7
2018-11-06Text.Pandoc.Pretty: don't render BreakingSpace at end of line...John MacFarlane1-2/+9
or beginning of line. Closes #5050.
2018-11-06ICML writer: consolidate adjacent strings, inc. spaces.John MacFarlane2-143/+38
This avoids chunking up the output unnecessarily into separate elements.
2018-11-06T.P.App: extract Opt into separate moduleAlbert Krewinkel5-180/+228
The new Opt module has only a few dependencies. This is important for compile-times during development, as Template Haskell containing modules are be recompiled whenever a (transitive) dependency changes.
2018-11-06Fix typo in changelog.John MacFarlane1-1/+1
2018-11-05MANUAL.txt: remove confusing cross-links for some extensions.John MacFarlane1-4/+4
I think the text comment to look in the pandoc markdown section is enough.
2018-11-05Use DERIVE_JSON_VIA_TH in Text.Pandoc.Filter.John MacFarlane1-6/+6
Previously AVOID_TEMPLATE_HASKELL was used (with the opposite valence). I assume this was a leftover from an earlier version.
2018-11-06hlint Muse writerAlexander Krotov1-1/+1
2018-11-06Use OverloadedStrings extension to simplify Muse writer testsAlexander Krotov1-201/+203
2018-11-05MANUAL: don't put pandoc in code ticks in heading.John MacFarlane1-2/+2
2018-11-05CommonMark writer: make sure --ascii affects quotes, super/subscript.John MacFarlane1-6/+12
2018-11-05MANUAL.txt: --ascii works for gfm too.John MacFarlane1-1/+1
2018-11-05CommonMark writer: respect --ascii (#5043)quasicomputational3-8/+60
2018-11-05MANUAL.txt: added "A note on security."John MacFarlane1-0/+30
2018-11-04XML: toHtml5Entities: prefer shorter entities...John MacFarlane2-5/+12
when there are several choices for a particular character.
2018-11-05Muse writer: add support for --reference-location=Alexander Krotov2-9/+129
Address #107
2018-11-04.travis.yml: test deriving via generics with GHC 8.4Albert Krewinkel1-1/+1
2018-11-04Add cabal flag `derive_json_via_th`Albert Krewinkel5-12/+117
Disabling the flag will cause derivation of ToJSON and FromJSON instances via GHC Generics instead of Template Haskell. The flag is enabled by default, as deriving via Generics can be slow (see #4083).
2018-11-04MANUAL.txt: add `man` to `--from` options.John MacFarlane1-0/+1
2018-11-04trypandoc: tweaked drop-down lists.John MacFarlane1-7/+7
2018-11-04Revert "Trypandoc: recompile on select rather than change."John MacFarlane1-2/+2
This reverts commit f5ad280efb580fcf94fdcef108c9f7f905483ed0.
2018-11-04Trypandoc: recompile on select rather than change.John MacFarlane1-2/+2
2018-11-04trypandoc: put link to site in footer.John MacFarlane1-2/+1
2018-11-04trypandoc: preselect output format.John MacFarlane1-3/+3
2018-11-04trypandoc: update on change of in or out format.John MacFarlane1-0/+3
2018-11-04Trypandoc: add man input format.John MacFarlane1-3/+4
2018-11-03linux/Dockerfile - use resolver lts-12.12.John MacFarlane1-1/+1
2018-11-03Fix bug in linux/Dockerfile.John MacFarlane1-1/+1
2018-11-03Fix bug in linux/Dockerfile.John MacFarlane1-1/+1
2018-11-03Update man/pandoc.1.John MacFarlane1-2/+2