Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-11-12 | LaTeX writer: don't emit `[<+->]` unless beamer output, | John MacFarlane | 1 | -2/+3 | |
even if `writerIncremental` is True. See #5072. | |||||
2018-11-11 | Exactly match GitHub's identifier generating algorithm. | John MacFarlane | 1 | -2/+7 | |
See #5057. | |||||
2018-11-11 | Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier. | John MacFarlane | 13 | -70/+81 | |
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-11 | Remove `ascii_identifiers` from `githubMarkdownExtensions`. | John MacFarlane | 1 | -1/+0 | |
GitHub doesn't seem to strip non-ascii characters. | |||||
2018-11-11 | Clean up toIdent in CommonMark reader. | John MacFarlane | 1 | -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-11 | Fix CPP conditional for TH pragma | Albert Krewinkel | 3 | -4/+4 | |
The condition was from an earlier version. | |||||
2018-11-08 | Remove Functor and Applicative constraints where Monad already exists | Alexander Krotov | 1 | -14/+7 | |
2018-11-07 | Merge pull request #5054 from lierdakil/docx-image-bookmarks | John MacFarlane | 1 | -26/+17 | |
Docx image and code block bookmarks | |||||
2018-11-07 | Texinfo writer: add blank line before `@menu` section. | John MacFarlane | 1 | -1/+2 | |
Closes #5055. | |||||
2018-11-07 | T.P.App: fix regression in output format heuristics | Albert Krewinkel | 1 | -47/+5 | |
This fix is necessary due to a rebasing error introduced in commit 418bd42df85b93016e50ba48042804e8f51341b5 | |||||
2018-11-07 | T.P.App: extract submodule T.P.App.FormatHeuristics | Albert Krewinkel | 2 | -57/+95 | |
Format guessing is used for input and output options and should be shared. | |||||
2018-11-07 | [Docx Writer] Add bookmarks to code blocks | Nikolay Yakimov | 1 | -2/+2 | |
2018-11-07 | [Docx Writer] Add bookmarks to images | Nikolay Yakimov | 1 | -2/+2 | |
2018-11-07 | [Docx Writer] Refactor common bookmark creation code into a function | Nikolay Yakimov | 1 | -22/+13 | |
2018-11-07 | ICML writer: fix missing type signature warning | Albert Krewinkel | 1 | -3/+4 | |
2018-11-06 | Text.Pandoc.Pretty: don't render BreakingSpace at end of line... | John MacFarlane | 1 | -2/+9 | |
or beginning of line. Closes #5050. | |||||
2018-11-06 | ICML writer: consolidate adjacent strings, inc. spaces. | John MacFarlane | 1 | -15/+15 | |
This avoids chunking up the output unnecessarily into separate elements. | |||||
2018-11-06 | T.P.App: extract Opt into separate module | Albert Krewinkel | 4 | -180/+227 | |
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-05 | Use DERIVE_JSON_VIA_TH in Text.Pandoc.Filter. | John MacFarlane | 1 | -6/+6 | |
Previously AVOID_TEMPLATE_HASKELL was used (with the opposite valence). I assume this was a leftover from an earlier version. | |||||
2018-11-06 | hlint Muse writer | Alexander Krotov | 1 | -1/+1 | |
2018-11-05 | CommonMark writer: make sure --ascii affects quotes, super/subscript. | John MacFarlane | 1 | -6/+12 | |
2018-11-05 | CommonMark writer: respect --ascii (#5043) | quasicomputational | 1 | -1/+18 | |
2018-11-04 | XML: toHtml5Entities: prefer shorter entities... | John MacFarlane | 1 | -3/+10 | |
when there are several choices for a particular character. | |||||
2018-11-05 | Muse writer: add support for --reference-location= | Alexander Krotov | 1 | -6/+44 | |
Address #107 | |||||
2018-11-04 | Add cabal flag `derive_json_via_th` | Albert Krewinkel | 4 | -12/+110 | |
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-03 | AsciiDoc writer: prevent illegal nestings. | John MacFarlane | 1 | -1/+9 | |
In asciidoc you can only have level n+1 headers directly under level n headers. | |||||
2018-11-03 | AsciiDoc writer: use single-line section headers. | John MacFarlane | 1 | -29/+9 | |
The underline style is now deprecated. Previously `--atx-headers` would enable the single-line style; now the single-line style is always used. Closes #5038. | |||||
2018-11-03 | Vimwiki reader: parse Text without converting to [Char] | Alexander Krotov | 1 | -4/+3 | |
2018-11-03 | Creole reader: parse Text without converting to [Char] | Alexander Krotov | 1 | -4/+3 | |
2018-11-03 | Make readWithM accept Text input as well as String (API change) | Alexander Krotov | 1 | -12/+6 | |
2018-11-03 | Add Text.Pandoc.Shared.ToString typeclass (API change) | Alexander Krotov | 1 | -0/+12 | |
2018-11-03 | App: extract output settings into module | Albert Krewinkel | 3 | -204/+347 | |
2018-11-03 | App: extract command line options to separate module | Albert Krewinkel | 2 | -1035/+1099 | |
2018-11-02 | Man reader: table improvements. | John MacFarlane | 1 | -6/+7 | |
2018-11-02 | Man reader: allow .SS to have blank contents. | John MacFarlane | 1 | -1/+1 | |
2018-11-02 | Roff reader: Don't require global table options. | John MacFarlane | 1 | -2/+2 | |
2018-11-02 | Roff reader: tbl improvements. | John MacFarlane | 1 | -1/+2 | |
2018-11-02 | Roff reader: Handle 'H' modifier after '.TS'. | John MacFarlane | 1 | -3/+2 | |
2018-11-02 | Roff reader: conditionals: allow .\} to end group. | John MacFarlane | 1 | -3/+4 | |
2018-11-02 | Roff reader: reinstate column check for macros. | John MacFarlane | 1 | -10/+16 | |
If .TS occurs in a table cell, this shouldn't start a table. We make an exception for the line after .if or .ie. | |||||
2018-11-02 | Roff reader: another fix for conditionals. | John MacFarlane | 1 | -1/+1 | |
2018-11-02 | Roff reader: fixed small issue with conditionals. | John MacFarlane | 1 | -3/+1 | |
2018-11-02 | Roff reader: Improved handling of custom strings as arguments. | John MacFarlane | 1 | -6/+6 | |
Added test. | |||||
2018-11-02 | Roff reader: expand strings in font commands. | John MacFarlane | 1 | -12/+26 | |
Closes #5039. | |||||
2018-11-02 | Revert "Revert "Revert "Roff reader: custom Stream type.""" | John MacFarlane | 1 | -51/+27 | |
This reverts commit 9a0333e48917308f15d5ccda246dd31525501f79. | |||||
2018-11-02 | Fix readWithM with Stream. | John MacFarlane | 2 | -5/+3 | |
2018-11-02 | Revert "Revert "Roff reader: custom Stream type."" | John MacFarlane | 1 | -27/+51 | |
This reverts commit a64063af62351cc31006a855a59df884e0892834. | |||||
2018-11-02 | Revert "Roff reader: custom Stream type." | John MacFarlane | 1 | -51/+27 | |
This reverts commit 211f7ffc78ea1df49a685ac1160fa3942b3a3569. We were getting stack overflows. Not sure why. | |||||
2018-11-02 | Roff reader: custom Stream type. | John MacFarlane | 1 | -27/+51 | |
So far, this is just a shell. But it will allow us to expand macro strings while getting tokens, when we add a custom uncons instance. | |||||
2018-11-02 | T.P.Parsing: Generalize readWithM to any Char Stream. | John MacFarlane | 1 | -5/+12 | |
[API change] |