Igor Khorlo
3efcf2c95a
Add missing rollingLinks option to revealjs template ( #4778 )
...
Fix (add) the missing option 'rollingLinks' in reveal.js template.
2018-07-18 19:26:16 -07:00
John MacFarlane
eef8adaad8
Use 'keywords' instead of 'tags' in YAML metadata example.
...
Unlike `tags`, `keywords` is used in some of the writers
and default templates.
Closes #4779 .
2018-07-18 19:24:45 -07:00
John MacFarlane
a007cd7ad6
Bump version to 2.2.2.1.
2018-07-18 19:23:22 -07:00
John MacFarlane
d7edfbdf4d
Fix regression finding templates in user data directory.
...
Under version 2.2.1 and prior pandoc found latex templates in the
templates directory under the data directory, but this no longer
works in 2.2.2.
MANUAL says: "If the template is not found, pandoc will search for it in
the templates subdirectory of the user data directory (see `--data-dir`)."
This commit fixes the regression, which stems from 07bce91
.
Closes #4777 .
2018-07-18 18:55:12 -07:00
John MacFarlane
e1eeb663fc
Update AUTHORS.
2018-07-15 22:04:45 -07:00
John MacFarlane
ebd79b6477
Minor cabal file changes.
...
Requested by 'stack upload.'
Different format for minimum cabal version.
Use of autogen-modules.
2018-07-15 21:43:54 -07:00
John MacFarlane
cccaf33e2d
linux/Dockerfile: simplify and use new ghc 8.4.3.
2018-07-15 20:25:54 -07:00
John MacFarlane
75cf1f59ff
Update changelog.
2018-07-15 16:09:11 -07:00
John MacFarlane
af445b34d8
Make markdown and github writers respect the emoji
extension.
2018-07-15 16:02:46 -07:00
Anders Waldenborg
ec30fb37c1
Wrap emojis in span nodes ( #4759 )
...
Text.Pandoc.Emoji now exports `emojiToInline`, which returns a Span inline containing the emoji character and some attributes with metadata (class `emoji`, attribute `data-emoji` with emoji name). Previously, emojis (as supported in Markdown and CommonMark readers, e.g "😄 ")
were simply translated into the corresponding unicode code point. By wrapping them in Span
nodes, we make it possible to do special handling such as giving them a special font
in HTML output. We also open up the possibility of treating them differently when the
`--ascii` option is selected (though that is not part of this commit).
Closes #4743 .
2018-07-15 15:14:40 -07:00
John MacFarlane
ef07db6cef
Small edits in changelog.
2018-07-15 15:05:05 -07:00
John MacFarlane
67f7cec439
Update man page.
2018-07-15 14:42:58 -07:00
John MacFarlane
f44be8c08f
Bump to 2.2.2 and update changelog.
2018-07-15 13:44:43 -07:00
John MacFarlane
1579e57833
Support abbreviated units for siunitx ( #4773 ).
2018-07-15 13:35:37 -07:00
John MacFarlane
339a9e1b8b
LaTeX reader: be more forgiving in key/value option parsing.
...
We now allow arbitrary LaTeX values.
This helps with #4761 . The `\maxwidth` is still not
propagated to the latex destination, but at least we don't
choke on parsing.
2018-07-15 12:53:42 -07:00
John MacFarlane
582b4afd0e
appveyor: fixed use of --stack-yaml.
2018-07-14 18:04:26 -07:00
John MacFarlane
482a5874e9
appveyor: try using lts-11.
2018-07-14 17:51:46 -07:00
John MacFarlane
4c0d056df1
Revert "appveyor - for diagnostics, try building just aeson-pretty..."
...
This reverts commit 6aa6fb2692
.
2018-07-14 17:49:53 -07:00
John MacFarlane
6aa6fb2692
appveyor - for diagnostics, try building just aeson-pretty...
...
instead of pandoc-citeproc.
2018-07-14 17:20:47 -07:00
John MacFarlane
bc048c834a
appveyor: try with stack --no-terminal, remove verbosity.
2018-07-14 14:00:17 -07:00
John MacFarlane
241bfd2ff3
appveyor: use right option to change verbosity.
2018-07-14 13:12:00 -07:00
John MacFarlane
7e1844cc1f
appveyor: increase stack verbosity.
2018-07-14 13:05:13 -07:00
John MacFarlane
3e35292707
Revert "Try limiting to aeson-pretty-0.8.5."
...
This reverts commit ceec41072a
.
2018-07-14 12:27:07 -07:00
John MacFarlane
ceec41072a
Try limiting to aeson-pretty-0.8.5.
...
That built before on appveyor...
2018-07-14 12:10:21 -07:00
John MacFarlane
d8a0724c3f
appveyor: revert build aeson-pretty first.
2018-07-14 11:28:45 -07:00
John MacFarlane
48d7443ca9
Fix aeson flag again...
2018-07-13 17:05:05 -07:00
John MacFarlane
073a5329e5
Fix appveyor flag.
2018-07-13 16:55:52 -07:00
John MacFarlane
2e7387697e
appveyor: try building aeson-pretty first...
2018-07-13 16:39:31 -07:00
John MacFarlane
71e55f520e
Use latest network.
...
Hopefully this will build on Windows.
See https://ci.appveyor.com/project/jgm/pandoc/build/1.0.2625/job/tfpvh7rxue26phoq
2018-07-13 10:54:21 -07:00
John MacFarlane
d6cbc7ba37
Travis: Use system ghc. And use ghc-8.4.3 instead of 8.4.2.
2018-07-13 10:28:29 -07:00
John MacFarlane
23e6e8e221
Add pandoc-citeproc to stack.yaml.
2018-07-13 10:15:29 -07:00
John MacFarlane
3cdc5a02e0
Travis: Use lts-12 resolver.
2018-07-13 10:14:37 -07:00
John MacFarlane
bac79077e1
Makefile: use lts12 resolver.
2018-07-13 09:52:07 -07:00
John MacFarlane
f7485f8850
Use lts-12 for stack.yaml, add stack.lts11.yaml.
...
Also adjusted some minor versions in extra-deps.
2018-07-13 09:51:13 -07:00
John MacFarlane
b153d028ee
Add stack.lts10.yaml, switch to lts11 in stack.yaml.
2018-07-13 09:20:28 -07:00
John MacFarlane
d67a88eb12
Bump upper bound for JuicyPixels.
2018-07-13 08:10:25 -07:00
John MacFarlane
8cea6125fb
Exclude foundaiton 0.0.21 for ghc 7.10.
2018-07-12 21:59:25 -07:00
John MacFarlane
2437b6d10b
Attempt to fix latest ghc 7.10 build failure.
2018-07-12 21:46:37 -07:00
Mauro Bieg
5809d5bef2
AsciiDoc Writer: escape square brackets at start of line ( #4708 )
...
closes #4545
2018-07-12 19:37:37 +02:00
lux-lth
e56a1a3088
Translations/fr ( #4766 )
...
* Edited FR translation, Cc (Carbon Copy) translates to 'Copie carbone' : Cc
* Edited FR translation, 'Chapter' translates 'Chapitre' (typo)
* Edited FR translation, 'Figure' translates to 'Figure'
* Edited FR translation, 'Glossary' translates to 'Glossaire'
* Edited FR translation, 'to' translates to 'à'
* Edited FR translation, first letter to uppercase
* Edited FR translation, 'Table' translates to 'Tableau'
2018-07-12 19:31:38 +02:00
John MacFarlane
146555e636
PDF: revert fix for #4484 (only compress images on last run).
...
Closes #4755 .
This will mean some increase in the time it takes to
produce an image-heavy PDF with xelatex, but it will
make tables of contents correct, which is more important.
Note that the production time should also be decreased
by the previous commit, which fixed a logic error
affecting the number of runs. That change might mitigate
the effect of this one.
2018-07-06 23:51:20 +02:00
John MacFarlane
55e8cb07d0
PDF: Fix logic error in runTeXProgram.
...
We were running the tex program one more time than requested.
This should speed up pdf production.
2018-07-06 23:43:43 +02:00
Mauro Bieg
c30eada4ee
MANUAL: clarify EPUB linked media ( #4756 )
2018-07-06 23:28:33 +02:00
John MacFarlane
2737e4996c
Allow criterion 1.5.
2018-07-02 23:29:37 +02:00
Alexander Krotov
41cf6d540f
More spellcheck
2018-07-02 19:07:28 +03:00
Alexander Krotov
5479ea300a
JATS reader: fix typo ("lable" instead of "label")
2018-07-02 18:31:46 +03:00
Alexander Krotov
f6dfb632ff
Spellcheck comments
2018-07-02 18:30:37 +03:00
John MacFarlane
732e66d4c4
travis: small simplification.
2018-06-30 23:08:17 +02:00
John MacFarlane
3b2ab75712
Revert "Travis: use -j2 for dependencies installation."
...
This reverts commit ae9d9138c3
.
2018-06-30 22:35:56 +02:00
John MacFarlane
99252b3d55
Update manual for "true" YAML values.
...
Now that we're using HsYAML and YAML 1.2, the valid
true values are `true`, `True`, `TRUE`.
NOTE! `y`, `yes`, `on` no longer count as true values.
2018-06-30 12:36:27 +02:00