Commit graph

12653 commits

Author SHA1 Message Date
Nikolay Yakimov
fd14ad5261 [Docx Reader] Code clean-up
Reduce code duplication, remove redundant brackets, use newtype instead of data where appropriate
2019-09-21 11:18:15 -07:00
Nikolay Yakimov
6ceed9593a Add cabal.project.local to .gitignore 2019-09-21 11:18:15 -07:00
John MacFarlane
e3a6648e8f Nightlies - another attempt to fix windows build. 2019-09-21 10:35:31 -07:00
John MacFarlane
5ab14bfc0b Nightlies - 6 hour schedule for now. 2019-09-20 23:16:28 -07:00
John MacFarlane
7b879f867c Changes to Slides to be more flexible with Div structure.
Previously if you had

```
::: #foo
c
:::
```

slide level would be 1, not 2.
2019-09-20 23:15:41 -07:00
Ben Steinberg
7389919bb4 Preserve built-in styles in DOCX with custom style (#5670)
This commit prevents custom styles on divs and spans from overriding
styles on certain elements inside them, like headings, blockquotes,
and links. On those elements, the "native" style is required for the
element to display correctly. This change also allows nesting of
custom styles; in order to do so, it removes the default "Compact"
style applied to Plain blocks, except when inside a table.
2019-09-20 22:13:29 -07:00
John MacFarlane
5ebd5105ad Nightly - more windows tweaks. 2019-09-20 22:02:13 -07:00
John MacFarlane
e8f57ea1a4 Nightlies - more windows diagnostics. 2019-09-20 17:25:40 -07:00
John MacFarlane
6d4b35dfaf Bug fixes to EPUB chapter splitting. 2019-09-20 17:20:36 -07:00
John MacFarlane
a69d52c031 Nightlies - run every hour for debug. 2019-09-20 14:48:26 -07:00
John MacFarlane
bc3caaa795 nightlies - more windows diagnostics. 2019-09-20 14:44:21 -07:00
John MacFarlane
5f0e185a13 Nightly - use directory instead of suffix with date. 2019-09-20 08:25:46 -07:00
John MacFarlane
d617f59c2b Nightly - fix windows renaming with suffix. 2019-09-20 07:11:16 -07:00
John MacFarlane
fb93954a26 MediaWiki: skip optional {{table}} template.
See https://en.wikipedia.org/wiki/Template:Table

Closes #5757.
2019-09-19 23:38:48 -07:00
John MacFarlane
3b457da6dc Nightly - windows diagnostics. 2019-09-19 23:30:15 -07:00
John MacFarlane
f7183e57fb Windows nightly - avoid double quotes in README.nightly. 2019-09-19 22:46:56 -07:00
John MacFarlane
d6b6000217 Clarify warning for missing title.
Closes #5760.
2019-09-19 22:40:43 -07:00
John MacFarlane
e435943ed4 Restore nightly to once per day. 2019-09-19 18:53:03 -07:00
John MacFarlane
6e462a7040 Nightly - more windows tweaks. 2019-09-19 18:51:38 -07:00
John MacFarlane
3a97e5b310 EPUB writer: make --epub-chapter-level work again.
It was temporarily broken by the latest change to chapter
splitting code.
2019-09-19 18:38:02 -07:00
John MacFarlane
8408e58474 EPUB writer: improve splitting into chapters.
+ Use makeSection from T.P.Shared.  This deals better with
  embedded divs. (Closes #5761.)

+ Remove chapter-title class from chapter h1, for now.
  (Reverts one change made earlier; we may revisit this
  in light of #5749.)

+ Avoid issuing warning multiple times when title not set (see #5760).
2019-09-19 18:17:23 -07:00
John MacFarlane
5a85789185 Remove admonition-title remnants.
Completes 8e01ccb41d
2019-09-19 16:09:38 -07:00
John MacFarlane
be30b01935 Nightly - some windows fixes. 2019-09-19 15:57:48 -07:00
John MacFarlane
961e57c038 Nightly - strip linux executables. 2019-09-19 15:51:28 -07:00
John MacFarlane
7744f3f92b Nightly: Fix macos file finding. 2019-09-19 09:35:07 -07:00
John MacFarlane
f150ec04a0 Nightly - fix date setting on windows. 2019-09-19 09:09:41 -07:00
John MacFarlane
3ef628d968 CI workflow - trigger on any push, for now. 2019-09-19 00:22:11 -07:00
John MacFarlane
1f069cf64e Nightly improvements. 2019-09-19 00:16:28 -07:00
John MacFarlane
c42542428c LaTeX writer: use \hspace{0pt} for 0-width space U+200B.
Closes #5756.
2019-09-18 13:27:02 -07:00
John MacFarlane
ebfa7d61f8 Nightly fixes. for now, run every 6 hours for debugging. 2019-09-18 11:22:14 -07:00
John MacFarlane
3bdc947b2e Stop nightly from running every hour. 2019-09-18 11:11:43 -07:00
John MacFarlane
78f552e24c Improvements to nightly.yml. 2019-09-18 09:08:45 -07:00
John MacFarlane
98808f3f8d Change nightly timing so it's at night. 2019-09-17 22:21:44 -07:00
John MacFarlane
852415a66f GitHub nightly - fix linux target. 2019-09-17 22:21:03 -07:00
John MacFarlane
d6c50af221 Fixes to nightly workflow. 2019-09-17 21:14:06 -07:00
John MacFarlane
369d348a9b Add nightly, move haskell.yml -> ci.yml. 2019-09-17 10:01:09 -07:00
John MacFarlane
0360d92800 GitHub CI: remove fail-fast and ghc 8.8.1 build. 2019-09-17 09:24:47 -07:00
John MacFarlane
5ee48c0381 Set fail-fast to false.
So we can see the 8.8.1 failure while checking the others.
2019-09-17 09:20:41 -07:00
John MacFarlane
55cf0331e7 GitHub CI - experiment with structured matrix entries. 2019-09-17 09:13:10 -07:00
John MacFarlane
cc8e8e0d0a GitHub CI - Ensure that version numbers are parsed as strings. 2019-09-17 09:07:38 -07:00
John MacFarlane
e1282588b0 GitHub CI - use cabal 3 with ghc 8.8. 2019-09-17 09:02:57 -07:00
John MacFarlane
3b52baab8e GitHub CI - use matrix for linux/cabal build. 2019-09-16 23:33:05 -07:00
John MacFarlane
255f3c0a8e GitHub CI - take 2 on macos build. 2019-09-16 22:03:47 -07:00
John MacFarlane
d9125ac9bc GitHub CI - add macos. 2019-09-16 21:44:54 -07:00
John MacFarlane
6c077b8f2c GitHub CI - cleanup. 2019-09-16 11:05:04 -07:00
John MacFarlane
fa12d4ed37 GitHub CI - trigger build on workflow/haskell.yml change. 2019-09-16 11:03:48 -07:00
John MacFarlane
b030d23893 GitHub CI: don't trigger build with doc changes. 2019-09-16 10:45:13 -07:00
John MacFarlane
d3e2d3c434 GitHub CI: comment out artifact uploading for now. 2019-09-16 09:48:57 -07:00
John MacFarlane
b222272b60 Add note on --print-default-template explaining how to print partials. 2019-09-16 09:45:03 -07:00
John MacFarlane
297afd0aa9 PDF: Fix test for Cygwin. See #5451. 2019-09-16 08:30:57 -07:00