Commit graph

11230 commits

Author SHA1 Message Date
John MacFarlane
4cae4d9a33 appveyor - added refreshenv. 2018-09-25 09:16:18 -07:00
John MacFarlane
ca0f34caab appveyor - install cabal separately. 2018-09-25 09:09:12 -07:00
John MacFarlane
228a740faf appveyor - further tweaks, comment out stack build for now. 2018-09-25 08:54:54 -07:00
John MacFarlane
c37fbd3a61 More appveyor tweaks. 2018-09-25 08:09:15 -07:00
John MacFarlane
b115deba2a appveyor.yml - another try. 2018-09-24 23:47:22 -07:00
John MacFarlane
828f51fd4a Revert "appveyor - comment out 64-bit build for now, add semicolons."
This reverts commit 50294050b2.
2018-09-24 23:38:42 -07:00
John MacFarlane
50294050b2 appveyor - comment out 64-bit build for now, add semicolons. 2018-09-24 23:31:25 -07:00
John MacFarlane
59ec31b942 appveyor - remove stack i386 build. 2018-09-24 22:50:51 -07:00
John MacFarlane
cf14c2be33 appveyor - another attempt. 2018-09-24 21:01:41 -07:00
John MacFarlane
34eac93240 Revert "appveyor: Try without echo "" hack."
This reverts commit 6315e8b6c3.
2018-09-24 15:57:46 -07:00
John MacFarlane
6315e8b6c3 appveyor: Try without echo "" hack. 2018-09-24 15:49:52 -07:00
John MacFarlane
9fa66d0b88 appveyor - fix typo. 2018-09-24 15:33:50 -07:00
John MacFarlane
7a9129ef48 appveyor - use ps. 2018-09-24 15:33:12 -07:00
John MacFarlane
a72aed27e2 appveyor.yml - another tweak. 2018-09-24 14:37:56 -07:00
John MacFarlane
dc062e3d31 appveyor.yml - fix env variables. 2018-09-24 14:04:56 -07:00
John MacFarlane
c307bfb953 appveyor.yml - use proper windows conditional syntax. 2018-09-24 12:45:38 -07:00
John MacFarlane
ee02820816 Fix appveyor.yaml env variable. 2018-09-24 12:19:42 -07:00
John MacFarlane
c2105b891b stack.yamls: use latest hslua. 2018-09-24 11:55:37 -07:00
John MacFarlane
5bf5834104 appveyor.yml - try adding cabal 8.6.1.1 build. 2018-09-24 11:54:09 -07:00
Albert Krewinkel
56fe5b559e
Use hslua v1.0.0 2018-09-24 20:11:27 +02:00
John MacFarlane
0272e63527
Merge pull request #4921 from pyssling/master
ODT Writer: Improve table header row style handling
2018-09-24 10:01:21 -07:00
John MacFarlane
259d6f4f10
Merge pull request #4931 from ajscholl/master
RTF writer: Fix build failure with ghc-8.6.1 caused by missing MonadFail instance.
2018-09-24 09:45:39 -07:00
Jonas Scholl
f15c8d1ab4 RTF writer: Fix build failure with ghc-8.6.1 caused by missing MonadFail instance. 2018-09-24 14:58:26 +02:00
Alexander Krotov
cd610da8cc Muse reader: replace inlineList with inline' 2018-09-24 14:37:54 +03:00
Alexander Krotov
6d16ea9c76 Muse reader: replace optionMaybe and fromMaybe with option 2018-09-24 10:57:45 +03:00
Nils Carlson
ce6e9e8817 ODT Writer: Improve table header row style handling
This changes the way styles for cells in the header row
and normal rows are handled in ODT tables.

Previously a new (but identical) style was generated for
every table, specifying the style of the cells within the table.

After this change there are two style definitions for table cells,
one for the cells in the header row, one for all other cells.

This doesn't change the actual styles, but makes post-processing
changes to the table styles much simpler as it is no longer
necessary to introduce new styles for header rows and there are
now only two styles where there was previously one per table.
2018-09-23 22:04:32 +00:00
John MacFarlane
4bc2b7eb5b LaTeX writer: fix a use of last that might take empty list.
If you ran with `--biblatex` and have an empty document (metadata
but no blocks), pandoc would previously raise an error because
of the use of `last` on an empty list.
2018-09-22 20:40:59 -07:00
John MacFarlane
0bd27608a6
Merge pull request #4927 from tie/patch-1
Translations/ru
2018-09-22 16:26:43 -07:00
John MacFarlane
5baea569c7 Update changelog. 2018-09-22 16:24:31 -07:00
Ivan Trubach
9f4406023f
Translations/ru
I suppose that you copy-pasted the Russian translations from babel[1] package. Actually, it has two versions — `captionsrussian@ancient` and `captionsrussian@modern`, the former contains translations for the pre-revolution (1918) orthography.

[1]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/babel-contrib/russian/russianb.ldf
2018-09-22 22:21:56 +03:00
Alexander Krotov
389ffa3045 Muse reader tests: more tests
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs.
2018-09-22 20:28:11 +03:00
Alexander Krotov
111e6ffa55 Muse reader: simplify tag parsers 2018-09-21 14:01:43 +03:00
Alexander Krotov
3067e57bd4 Muse reader: use isAlphaNum instead of isLetter and isDigit 2018-09-21 13:10:20 +03:00
Alexander Krotov
dd5d234c6a Muse reader: do not allow code markup to be followed by digit 2018-09-21 13:07:56 +03:00
Alexander Krotov
ca0bb5123e Muse reader: simplify ordered list parsing 2018-09-21 13:00:15 +03:00
Alexander Krotov
23725f3a20 Muse reader: rewrite headingStart in applicative style
and remove heading level limit
2018-09-21 12:26:29 +03:00
Alexander Krotov
e26313dd62 Muse reader: refactoring 2018-09-21 11:50:51 +03:00
John MacFarlane
b7b93d7609 Fix compiler warning. 2018-09-20 21:29:08 -07:00
Alexander Krotov
f57a8aa655 Muse reader: simplify <literal> tag parsers 2018-09-21 05:45:16 +03:00
Alexander Krotov
095fff7da1 Muse reader: cleanup and conversion to applicative style 2018-09-21 03:03:20 +03:00
Alexander Krotov
fedf1f213f Muse reader: simplify lchop 2018-09-21 02:57:06 +03:00
John MacFarlane
37c6f6adfe RST reader: fix bug with internal link targets.
They were gobbling up indented content underneath.
Closes #4919.
2018-09-20 11:15:03 -07:00
John MacFarlane
5b1fdeaf41 ConTeXt writer: change \ to / in Windows image paths.
We do this in the LaTeX writer, and it avoids problems.
Note that `/` works as a LaTeX path separator on Windows.
Closes #4918.
2018-09-20 09:36:44 -07:00
John MacFarlane
136bf901aa Markdown reader: distinguish autolinks in the AST.
With this change, autolinks are parsed as Links with
the `uri` class. (The same is true for bare links, if
the `autolink_bare_uris` extension is enabled.)  Email
autolinks are parsed as Links with the `email` class.
This allows the distinction to be represented in the
URI.

Formerly the `uri` class was added to autolinks by
the HTML writer, but it had to guess what was an autolink
and could not distinguish `[http://example.com](http://example.com)`
from `<http://example.com>`.  It also incorrectly recognized
`[pandoc](pandoc)` as an autolink.  Now the HTML writer
simply passes through the `uri` attribute if it is present,
but does not add anything.

The Textile writer has been modified so that the `uri`
class is not explicitly added for autolinks, even if it
is present.

Closes #4913.
2018-09-19 14:53:29 -07:00
Albert Krewinkel
dba5c8d4e3
Lua filter tests: produce better error on test failure 2018-09-19 21:36:19 +02:00
Albert Krewinkel
4264a1b143
Lua filter: cleanup filter execution code 2018-09-19 21:36:13 +02:00
Alexander Krotov
8f841297df Muse reader: parse Text instead of String
Benchmark shows 7% improvement
2018-09-19 16:36:29 +03:00
Alexander Krotov
841784fb57 hlint Muse reader 2018-09-19 15:26:21 +03:00
Alexander Krotov
1b8c22de1d Muse reader: get rid of HTML parser dependency 2018-09-19 15:19:06 +03:00
Alexander Krotov
6be2e43397 Muse reader: use openTag and closeTag everywhere 2018-09-19 14:06:14 +03:00