John MacFarlane
23f964b907
Mediawiki reader: allow space around storng/emph delimiters.
...
Closes #6993 .
2020-12-30 21:31:28 -08:00
John MacFarlane
0782d5882c
Undo the "Use fromRight" hlint hint.
2020-12-30 16:04:09 -08:00
John MacFarlane
419190213a
Hlint fixes
2020-12-30 15:38:48 -08:00
John MacFarlane
ee7cef7624
Update ms table tests.
2020-12-30 13:40:11 -08:00
John MacFarlane
49286a25df
Ms writer: don't justify inside table cells.
2020-12-30 13:36:18 -08:00
John MacFarlane
ee03d86a5d
MANUAL: Document use of citations in note styles.
...
See #6828 .
2020-12-30 10:42:24 -08:00
John MacFarlane
dcbd8d326c
CircleCI: fix stack installation.
...
homebrew no longer has a bottle for haskell-stack for the
old macOS version we're building on.
2020-12-29 15:41:18 -08:00
John MacFarlane
886faa3cbc
Bump to 2.11.3.2, update changelog and man page
2020-12-29 12:48:55 -08:00
John MacFarlane
5d8b57444e
Use citeproc 0.3.0.3.
...
Fixes an issue in author-only citations when both an
author and translator are present.
2020-12-29 10:43:50 -08:00
John MacFarlane
3cd21c5f6e
Improve fix to #6983 .
...
If we have a paragraph then a bookmarkEnd, we don't need to
insert the empty paragraph (and in fact it alters the spacing).
Closes #6983 .
2020-12-29 08:44:43 -08:00
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