John MacFarlane
55f9b59af1
Docx writer: fix nested tables with captions.
...
Previously we got unreadable content, because docx seems
to want a `<w:p>` element (even an empty one) at the end of
every table cell. Closes #6983 .
2020-12-28 14:41:28 -08:00
John MacFarlane
a7a162ea55
Update test for new citeproc and require it in cabal.
2020-12-28 14:40:23 -08:00
John MacFarlane
053db934de
Use latest citeproc release.
2020-12-28 12:09:28 -08:00
Albert Krewinkel
e837ed772e
HTML reader: use renderTags' from Text.Pandoc.Shared.
...
The `renderTags'` function was duplicated when the reader used `Text` as
its string type. The duplication is no longer necessary.
A side effect of this change is that empty `<col>` elements are written
as self-closing tags in raw HTML blocks.
2020-12-28 14:48:55 +01:00
Albert Krewinkel
8f8536abb7
MANUAL: note that textarea content is never parsed as Markdown.
2020-12-28 14:34:48 +01:00
John MacFarlane
99e1b67b74
Use meta-description instead of description in templates.
...
Since this is an attribute value, we need to prepare it
in the writer.
2020-12-27 23:19:14 -08:00
Jerry Sky
528b67df59
templates: added the description
metatag to both html4 and html5 templates ( #6982 )
...
The `description` meta tag will make the generated HTML documents more complete and SEO-friendly.
2020-12-27 23:02:28 -08:00
John MacFarlane
19d4e43605
Require texmath 0.12.1.
2020-12-27 22:57:14 -08:00
timo-a
668596cc89
Add support for writing nested tables to asciidoc ( #6972 )
...
Added field to WriterState that denotes the current nesting level for traversing tables.
Depending on the value of that field nested tables are recognized and written.
Asciidoc supports one level of nesting. If deeper tables are to be written, they are
omitted and a warning is issued.
2020-12-27 18:42:28 -08:00
Albert Krewinkel
dcd89413f3
Powerpoint writer: allow arbitrary OOXML in raw inline elements
...
The raw text is now included verbatim in the output. Previously is was parsed
into XML elements, which prevented the inclusion of partial XML snippets.
2020-12-27 23:18:54 +01:00
John MacFarlane
47f435276a
Citeproc: fix handling of empty URL variables (DOI
, etc.).
...
The `linkifyVariables` function was changing these to links
which then got treated as non-empty by citeproc, leading
to wrong results (e.g. ignoring nonempty URL when empty DOI is present).
Addresses part 2 of jgm/citeproc#41 .
2020-12-24 09:56:20 -08:00
John MacFarlane
9cbbf18fe1
HTML writer: don't include p tags in CSL bibliography entries.
...
Fixes a regression in 2.11.3.
Closes #6966
2020-12-20 22:34:31 -08:00
Albert Krewinkel
8f402beab9
LaTeX writer: support colspans and rowspans in tables. ( #6950 )
...
Note that the multirow package is needed for rowspans.
It is included in the latex template under a variable,
so that it won't be used unless needed for a table.
2020-12-20 18:04:54 -08:00
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