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
John MacFarlane
ddac7434fc
Clean up appveyor build.
...
We now use ghc 8.4.3, lts-12 for the 64-bit build.
We still use ghc 8.2, lts-11 for the 32-bit build because
of blocking bugs:
https://github.com/commercialhaskell/stackage/issues/3385
With luck this will be fixed in ghc 8.6.
Get stack from chocolatey.
Use 32-bit stack for 32-bit builds, 64-bit for 64-bit.
2018-09-06 23:12:31 -07:00
John MacFarlane
01f39c5991
stack.yaml tweaks.
...
Use a patched version of foundation until
https://github.com/haskell-foundation/foundation/pull/503
is fixed.
Use latest pandoc-citeproc.
2018-09-06 23:09:17 -07:00
Albert Krewinkel
275afec38a
Org reader: respect export option p
for planning info
...
Inclusion of planning info (*DEADLINE*, *SCHEDULED*, and *CLOSED*) can
be controlled via the `p` export option: setting the option to `t` will
add all planning information in a *Plain* block below the respective
headline.
2018-09-06 20:57:21 +02:00
Albert Krewinkel
aac3d752e1
Org reader internals: disable some GHC extensions
...
The RecordWildCards and ViewPatterns language extensions can be used to
shorten code, but usually also makes it harder to read. The DocumentTree
module was hence refactored and no longer relies on these extensions.
2018-09-06 20:53:57 +02:00
John MacFarlane
a734ed6532
MANUAL: Clarify when --resource-path
has an effect.
2018-09-06 10:07:22 -07:00
Alexander Krotov
0b7001c318
Muse reader: close the </quote> in indented tag test
...
There is already a separate test for unclosed </quote>.
2018-09-06 19:57:24 +03:00
damien clochard
efe99b5e97
Document encoding issue with --listings
( #4873 )
...
Document encoding issue with `--listings`.
Closes #4871 .
2018-09-05 09:41:48 -07:00
Albert Krewinkel
ceec26f647
Org reader: strip planning info from output
...
Planning info is parsed, but not included in the output (as is the
default with Emacs Org-mode).
Fixes : #4867
2018-09-05 17:12:54 +02:00
José de Mattos Neto
70d0ae135e
Remove unnecessary indenting of TOC title ( #4869 )
...
Fixes #4798
2018-09-04 09:48:39 -07:00
Alexander Krotov
c5572fc07e
hlint some writers
2018-09-04 11:21:13 +03:00
Alexander Krotov
bec2023265
hlint Muse writer tests
2018-09-04 11:00:44 +03:00
Alexander Krotov
66f3b00206
Remove redundant $
2018-09-04 10:53:37 +03:00
John MacFarlane
97a176aaaa
stack.yaml: use latest dev version of pandoc-citeproc.
2018-09-03 23:50:50 -07:00
John MacFarlane
952677a212
appveyor.yml : try building with lts-12.
2018-09-03 15:33:23 -07:00
John MacFarlane
870e09a215
Remove obsolete RELEASE-CHECKLIST.md.
2018-09-03 15:23:05 -07:00
Alexander Krotov
7d0bcbb1f0
Fix "new new" typo in changelog
2018-09-03 19:35:39 +03:00
Alexander Krotov
02e68859eb
Muse reader: autonumber sections in the correct order
...
Parsing now stops at each section header to ensure the
header is registered before parsing of the next section starts.
2018-09-02 17:37:19 +03:00