Commit graph

11210 commits

Author SHA1 Message Date
Alexander Krotov
25163bfe53 Muse writer: output headers without asterisks if not on the top level 2018-09-16 09:29:08 +03:00
Chris Martin
b2cc2a2424
Fix haddock on 'Ext_footnotes' 2018-09-15 18:32:58 -04:00
John MacFarlane
6bd8037b8d
Merge pull request #4604 from mb21/yaml-file
Introduce --metadata-file option
2018-09-15 14:32:06 -07:00
Mauro Bieg
f736dea4ba Docx writer: add MetaString case for abstract, subtitle (#4905)
fixes #4900
2018-09-15 11:55:23 -07:00
John MacFarlane
f6d8df2c76 MANUAL: clarify that --biblatex/--natbib don't work directly for PDF.
Closes #4904.
2018-09-15 11:52:03 -07:00
mb21
5347e9454f add test for --metadata-file 2018-09-15 17:06:10 +02:00
mb21
6aa5fcac13 introduce --metadata-file option
closes #1960

API change: Text.Pandoc.Readers.Markdown exports now `yamlToMeta`
2018-09-15 16:48:04 +02:00
mb21
73fa70c397 Markdown Reader: factor out yamlMap 2018-09-15 14:35:04 +02:00
mb21
51c1222457 Markdown Reader: factor out yamlBsToMeta 2018-09-15 13:22:45 +02:00
mb21
700f7a141f Markdown Reader: rename yamlToMeta to yamlToMetaValue 2018-09-15 12:46:59 +02:00
mb21
bd5500ba7f add test yaml-metadata-blocks.md 2018-09-15 12:10:10 +02:00
Mauro Bieg
2bd5ba2342 MANUAL.txt epub:type attribute (#4901) 2018-09-14 10:06:49 -07:00
John MacFarlane
fd107145e6 Another try at skipping round-trip tests in CI. 2018-09-13 12:33:52 -07:00
John MacFarlane
ed2cd734eb Revert TESTPATTERN stuff from .travis.yml. 2018-09-13 12:23:15 -07:00
John MacFarlane
d944d4eeca Update stack.lts9.yaml. 2018-09-13 10:24:52 -07:00
Alexander Krotov
f8d3f3a999 Muse writer: never wrap definition list terms 2018-09-12 14:03:24 +03:00
Alexander Krotov
3f8891b26f Enable tables in HTML round trip test 2018-09-11 19:24:00 +03:00
Alexander Krotov
ca420983aa HTML reader tests: accept Blocks in round trip test 2018-09-11 19:23:46 +03:00
Alexander Krotov
0ac3512cfe Muse reader tests: accept Blocks instead of Block in round trip test
This way testcase can be shrinked better up to removing all blocks completely.
2018-09-11 14:22:09 +03:00
Alexander Krotov
1aac754359 Muse writer: set envInsideBlock = True when rendering notes 2018-09-11 14:10:20 +03:00
Alexander Krotov
e6ba0cc893 HTML writer: always output <dt> element, even if it is empty
Fixes #4883
2018-09-11 13:20:11 +03:00
Alexander Krotov
97f6833ee5 Muse writer: use "" instead of [] for empty String 2018-09-11 11:49:30 +03:00
Alexander Krotov
165a61095c Muse writer: check for whitespace in the beginning and end of Str's 2018-09-11 11:49:11 +03:00
Alexander Krotov
cb28cab489 Muse writer: escape -, ; and > in the beginning of strings 2018-09-11 11:35:25 +03:00
John MacFarlane
67bcb3d6b5 Revert test-pattern changes to .travis.yml. 2018-09-10 23:40:24 -07:00
John MacFarlane
97a13fe717 Travis: Another try on stack. 2018-09-10 23:14:11 -07:00
John MacFarlane
9f96a5e091 Travis: Fix stack build. 2018-09-10 22:56:13 -07:00
John MacFarlane
867a529189 Travis: remove --hide-successes temporarily again. 2018-09-10 21:57:52 -07:00
John MacFarlane
0f180be19b Another try. 2018-09-10 21:56:35 -07:00
John MacFarlane
ee4e658693 travis: Fix ghc version label for stack build. 2018-09-10 21:41:41 -07:00
John MacFarlane
8dcb41f1ba Revert "travis: Temporarily remove --hide-successes."
This reverts commit bf2b4f95ff.
2018-09-10 21:41:14 -07:00
John MacFarlane
bf2b4f95ff travis: Temporarily remove --hide-successes. 2018-09-10 21:34:54 -07:00
John MacFarlane
2295b60a31 Another try. 2018-09-10 21:17:51 -07:00
John MacFarlane
838bb87fba Another try. 2018-09-10 20:52:43 -07:00
John MacFarlane
3aabc96d5a Attempt to fix travis build. 2018-09-10 20:11:00 -07:00
Alexander Krotov
c899b4e89d Muse writer: escape list markers in the beginning of notes 2018-09-11 04:15:32 +03:00
John MacFarlane
ce6042fb20 Travis: exclude round-trip tests, except for nightly test which can fail. 2018-09-10 17:37:56 -07:00
Alexander Krotov
00b2b0feb6 Muse writer: normalize inline list before testing if tags should be used 2018-09-11 01:36:11 +03:00
Alexander Krotov
c2b97c4b80 Muse writer: use tags instead of lightweight markup for empty strings 2018-09-11 00:39:37 +03:00
J. B. Rainsberger
7b52d43877 Make HTML5 header easier to style precisely in default template (#4767)
Add the `title-block-header` identifier to the `header` element, to make it easier to style precisely.
2018-09-10 09:15:11 -07:00
Alexander Krotov
1b9dd3e06b Remove RawBlock from HTML round trip tests 2018-09-10 14:28:28 +03:00
Alexander Krotov
4467fe6d38 HTML reader: test round trip property 2018-09-10 12:15:27 +03:00
John MacFarlane
fa4ebd71a3 LaTeX reader: resolve \ref for figure numbers. 2018-09-09 22:53:18 -07:00
John MacFarlane
5df45fd1fe Use latest texmath. 2018-09-09 14:38:11 -07:00
John MacFarlane
0b486e8672 Org writer: don't escape literal _, ^.
Org doesn't recognize these escapes.

Closes #4882.
2018-09-09 13:11:53 -07:00
Nils Carlson
12cec8f082 Fix percentage image scaling in ODT (#4881)
Image scaling in ODT was broken when a width was set to
a percentage. The width was passed to the svg:width field
as a pecentage, which is not correct according to the ODT
standard.

Instead the real dimensions should be passed as width and
height and the style:rel-width attribute should be set to the
percentage while style:rel-heigh attribute should be set to
"scale". The converse is true if a percentage height is given.

This is now fixed and documents produced are now properly
scaled.
2018-09-07 16:37:21 -07:00
John MacFarlane
0178544ebe CONTRIBUTING.md: link to lua-filters repository.
See #4874.
2018-09-07 16:33:38 -07:00
John MacFarlane
ba09d2942a lua-filters.md: add links to filters, and to lua-filters repository.
Closes #4874.
2018-09-07 16:29:21 -07:00
John MacFarlane
a211edc819 HTML reader: parse <script type="math/tex tags as math.
These are used by MathJax.

Closes #4877.
2018-09-07 09:41:17 -07:00
John MacFarlane
6397aacdae INSTALL.md: indicate that cabal >= 2.0 is needed. 2018-09-07 09:25:48 -07:00