wuffi
7e98562c04
Fixed table with file extensions and interpreters
...
Assigned .pl file extension to perl interpreter and .rb to ruby
2020-12-20 14:44:15 +01:00
John MacFarlane
37ba5d5dfe
Bump to 2.11.3.1 and update changelog and man page.
2020-12-18 15:29:57 -08:00
John MacFarlane
aa37970969
Use citeproc 0.3.0.1.
2020-12-18 15:08:23 -08:00
John MacFarlane
29c6089681
Remove data/templates/README.markdown.
2020-12-18 12:19:44 -08:00
John MacFarlane
35cfe2d01b
New advice for pre-commit filter.
...
Without `--diff-filter=MA` it will try to lint deletions,
and fail because the file is not present.
2020-12-18 12:18:23 -08:00
John MacFarlane
906251e623
Remove data/make-reference-files.hs.
...
I don't think this has been used for a long time.
2020-12-18 12:17:05 -08:00
John MacFarlane
f4839cc581
Remove some extraneous files in data directory.
2020-12-18 12:08:43 -08:00
John MacFarlane
757dbc637b
Improve check target to test data/ too.
2020-12-18 12:05:24 -08:00
Benjamin Wuethrich
6abe406aea
Fix typo in CONTRIBUTING.md
2020-12-18 21:00:34 +01:00
John MacFarlane
591bb2bace
Add test/writer.asciidoctor, tables.asciidoctor to extra-source-files.
2020-12-18 11:27:41 -08:00
John MacFarlane
95b15fe6d3
Remove some test files that are no longer used.
2020-12-18 11:22:29 -08:00
John MacFarlane
5d09870b9a
Remove checkdocs from lint ci.
2020-12-18 11:07:47 -08:00
John MacFarlane
2bcb063df8
Move sanity checks to lint ci.
2020-12-18 09:55:34 -08:00
John MacFarlane
b7d7c45562
Add sanity checks to all CI targets.
2020-12-18 09:48:47 -08:00
John MacFarlane
559b12ee3a
Makefile: Fix checkdocs target.
2020-12-18 09:46:20 -08:00
John MacFarlane
a45fb0ac38
Add sanity checks to ci.
2020-12-18 09:25:02 -08:00
John MacFarlane
c8c8c8b24c
Add check and check-cabal target ...
...
to check to make sure everything needed in tests will get
into the source sdist.
2020-12-18 09:23:39 -08:00
John MacFarlane
29e7fef729
Include missing jats test files in pandoc.cabal.
...
See #6961 .
2020-12-18 08:02:36 -08:00
John MacFarlane
ec0ec4af7c
Update RELEASE-CHECKLIST for CircleCI.
2020-12-17 23:47:25 -08:00
John MacFarlane
69fa3721d3
CircleCI config: add version.txt to artifacts directory.
2020-12-17 23:46:24 -08:00
John MacFarlane
d477df03b4
Makefile: remove macospkg target.
...
Now we just download the artifacts from CircleCI, and make.
2020-12-17 23:39:22 -08:00
John MacFarlane
211b6a1fc7
Remove .travis.yml and add CircleCI config.
2020-12-17 23:38:44 -08:00
John MacFarlane
b220165462
Update man page.
2020-12-17 11:19:10 -08:00
John MacFarlane
ff58237d2a
Update test with new skylighting CSS.
2020-12-17 11:10:00 -08:00
John MacFarlane
b1ca192ae2
Update changelog.
2020-12-17 11:08:24 -08:00
John MacFarlane
3689591064
Update AUTHORS
2020-12-17 11:08:18 -08:00
John MacFarlane
94d996cb21
Remove hie.yaml.
2020-12-17 10:21:21 -08:00
John MacFarlane
cbc8e06578
MANUAL: clarify that inline references take precedence ...
...
over references defined in an external bibliography.
2020-12-17 10:07:39 -08:00
John MacFarlane
9ec3d6ee97
Use skylighting 0.10.2.
...
Cloess #6625 .
2020-12-17 09:32:13 -08:00
John MacFarlane
791cb05b3e
Use released citeproc 0.3.
2020-12-16 23:57:12 -08:00
John MacFarlane
a27052da58
Use released doctemplates 0.9.
2020-12-16 23:45:23 -08:00
John MacFarlane
a1112c0da0
Add tests: True to cabal.project.
...
Hoping this fixes the odd new CI failure for cabal.
2020-12-16 21:00:46 -08:00
John MacFarlane
914cf0b602
Fix citeproc regression with duplicate references.
...
- Use dev version of citeproc, which handles duplicate
ids better, preferring the last one in the list
and discarding the rest.
- Ensure that inline citations take priority over external
ones.
See jgm/citeproc#36 .
This restores the behavior of pandoc-citeproc.
2020-12-16 15:37:40 -08:00
John MacFarlane
41577a6656
Use latest dev version of doctemplates.
2020-12-16 07:56:37 -08:00
John MacFarlane
57241e201a
Support Lua marshalling of doctemplates BoolVal.
...
This updates T.P.Lua.Marshaling.Context for doctemplates >= 0.9.
2020-12-16 07:56:07 -08:00
John MacFarlane
b4b4e32307
Properly handle boolean values in writing YAML metadata.
...
(Markdown writer.)
This requires doctemplates >= 0.9.
Closes #6388 .
2020-12-15 23:45:34 -08:00
John MacFarlane
8b872301eb
MANUAL: update --bibliography
with info about resource-path
...
and URLs.
2020-12-15 09:32:19 -08:00
John MacFarlane
594d466cd3
MANUAL.txt: Remove misleading paragraph
...
about `--resource-path`. (Note that resource-path now affects
searching for bibilographies and other resources.)
2020-12-15 09:13:19 -08:00
John MacFarlane
87033b2856
Use fetchItem to get external bibliography.
...
This means that:
- a URL may be provided, and pandoc will fetch the resource.
- Pandoc will search the resource path for the bibliography
if it is not found relative to the working directory.
Closes #6940 .
2020-12-15 09:09:51 -08:00
John MacFarlane
7d799bfcda
Allow both inline and external references to be used
...
with `--citeproc`. This fixes a regression, since pandoc-citeproc
allowed these to be combined.
Closes #6951 .
2020-12-15 08:51:43 -08:00
John MacFarlane
03c897c7ee
Merge pull request #6949 from wikey/patch-1
...
typo
2020-12-14 10:05:54 -08:00
John MacFarlane
39153ea6e2
ImageSize: use exif width and height when available.
...
After the move to JuicyPixels, we were getting incorrect
width and heigh information for some images (see #6936 , test-3.jpg).
The correct information was encoded in Exif tags that
JuicyPixels seemed to ignore. So we check these first
before looking at the Width and Height identified by
JuicyPixels.
Closes #6936 .
2020-12-14 09:39:07 -08:00
Ian Sullivan
c1fb4d3729
typo
2020-12-14 12:37:17 -05:00
John MacFarlane
c43e2dc0f4
RST writer: better image handling.
...
- An image alone in its paragraph (but not a figure) is now
rendered as an independent image, with an `alt` attribute
if a description is supplied.
- An inline image that is not alone in its paragraph will
be rendered, as before, using a substitution.
Such an image cannot have a "center", "left", or
"right" alignment, so the classes `align-center`,
`align-left`, or `align-right` are ignored.
However, `align-top`, `align-middle`, `align-bottom`
will generate a corresponding `align` attribute.
Closes #6948 .
2020-12-13 15:25:46 -08:00
John MacFarlane
32902d0fad
Merge pull request #6941 from tarleb/docx-raw
...
Docx writer: keep raw openxml strings verbatim
2020-12-13 11:08:41 -08:00
John MacFarlane
c3aa90b57a
ImageSize: use JuicyPixels to extract size...
...
...for png, jpeg, gif, instead of doing our own binary parsing.
See #6936 .
2020-12-13 10:33:46 -08:00
John MacFarlane
2ce14997ad
Require binary >= 0.7.
...
Needed for runGetOrFail.
2020-12-13 10:33:46 -08:00
John MacFarlane
ef62b70646
ImageSize: use JuicyPixels to determine png size.
2020-12-13 10:33:46 -08:00
Albert Krewinkel
00031fc809
Docx writer: keep raw openxml strings verbatim.
...
Closes : #6933
2020-12-13 14:09:59 +01:00
Albert Krewinkel
8cf58d96e0
Docx writer: use Content instead of Element.
2020-12-13 14:09:53 +01:00