Yihui Xie
ee44d44f20
Keep the \author{} command even if author is not specified ( #5961 )
...
Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled.
This does not affect spacing in the title block.
2019-12-05 10:22:31 -08:00
John MacFarlane
e7833c4dfb
Clean up manual on pdf generation backend options.
...
See #5940 .
2019-12-05 10:15:53 -08:00
John MacFarlane
992f77c17c
Roll back part of of --shift-heading-level-by
change.
...
With positive heading shifts, starting in 2.8 this option caused
metadata titles to be removed and changed to regular headings.
This behavior is incompatible with the old behavior of
`--base-header-level` and breaks old workflows, so with this
commit we are rolling back this change.
Now, there is an asymmetry in positive and negative heading
level shifts:
+ With positive shifts, the metadata title stays the same and
does not get changed to a heading in the body.
+ With negative shifts, a heading can be converted into the
metadata title.
I think this is a desirable combination of features, despite
the asymmetry. One might, e.g., want to have a document
with level-1 section headigs, but render it to HTML with
level-2 headings, retaining the metadata title (which pandoc
will render as a level-1 heading with the default template).
Closes #5957 .
Revises #5615 .
2019-12-05 09:59:50 -08:00
John MacFarlane
5711ca3880
Update release checklist to include code signing step.
...
This will address #5950 .
2019-12-05 09:38:13 -08:00
John MacFarlane
64f78b3d5f
HTML-based templates: Add CSS to suppress bullet on unordered task lists.
2019-12-05 09:36:34 -08:00
John MacFarlane
79a10388da
HTML writer: add task-list class to ul if all elements are task list items.
...
This will allow styling unordered task lists in a way that omits
the bullet.
2019-12-05 09:32:40 -08:00
John MacFarlane
4489283b03
Fix makeSections so it doesn't turn column divs into sections.
2019-12-05 09:17:28 -08:00
John MacFarlane
28a2a6e534
Fix regression with behavior of --variable.
...
Previously -Vfoo=1 -Vfoo=2 would produce a list value for foo;
with 2.8 it produced just '2'. This commit restores the earlier
beahvior.
Closes #5962 .
2019-12-04 17:49:12 -08:00
John MacFarlane
6c435a17cd
Move data/emoji.json to emoji.json, add to extra-source-files.
...
This doesn't really belong in data-files as it's not loaded
dynamically.
2019-12-03 16:38:19 -08:00
John MacFarlane
3afd0c7f5b
ci: remove quotes around --hide-successes.
...
These seem to cause problems in windows.
2019-11-30 21:21:42 -08:00
John MacFarlane
be826cd39e
Don't use --test-option with cabal.
...
It's only supported in later versions, apparently.
2019-11-30 12:07:35 -08:00
John MacFarlane
9ffe6bbe53
Try --test-options with cabal.
...
--test-option seems not to work (though it works with cabal 3+).
2019-11-30 11:38:09 -08:00
John MacFarlane
866114565c
Hide successes in CI tests.
...
This makes it easier to spot failures.
2019-11-30 10:39:21 -08:00
John MacFarlane
1123c9779f
Improve Makefile for signing windows release candidates.
2019-11-29 22:02:04 -08:00
John MacFarlane
ee6cf6ad6b
Add Makefile to windows release-candidate build.
...
Running 'make' in this directory will do the code signing of the msi.
2019-11-29 11:50:09 -08:00
John MacFarlane
67f5d65cd5
Add ascii_identifiers
as a supported extension for markdown
.
...
This fixes a regression in 2.8.
2019-11-29 11:27:05 -08:00
Denis Maier
83fff033fb
Update default.context ( #5946 )
...
Fix `\startcslreferences`:
- The old version had a too large skip at the beginning of the reference list => fixed that.
- Change syntax to ConTeXt conventions
2019-11-29 10:52:24 -08:00
John MacFarlane
36b4c04ffd
Use [|..|]
syntax to simplify Emoji.TH.
2019-11-27 21:50:55 -08:00
John MacFarlane
d88015e03e
Revert "Don't do parallel build with cabal."
...
This reverts commit bd175d13b6
.
2019-11-27 21:32:17 -08:00
John MacFarlane
14ed6fa141
Remove redundant import.
2019-11-27 21:32:00 -08:00
John MacFarlane
0d0ec98dd5
Generate Emoji module with TH.
...
- Add Text.Pandoc.Emoji.TH.
- Replace long literal list in Text.Pandoc.Emoji with one-liner
generating it from data/emoji.json using TH.
- Add Makefile target to download data/emoji.json.
- Remove tools/emoji.hs.
2019-11-27 21:31:53 -08:00
John MacFarlane
bd175d13b6
Don't do parallel build with cabal.
...
Hopefully this fixes the apparent OOM error on GitHub CI?
2019-11-27 20:39:05 -08:00
John MacFarlane
97387f8fac
Increase GC allocation space for compilation in cabal.project.
2019-11-27 18:49:44 -08:00
John MacFarlane
8a42ca41cf
LaTeX writer - hlint.
2019-11-27 10:04:00 -08:00
John MacFarlane
982d2f6cd3
HTML writer: hlint improvements.
2019-11-27 09:52:11 -08:00
John MacFarlane
3accc2a5cd
Removed useless cpp for old versions of blaze.
2019-11-27 09:45:00 -08:00
John MacFarlane
0f800b9d37
Removed unneeded pragma.
2019-11-27 09:40:24 -08:00
John MacFarlane
e479a88722
Bump to 2.8.0.1 and update changelog and manual.
2019-11-26 21:18:31 -08:00
John MacFarlane
ec219f911e
Use skylighting 0.8.3.
2019-11-26 10:41:43 -08:00
John MacFarlane
b4f434ae0d
Add pdf to list of output formats (--list-output-formats
).
...
Closes #5938 .
2019-11-26 09:28:05 -08:00
John MacFarlane
421ae44cdf
EPUB writer: Fix regression with `--css option.
...
Closes #5937 .
2019-11-25 17:50:27 -08:00
John MacFarlane
ce0a4f8c47
RST writers: Use grid tables for 1-column tables.
...
With simple tables, we have a clash with heading syntax.
Closes #5936 .
2019-11-25 07:31:28 -08:00
John MacFarlane
659ee98176
Add unexported Text.Pandoc.Readers.Metadata.
...
For YAML metadata parsing. A step in the direction of #5914 .
No API change.
2019-11-24 11:50:28 -08:00
John MacFarlane
da5b6d5c0b
Update man template to avoid bad wraps.
...
The contents of the .TH line cannot wrap.
Closes #5929 .
2019-11-24 09:55:04 -08:00
John MacFarlane
7fb9432ae1
Update to doctemplates 0.7.2, update template docs.
...
This adds the `nowrap` filter.
2019-11-24 09:53:45 -08:00
Alexandre Franke
a09edd1703
Add support for $toc-title$ to HTML (4 and 5) ( #5930 )
2019-11-23 17:13:23 -08:00
Ian Max Andolina
39fde70c41
Remove grffile requirement in MANUAL.txt ( #5927 )
...
See #5848 for the details.
2019-11-22 19:56:25 -08:00
John MacFarlane
4334732f3d
changelog: put readers together.
2019-11-22 17:28:54 -08:00
John MacFarlane
9cd693873b
change ordering in AUTHORS.md.
2019-11-22 17:05:12 -08:00
John MacFarlane
e19ce31639
Fix trypandoc for Text changes.
2019-11-22 09:45:10 -08:00
John MacFarlane
415ddbe228
Fix extract-changes.hs to use new changelog.md format.
2019-11-22 09:42:04 -08:00
John MacFarlane
36f02e1673
Fix extract-changes.hs so it uses stack as interpreter.
2019-11-22 09:33:32 -08:00
John MacFarlane
dc83f0173f
Fix changes_github Makefile target.
2019-11-22 09:23:14 -08:00
John MacFarlane
0cad098c53
Remove PROVISIONAL on changelog.
2019-11-22 09:17:05 -08:00
John MacFarlane
124fc40dd7
Update date on manual.
2019-11-22 07:59:52 -08:00
John MacFarlane
d5d3888865
Update changelog
2019-11-22 07:59:31 -08:00
John MacFarlane
20f8391a56
Re-add pandoc-citeproc to cabal.project.
2019-11-22 07:57:40 -08:00
Albert Krewinkel
d948e13fea
Jira writer: improve escaping of special chars ( #5925 )
...
Backslash-escaping is used instead of HTML entities, as escaped
characters are easier to read this way. Furthermore, Confluence, which
seems to use a subset of Jira markup, seems to get confused by HTML
entities.
2019-11-22 07:57:24 -08:00
John MacFarlane
138d0b1b3e
Use released pandoc-citeproc 0.16.4.
2019-11-21 21:40:35 -08:00
John MacFarlane
cac01f45bb
Update changelog
2019-11-21 17:14:08 -08:00