aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27circelci: try using -j1.John MacFarlane1-3/+3
2019-03-27Remove install step from make quick-cabal.John MacFarlane1-2/+0
2019-03-27Add ghc-options to cabal.project.John MacFarlane2-2/+4
2019-03-27Quote RTS options in stack.yaml.John MacFarlane1-1/+1
2019-03-27circleci config - remove GHC_OPTS.John MacFarlane1-5/+4
Build into stack.yaml and cabal.project.local instead.
2019-03-27Add nice default ghc options to stack.yaml.John MacFarlane1-1/+1
2019-03-27Another try at circleci config.John MacFarlane1-4/+4
2019-03-27circleci config - don't use 'all' for cabal test.John MacFarlane1-2/+2
2019-03-27circleci - ensure that config doesn't change between build and test.John MacFarlane1-3/+3
Print test output directly.
2019-03-26circleci tweak - move up cabal v2-test.John MacFarlane1-1/+1
2019-03-26circleci - explicitly specify ghc version for cabal builds.John MacFarlane1-4/+4
2019-03-26JATS writer: Ensure that plain strings go inside `<pub-id>` tag.John MacFarlane1-1/+9
See #5397.
2019-03-26circleci - set path to use installed ghc.John MacFarlane1-6/+1
2019-03-26Fixed typo in circleci config.John MacFarlane1-1/+1
2019-03-26more circleci diagnosticsJohn MacFarlane1-1/+4
2019-03-26circleci tweaks - mostly diagnostic.John MacFarlane1-20/+25
2019-03-26circleci: explicitly specify ghc version to use.John MacFarlane1-5/+7
2019-03-25LaTeX template: Add pandoc to PDF metadata (#5388)Andrew Dunning5-5/+5
Credits pandoc in content creator metadata (the default is 'LaTeX with hyperref').
2019-03-25circleci: fix typo.John MacFarlane1-1/+1
2019-03-25appveyor.yml - use ghc 8.6.4.John MacFarlane1-4/+4
Hopefully this will fix segault issues on Windows. See #5037.
2019-03-25HTML reader: read `data-foo` attribute into `foo`.John MacFarlane2-2/+3
The HTML writer adds the `data-` prefix for HTML5 for nonstandard attributes. But the attributes are represented in the AST without the `data-` prefix, so we should strip this when reading HTML. Closes #5392.
2019-03-22LaTeX template: Group graphics-related code (#5389)Andrew Dunning5-35/+18
* LaTeX template: Group graphics-related code The default figure placement was added in <https://github.com/jgm/pandoc/commit/f3ab4bc2b99e9f7f3917708a9110d6500aa051a0>; there does not appear to have been a reason for placing it at the end of the preamble. * Update tests
2019-03-22LaTeX writer: Fix footnotes in table caption and cells.John MacFarlane2-13/+55
This fixes a bug wherein footnotes appeared in the wrong order, and with duplicate numbers, when in table captions and cells. We now use regular `\footnote` commands, even in the table caption and the minipages containing cells. Apparently longtable knows how to handle this. Closes #5367.
2019-03-22fetchItem: don't treat UNC paths as protocol-relative URLs.John MacFarlane1-1/+2
These are paths beginning `//?/UNC/...`. Closes #5127.
2019-03-21LaTeX template: Move \setstretch after front matter (#5378)Andrew Dunning1-1/+3
Ensures that `\maketitle`, `\tableofcontents`, and so forth are not affected by changes to line spacing. Closes #5179 by partially working around <https://github.com/reutenauer/polyglossia/issues/218>.
2019-03-21Improve pdfSize in ImageSize by ignoring all whitespace in /MediaBox command ↵richarddavis1-1/+4
(#5383) This fix ignores all whitespace in the PDF /MediaBox line so that a wider range of PDF sizes can be read. This improves fix to #4322.
2019-03-21Docx writer: Use w:br without attributes for line breaks.John MacFarlane3-4/+1
We previously added the attribute `type="textWrapping"`, but this causes problems on Word Online. Closes #5377.
2019-03-20Improve pdfSize in ImageSize.John MacFarlane2-21/+27
Improves fix to #4322.
2019-03-18Improved fix to #5340 and added test.John MacFarlane2-2/+16
2019-03-18Improve autolink detection in LaTeX reader.John MacFarlane1-2/+2
This determines whether `\url` or `\href` is used. Closes #5340.
2019-03-17Properly escape attributes in Markdown writer.John MacFarlane2-4/+16
Closes #5369.
2019-03-17Add test case for #5368.John MacFarlane1-0/+23
2019-03-14Markdown writer: be sure implicit figures work in list contexts.John MacFarlane1-11/+13
Previously they would sometimes not work: e.g., when they occured in final paragraphs in lists that were originally parsed as Plain and converted later using PlainToPara. Closes #5368.
2019-03-14Remove clone of pandoc-citeproc.John MacFarlane1-1/+0
It wasn't being used; cabal.project specifies the version to use. Closes #5366.
2019-03-13Use cmark-gfm-0.1.8.John MacFarlane3-2/+3
2019-03-13Update changelogJohn MacFarlane1-0/+76
2019-03-13Update manual date and man page.John MacFarlane2-8/+28
2019-03-13Updated tested-with.John MacFarlane1-2/+2
2019-03-13Bump to 2.7.1John MacFarlane1-1/+1
2019-03-13Update AUTHORSJohn MacFarlane1-0/+2
2019-03-13Tests.Old: specify --data-dir=../data.John MacFarlane1-3/+2
Remove old pandoc_datadir environment variable, which doesn't do anything.
2019-03-13 LaTeX template: Improve readability (#5363)Andrew Dunning5-58/+63
+ LaTeX template: Improve template readability Use `hidelinks` option for hyperref, which has the same effect as `pdfborder={0 0 0}`, but its purpose is clearer. Use a simpler conditional for Polyglossia/Babel. Format comments more consistently. + Update tests + Remove hyperref breaklinks option. According to the documentation, hyperref sets this automatically as appropriate to the driver.
2019-03-13LaTeX reader test: Allow compilation of file (#5364)Andrew Dunning1-9/+4
The test could not compile in LaTeX due to missing `setspace` package. Remove redundant packages.
2019-03-13Revise last commit, adding an upper bound for cmark-gfm.John MacFarlane1-1/+1
2019-03-13Exclude cmark-gfm-hs 0.1.7, which is buggy.John MacFarlane1-1/+1
2019-03-12Use latest pandoc-citeproc.John MacFarlane2-2/+2
2019-03-11docx writer: avoid extra copy of abstractNum and num elements...John MacFarlane28-1/+9
...in numbering.xml. This caused pandoc-produced docx files to be uneditable using Word Online. The problem was that recent versions of reference.docx include samples of various kinds of text, including lists. The numering elements for these were getting copied over to the new docx, where they clashed with the autogenerated elements produced by pandoc. This didn't confuse Desktop Word, but it did confuse Word Online. Closes #5358.
2019-03-10LaTeX reader: support `\underline`, `\ul`, `\uline` (#5359)Paul Tilley1-0/+5
These are parsed as a Span with class `underline`, as with other readers.
2019-03-10ipynb reader: removed vestigial ReaderOptions param.John MacFarlane1-18/+16
2019-03-09Include execution output in ipynb test.John MacFarlane4-8/+29