aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-17Fix regression with `tex_math_backslash` in Markdown reader.John MacFarlane1-1/+1
Added regression test. Closes #7155.
2021-03-17Add test for #7155.John MacFarlane1-0/+15
2021-03-17Remove unnecessary tasty-bench from extra-depsJohn MacFarlane1-1/+0
2021-03-17Revert "Makefile: add --static to quick target"John MacFarlane1-1/+1
This reverts commit 6075b17ae11e5f1670d5d6e715431c4242dfd943.
2021-03-16Makefile: add --static to quick targetJohn MacFarlane1-1/+1
2021-03-16Disable redundant brackets check in .hlint.yaml.John MacFarlane1-8/+2
2021-03-16Increase heap space in runtime for benchmarks.John MacFarlane4-4/+8
Otherwise we're essentially benchmarking garbage collecting, which can give very inconsistent results.
2021-03-16Use -j4 for linux release build.John MacFarlane1-2/+2
2021-03-16.hlint.yaml - fix more false positives for redundant brackets.John MacFarlane1-0/+1
2021-03-16Makefile: set -j4 in default GHCOPTSJohn MacFarlane1-1/+1
2021-03-16make quick: re-use GHCOPTS for testsJohn MacFarlane1-1/+1
2021-03-16Use BENCHARGS in 'make bench'.John MacFarlane1-7/+4
2021-03-16cabal.project: remove -j, which means -j1!John MacFarlane1-1/+1
2021-03-16Update .hlint.yaml to avoid false positives on redundant brackets.John MacFarlane1-0/+2
These brackets are not redundant, it's a bug in hlint: $(deriveJSON ... )
2021-03-16Removed unused LANGUAGE pragmas.John MacFarlane2-2/+0
2021-03-16Fix benchmark CI to use gauge options.John MacFarlane1-1/+1
2021-03-16make quick: use -j4 to speed up buildJohn MacFarlane1-1/+1
2021-03-16Remove JS comment from HTML (#7154)Florian Kohrt1-1/+1
Illegal, turn into HTML comment
2021-03-16CONTRIBUTING: suggest using a `cabal.project.local` file (#7153)Albert Krewinkel1-3/+10
2021-03-15Switch to gauge for now for benchmarks.John MacFarlane3-13/+20
tasty-bench is displaying odd behavior, with different timings depending on the `--pattern` specified.
2021-03-15Force readFile in benchmarks earlyBodigrim1-6/+6
2021-03-15Add compiler timings to 'make bench'John MacFarlane1-1/+1
2021-03-15Update tests for new texmath.John MacFarlane5-6/+6
2021-03-15Require texmath 0.12.2John MacFarlane2-1/+2
2021-03-15Use doclayout 0.3.0.2.John MacFarlane1-1/+1
This further reduces time and memory needed to compile pandoc.
2021-03-15Remove an unneeded importJohn MacFarlane1-1/+0
2021-03-15Use foldl' instead of foldl everywhere.John MacFarlane16-29/+34
2021-03-14Require latest doclayout and skylighting.John MacFarlane2-5/+6
2021-03-14Handle 'nocite' better with --biblatex and --natbib.John MacFarlane2-2/+13
Previously the nocite metadata field was ignored with these formats. Now it populates a `nocite-ids` template variable and causes a `\nocite` command to be issued. Closes #4585.
2021-03-14Use latest dev version of doclayout.John MacFarlane1-3/+2
This reduces compile time/memory consumption for pandoc considerably. See jgm/doclayout#1.
2021-03-13T.P.App.FormatHeuristics: shorten code, improve docs.Albert Krewinkel1-7/+13
2021-03-13MediaWiki reader: Allow block-level content in notes (ref).John MacFarlane2-1/+21
Closes #7145.
2021-03-13Use integral values for w:tblW in docx.John MacFarlane4-1/+1
Cloess #7141.
2021-03-13Add ghcid-test to MakefileJohn MacFarlane1-0/+3
2021-03-13Use eciteproc >= 0.3.0.9John MacFarlane2-1/+2
2021-03-13stack.yaml: add jira-wiki-markup-1.3.4 to extra-depsAlbert Krewinkel1-0/+1
2021-03-13Use jira-wiki-markup 1.3.4Albert Krewinkel3-4/+3
Jira reader: * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. Jira writer: * Block quotes are only rendered as `bq.` if they do not contain a linebreak.
2021-03-13Jira reader: mark divs created from panels with class "panel".Albert Krewinkel2-2/+8
Closes: tarleb/jira-wiki-markup#2
2021-03-13Jira writer: improve div/panel handlingAlbert Krewinkel2-11/+58
Include div attributes in panels, always render divs with class `panel` as panels, and avoid nesting of panels.
2021-03-12Citeproc: apply fixLinks correctly.John MacFarlane1-5/+5
This is code that incorporates a prefix like `https://doi.org/` into a following link when appropriate. But it didn't work because we were walking with a `[Inline] -> [Inline]` function on an `Inlines`. Changed the point of application of `fixLink` to resolve the issue. Closes #7130.
2021-03-12Simplify compactDL.John MacFarlane1-13/+11
2021-03-11JATS templates: support 'equal-contrib' attrib for authorsAlbert Krewinkel3-2/+11
Authors who contributed equally to a paper may be marked with `equal-contrib`.
2021-03-10HTML writer: Add warnings on duplicate attribute values.John MacFarlane3-18/+38
This prevents emitting invalid HTML. Ultimately it would be good to prevent this in the types themselves, but this is better for now. T.P.Logging: Add DuplicateAttribute constructor to LogMessage. [API change]
2021-03-09Re-add a needed dependency for benchmark.John MacFarlane1-0/+1
2021-03-09RST reader: fix logic for ending comments.John MacFarlane2-1/+18
Previously comments sometimes got extended too far. Closes #7134.
2021-03-09Revert "Use -Wunused-packages on ghc >= 8.10."John MacFarlane1-2/+0
This reverts commit 7a1d0f01e94d115f361ead110b60174bfc732033. This option gives confusing output when a build is interrupted, suggesting that packages aren't required when we just didn't get to the model that requires them.
2021-03-09Remove some unused packages from pandoc.cabal.John MacFarlane1-4/+2
2021-03-09Use -Wunused-packages on ghc >= 8.10.John MacFarlane1-0/+2
2021-03-09Org writer: fix operator precedence mistake in previous commitAlbert Krewinkel1-1/+2
2021-03-09Org writer: prevent unintended creation of ordered list itemsAlbert Krewinkel2-4/+17
Adjust line wrapping if default wrapping would cause a line to be read as an ordered list item. Fixes #7132