Commit graph

10565 commits

Author SHA1 Message Date
Jesse Rosenthal
b3fe95d721 Docx reader: Parse nested smart tags.
Make unwrapSDT into a general `unwrap` function that can unwrap both
nested SDT tags and smartTags. This makes the SmartTags constructor in
the Docx type unnecessary, so we remove it.

Closes #4446
2018-03-13 22:15:11 -04:00
John MacFarlane
17725a0661 Beamer: put hyperlink after \begin{frame}.
and not in the title.  If it's in the title, then we get
a titlebar on slides with the `plain` attribute, when
the id is non-null.  This fixes a regression from 1.9.x.

Closes #4307.
2018-03-13 10:03:51 -07:00
John Muccigrosso
f921b38869 Add instructions for background images reveal.js (#4325) 2018-03-13 09:17:46 -07:00
John MacFarlane
93228d594e appveyor: use Visual Studio 2013 instead of 2015.
Perhaps this will help with #4283.
2018-03-12 10:26:26 -07:00
Alexander Krotov
f7226a57af Docx reader: remove unused docxWarnings 2018-03-12 15:49:31 +03:00
Alexander Krotov
3ee45a7357 Muse reader: compare first rewrite to the second in round-trip test 2018-03-12 15:09:27 +03:00
Alexander Krotov
bf16a9c78a Muse reader: make parseBlocks similar to parseBlocksTill 2018-03-12 14:51:44 +03:00
Alexander Krotov
c3fbc492c8 Muse reader: require closing tag to have the same indentation as opening 2018-03-12 14:24:50 +03:00
Alexander Krotov
f0a029ac51 Muse reader: do not reparse blocks inside unclosed block tag
Fixes #4425
2018-03-12 13:44:27 +03:00
Mauro Bieg
15f700d8ed html2pdf: inject base tag wih current working directory (#4443)
fixes #4413
2018-03-11 18:21:15 -07:00
Mauro Bieg
a0da1e2723 Dokuwiki writer: fix LineBreaks in Tables (#4444)
fixes #4313
2018-03-11 18:20:36 -07:00
John MacFarlane
2f979e0684 BUmp upper bound for http-types. 2018-03-11 18:01:57 -07:00
Alexander Krotov
19fd98e452 Muse writer: support spans with anchors 2018-03-12 01:47:20 +03:00
Alexander Krotov
9bcd090848 Muse reader: parse <class> tag
<class> tag is supported by Emacs Muse
2018-03-10 07:27:41 +03:00
John MacFarlane
0bdabfb09a Ms writer: asciify pdf anchors, since unicode anchors don't work.
Closes #4436.  Internal links should be converted automatically,
so this shouldn't affect users directly.
2018-03-09 09:27:44 -08:00
John MacFarlane
ef9b8c3ede Raise error if someone tries to print docx, odt, etc. template.
Closes #4441.
2018-03-09 09:26:25 -08:00
John MacFarlane
6173c3c830 Fixed formatting of DefaultStyle ordered lists in docx writer.
We want decimal for the top level, not lower roman.
2018-03-08 10:19:23 -08:00
John MacFarlane
0e45cc1297 Bump aeson upper bound. 2018-03-07 13:18:09 -08:00
Chris Martin
b16d36397d pandoc.cabal: link to https version of the website (#4433) 2018-03-07 09:37:53 -08:00
Alexander Krotov
1884ee6083 Muse writer: replace smallcaps with emphasis before normalization 2018-03-07 20:10:19 +03:00
Alexander Krotov
ff8e59a174 Muse writer: output smallcaps as emphasis 2018-03-07 19:11:27 +03:00
Alexander Krotov
f8608b418a Muse writer: expand Cite before list normalization 2018-03-07 19:11:03 +03:00
Alexander Krotov
f8e255053d Muse writer: write empty inline lists as <verbatim></verbatim> 2018-03-07 18:35:04 +03:00
Alexander Krotov
39b31ef3cb Muse writer: remove empty Str from the beginning of inline lists during normalization 2018-03-07 16:25:15 +03:00
Alexander Krotov
1b1b6f02d5 Muse writer: escape "-" to avoid creating bullet lists 2018-03-07 15:19:36 +03:00
Alexander Krotov
b6182afcfe stack.yaml: Add skylighting-core to extra-deps 2018-03-07 14:40:59 +03:00
Alexander Krotov
4d2bf177fc Muse reader: do not produce empty Str element for unindented verse lines 2018-03-07 14:24:16 +03:00
John MacFarlane
54a6b75510 Use latest skylighting. 2018-03-06 10:57:49 -08:00
Alexander Krotov
31b4387a6b Muse writer: fix math expansion for more than one expression per paragraph 2018-03-06 12:58:20 +03:00
Nokome Bentley
7d193b2aad Remove extraneous, significant whitespace in JATS writer output (#4335)
This patch fixes some cases where the JATS writer was introducing
semantically significant whitespace by indenting and wrapping tags.
Note that the JATS spec has a content model for `<p>` tags of `(#PCDATA | ...`.
Any tag where `#PCDATA` children are possible should not have any
indentation. The same is true for `<th>`, `<td>`, `<term>`, `<label>`.
2018-03-05 09:44:34 -08:00
Felix Yan
475f46fa7c Allow tasty-quickcheck 0.10 (#4429)
Tests pass with the new test tool.
2018-03-05 09:35:16 -08:00
Alexander Krotov
7da6e4390c Muse writer: expand math before inline list normalization 2018-03-05 19:50:19 +03:00
John MacFarlane
7518e8e00e Allow skylighting 0.7.x. 2018-03-04 12:08:11 -08:00
John MacFarlane
5e6879dbf9 Update man page and date on MANUAL. 2018-03-02 20:23:53 -08:00
John MacFarlane
4d0eb27285 Update changelog. 2018-03-02 19:36:02 -08:00
John MacFarlane
987140eadc Revert "Commonmark reader: parse HTML as plain text if -raw_html."
This reverts commit 6dd2125028.
2018-03-02 19:35:22 -08:00
John MacFarlane
6dd2125028 Commonmark reader: parse HTML as plain text if -raw_html. 2018-03-02 19:30:42 -08:00
Alexander Krotov
a71a1fec69 Muse reader: fix indentation requirements for footnote continuations 2018-03-03 03:33:02 +03:00
John MacFarlane
7507117f15 Make Ext_raw_html default for commonmark format. 2018-03-02 16:30:39 -08:00
John MacFarlane
40dad9f644 Update changelog. 2018-03-02 10:59:10 -08:00
John MacFarlane
554e9b80bd Bump version to 2.1.2. 2018-03-02 10:54:03 -08:00
John MacFarlane
5823bdf560 Use latest pandoc-citeproc. 2018-03-02 10:17:26 -08:00
John MacFarlane
adefd86cd4 LaTeX reader: Fix regression in package options including underscore.
Closes #4424.
2018-03-02 09:33:18 -08:00
Alexander Krotov
991b57733c hlint Muse reader and writer 2018-03-02 19:51:54 +03:00
Alexander Krotov
a01573692a Muse reader: enable <literal> tags even if amuse extension is enabled
Amusewiki disables <literal> tags for security reasons.
If user wants similar behavior in pandoc, RawBlocks and RawInlines
can be removed or replaced with filters.
2018-03-02 12:52:39 +03:00
Alexander Krotov
64f8c5d99c Muse reader: remove space prefix from <literal> tag contents 2018-03-02 12:50:36 +03:00
Alexander Krotov
6824d0dc2c Muse writer: update writer.muse 2018-03-02 02:32:23 +03:00
Alexander Krotov
9dbd59a7c1 Muse writer: join strings during inline normalization 2018-03-02 01:45:01 +03:00
Alexander Krotov
177c5120a5 Muse reader: do not consume whitespace while looking for closing end tag
Fix for a bug caught by round-trip test.
2018-03-02 01:01:50 +03:00
Alexander Krotov
e881214bf9 Org writer: fix a typo s/prettyfy/prettify/ 2018-03-02 00:35:48 +03:00