John MacFarlane
3ecc8d154b
Drop support for ghc < 8.
2019-03-27 11:38:24 -07:00
John MacFarlane
a43c0bf54b
CONTRIBUTING: replace reference to travis with circleci.
2019-03-27 11:27:56 -07:00
John MacFarlane
a0397bae98
circleci: back to -j2.
2019-03-27 11:26:41 -07:00
John MacFarlane
f5f8f903e1
circleci: recognize both Warning: and warning:.
2019-03-27 11:24:50 -07:00
John MacFarlane
3c88a2bf60
circelci: try using -j1.
2019-03-27 10:39:25 -07:00
John MacFarlane
53fd8e02af
Remove install step from make quick-cabal.
2019-03-27 10:06:55 -07:00
John MacFarlane
9e63924f28
Add ghc-options to cabal.project.
2019-03-27 09:36:52 -07:00
John MacFarlane
03293a4ac4
Quote RTS options in stack.yaml.
2019-03-27 09:36:27 -07:00
John MacFarlane
ec99e9de56
circleci config - remove GHC_OPTS.
...
Build into stack.yaml and cabal.project.local instead.
2019-03-27 09:24:17 -07:00
John MacFarlane
9e876fb568
Add nice default ghc options to stack.yaml.
2019-03-27 09:22:24 -07:00
John MacFarlane
44ef31b2ae
Another try at circleci config.
2019-03-27 09:02:40 -07:00
John MacFarlane
8358f6b94e
circleci config - don't use 'all' for cabal test.
2019-03-27 08:10:42 -07:00
John MacFarlane
2c3b8cd6d2
circleci - ensure that config doesn't change between build and test.
...
Print test output directly.
2019-03-27 07:31:15 -07:00
John MacFarlane
218565b229
circleci tweak - move up cabal v2-test.
2019-03-26 22:44:05 -07:00
John MacFarlane
d086a190d5
circleci - explicitly specify ghc version for cabal builds.
2019-03-26 22:25:44 -07:00
John MacFarlane
542272a52a
JATS writer: Ensure that plain strings go inside <pub-id>
tag.
...
See #5397 .
2019-03-26 21:43:59 -07:00
John MacFarlane
30a5099783
circleci - set path to use installed ghc.
2019-03-26 21:35:24 -07:00
John MacFarlane
8b22326b0d
Fixed typo in circleci config.
2019-03-26 21:01:51 -07:00
John MacFarlane
825ca61e60
more circleci diagnostics
2019-03-26 14:14:01 -07:00
John MacFarlane
7bd32d70a6
circleci tweaks - mostly diagnostic.
2019-03-26 13:56:49 -07:00
John MacFarlane
af7486cc6d
circleci: explicitly specify ghc version to use.
2019-03-26 11:39:41 -07:00
Andrew Dunning
c21db81efd
LaTeX template: Add pandoc to PDF metadata ( #5388 )
...
Credits pandoc in content creator metadata (the default is 'LaTeX with hyperref').
2019-03-25 22:36:14 -06:00
John MacFarlane
dab896720c
circleci: fix typo.
2019-03-25 09:32:43 -07:00
John MacFarlane
06f2bb02ad
appveyor.yml - use ghc 8.6.4.
...
Hopefully this will fix segault issues on Windows.
See #5037 .
2019-03-25 08:58:44 -07:00
John MacFarlane
052684712b
HTML reader: read data-foo
attribute into foo
.
...
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-25 08:43:59 -07:00
Andrew Dunning
e91af0a8a3
LaTeX template: Group graphics-related code ( #5389 )
...
* LaTeX template: Group graphics-related code
The default figure placement was added in <f3ab4bc2b9
>; there does not appear to have been a reason for placing it at the end of the preamble.
* Update tests
2019-03-22 22:35:55 -06:00
John MacFarlane
1e60776226
LaTeX writer: Fix footnotes in table caption and cells.
...
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-22 11:55:41 -07:00
John MacFarlane
97acf152e0
fetchItem: don't treat UNC paths as protocol-relative URLs.
...
These are paths beginning `//?/UNC/...`. Closes #5127 .
2019-03-22 11:22:21 -07:00
Andrew Dunning
b3473df417
LaTeX template: Move \setstretch after front matter ( #5378 )
...
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-21 23:32:52 -06:00
richarddavis
567a43ace3
Improve pdfSize in ImageSize by ignoring all whitespace in /MediaBox command ( #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-21 10:43:56 -06:00
John MacFarlane
66e5f0ff8d
Docx writer: Use w:br without attributes for line breaks.
...
We previously added the attribute `type="textWrapping"`, but
this causes problems on Word Online.
Closes #5377 .
2019-03-21 09:28:16 -07:00
John MacFarlane
957314143f
Improve pdfSize in ImageSize.
...
Improves fix to #4322 .
2019-03-20 12:25:09 -07:00
John MacFarlane
6be8f4e953
Improved fix to #5340 and added test.
2019-03-18 16:53:36 -07:00
John MacFarlane
c57649956d
Improve autolink detection in LaTeX reader.
...
This determines whether `\url` or `\href` is used.
Closes #5340 .
2019-03-18 16:41:06 -07:00
John MacFarlane
3880a23de9
Properly escape attributes in Markdown writer.
...
Closes #5369 .
2019-03-17 18:15:47 -07:00
John MacFarlane
ebd7035a2a
Add test case for #5368 .
2019-03-17 18:02:59 -07:00
John MacFarlane
8632526fc2
Markdown writer: be sure implicit figures work in list contexts.
...
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-14 21:43:25 -07:00
John MacFarlane
16bf907252
Remove clone of pandoc-citeproc.
...
It wasn't being used; cabal.project specifies the version to use.
Closes #5366 .
2019-03-14 10:11:11 -07:00
John MacFarlane
cdad322a98
Use cmark-gfm-0.1.8.
2019-03-13 21:16:51 -07:00
John MacFarlane
838dc8a4cc
Update changelog
2019-03-13 21:07:56 -07:00
John MacFarlane
3862565132
Update manual date and man page.
2019-03-13 20:59:25 -07:00
John MacFarlane
1749a5924b
Updated tested-with.
2019-03-13 20:58:54 -07:00
John MacFarlane
28394f8d8c
Bump to 2.7.1
2019-03-13 20:57:58 -07:00
John MacFarlane
68c449591e
Update AUTHORS
2019-03-13 20:57:41 -07:00
John MacFarlane
5b385d2e66
Tests.Old: specify --data-dir=../data.
...
Remove old pandoc_datadir environment variable, which
doesn't do anything.
2019-03-13 17:44:07 -07:00
Andrew Dunning
bbe2da390e
LaTeX template: Improve readability ( #5363 )
...
+ 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-13 18:22:28 -06:00
Andrew Dunning
8d58c61702
LaTeX reader test: Allow compilation of file ( #5364 )
...
The test could not compile in LaTeX due to missing `setspace` package. Remove redundant packages.
2019-03-13 18:21:00 -06:00
John MacFarlane
514a729946
Revise last commit, adding an upper bound for cmark-gfm.
2019-03-13 15:51:41 -07:00
John MacFarlane
1e4bc70280
Exclude cmark-gfm-hs 0.1.7, which is buggy.
2019-03-13 15:48:40 -07:00
John MacFarlane
12e36ba827
Use latest pandoc-citeproc.
2019-03-12 23:27:45 -07:00