Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-25 | Muse reader: enable round-trip test | Alexander Krotov | 1 | -3/+2 | |
Close #4468 | |||||
2018-03-25 | Muse reader: allow links to have empty descriptions | Alexander Krotov | 2 | -1/+4 | |
2018-03-25 | Muse writer: escape ordered list markers | Alexander Krotov | 3 | -20/+59 | |
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop. | |||||
2018-03-25 | Muse writer: enable --wrap=preserve for all tests by default | Alexander Krotov | 1 | -5/+5 | |
2018-03-25 | Muse reader: require block <literal> tags to be on separate lines | Alexander Krotov | 2 | -2/+11 | |
2018-03-25 | Powerpoint writer: code cleanup. | Jesse Rosenthal | 1 | -39/+17 | |
2018-03-25 | Muse writer: improve span writing | Alexander Krotov | 2 | -5/+13 | |
Test more cases when span has or hasn't anchor, class and contents in different combinations. | |||||
2018-03-25 | Muse writer: do not join Span's doing normalization | Alexander Krotov | 2 | -2/+4 | |
Separate spans may have different semantics, for example if spans indicate syllables in a word. | |||||
2018-03-24 | Powerpoint writer: simplify code with `ParseXml` | Jesse Rosenthal | 1 | -23/+2 | |
There were some artifact code blocks around from before `reference-doc` functionality was implemented. This led to ignoring the reference-doc in places. Though I fixed this, I kept the old hacked-up functions instead of replacing them with `parseXml` (imported from Writers.OOXML) which does this in a consistent manner. This commit corrects that oversight. | |||||
2018-03-24 | Don't depend on latest haddock-library in stack.yaml. | John MacFarlane | 1 | -1/+1 | |
For now. Because of a bug in the library, it must be rebuilt every time we do 'stack install. See #4482. | |||||
2018-03-24 | Update powerpoint golden tests: | Jesse Rosenthal | 8 | -0/+0 | |
Some internal changes in templating produced slightly different xml. All have been checked, are not corrupt, and have output as expected. | |||||
2018-03-24 | Powerpoint writer: Allow fallback options when looking for placeholder type. | Jesse Rosenthal | 1 | -9/+17 | |
2018-03-24 | Revert "Powerpoint writer: Remove spPr tag from non-body layouts" | Jesse Rosenthal | 1 | -5/+1 | |
This reverts commit 99fa850a37cc3e56b415754c70ea2d98da709584. | |||||
2018-03-24 | Powerpoint reader: Check reference-doc for all layouts. | Jesse Rosenthal | 1 | -2/+6 | |
There were a few layouts where we were still just checking the built in pptx doc, instead of the supplied reference doc. | |||||
2018-03-23 | Powerpoint writer: Remove spPr tag from non-body layouts | Jesse Rosenthal | 1 | -1/+5 | |
This was causing headers to be misaligned when some templates were used. | |||||
2018-03-23 | PDF: with xelatex, don't compress images til the last run. | John MacFarlane | 1 | -1/+6 | |
This saves time for image-heavy documents. Closes #4484. | |||||
2018-03-23 | EPUB writer: ensure that pagetitle is always set... | John MacFarlane | 1 | -6/+12 | |
even when structured titles are used. This prevents spurious warnings about empty title elements. Closes #4486. | |||||
2018-03-23 | Powepoint writer: Simplify speaker notes | Jesse Rosenthal | 1 | -27/+31 | |
We now pull the filtered blocks and speaker notes out at the top of the `blocksToSlide` function, and then make SpeakerNotes into a parameter of the `blocksToSlide'` subfunction. The output is the same, but the logic should be easier to follow now. | |||||
2018-03-23 | Powerpoint writer: change notes state to a simpler per-slide value | Jesse Rosenthal | 1 | -18/+7 | |
We used to keep a map of the slideId-to-notes for each slide. Since we now extract them at the slide level, this is overcomplicated, and we can just extract them before converting a slide and then clear the state after. | |||||
2018-03-23 | Powerpoint writer: Remove `Maybe` from `SpeakerNotes` in `Slide`. | Jesse Rosenthal | 2 | -71/+71 | |
Previously, we had treated it as a `Maybe`. But there is no difference between not having speaker notes and having empty speaker notes. So we make the SpeakerNotes newtype into a monoid, and test for memptiness instead of testing for Just/Nothing. | |||||
2018-03-21 | MANUAL.txt fix raw content example (#4479) | Mauro Bieg | 1 | -1/+2 | |
2018-03-21 | Parsing: Fix romanNumeral parser. | John MacFarlane | 1 | -3/+3 | |
We previously accepted 'DDC' as 1100. Closes #4480. | |||||
2018-03-21 | Muse writer: don't align ordered list items | Alexander Krotov | 3 | -13/+10 | |
It leads to problems with round-trip test, because aligned line blocks can't be read back. | |||||
2018-03-21 | Powerpoint writer: add tests for improved speaker notes. | Jesse Rosenthal | 4 | -0/+37 | |
Tests speaker notes appearing after (and inside of) separating blocks. Output checked on Windows10 (archlinux virtualbox), PowerPoint 2013. Not corrupted, and output as expected. | |||||
2018-03-21 | Powerpoint writer: handle speaker notes earlier in the conversion process | Jesse Rosenthal | 1 | -15/+23 | |
Internal change: We were getting bad results with the empty text box created by the conversion of notes into an empty paragraph. So we now convert the notes at the `blocksToSlide` stage, by `walkM`ing a function over the blocks that returns `()`, and then filters the notes out. This avoids the need to have a return value for speaker notes, and thus avoids the empty TextBox. Together with the previous commit (256f14c5a), closes #4477. | |||||
2018-03-21 | Powerpoint writer: Keep notes with related blocks | Jesse Rosenthal | 1 | -8/+17 | |
Some blocks automatically split slides (imgs, tables, `column` divs). We assume that any speaker notes immediately following these are connected to these elements, and keep them with the related blocks, splitting after them. | |||||
2018-03-20 | Update stack.yaml to work with stackage nightly. | John MacFarlane | 2 | -1/+4 | |
We now compile on nightly. | |||||
2018-03-20 | Muse writer: escape "]" in image title | Alexander Krotov | 2 | -1/+3 | |
2018-03-20 | Muse writer: remove key-value pairs from attributes before normalization | Alexander Krotov | 1 | -1/+8 | |
2018-03-20 | Muse writer: escape ";" to avoid accidental comments | Alexander Krotov | 2 | -1/+3 | |
2018-03-20 | Muse writer: escape "]" brackets in URLs as "%5D" | Alexander Krotov | 2 | -2/+22 | |
2018-03-19 | Use pandoc-citeproc 0.14.3. | John MacFarlane | 2 | -2/+2 | |
2018-03-19 | Fix example in lua-filters docs. Fixes #4459 (#4476) | HeirOfNorton | 1 | -1/+1 | |
2018-03-19 | MANUAL: specify that you use html for raw output in epub. | John MacFarlane | 1 | -3/+4 | |
2018-03-19 | Removed old lib directory. | John MacFarlane | 3 | -302/+0 | |
This was used for something long ago, but plays no role now. | |||||
2018-03-19 | Small improvement of doc change in #4472. | John MacFarlane | 1 | -1/+4 | |
Mention other formats as well where a different name is needed. | |||||
2018-03-19 | Add examples for raw docx blocks (#4472) | Tristan Stenner | 1 | -1/+12 | |
The documentation states that the target format name should match the output format, which isn't the case for `docx`/`openxml`. This PR adds a remark and a frequently requested example (inserting a pagebreak in docx output) to the documentation. | |||||
2018-03-18 | Bumped some versions in stack.yaml. | John MacFarlane | 2 | -8/+10 | |
2018-03-18 | Fixed duplicate entry in stack.lts9.yaml. | John MacFarlane | 1 | -1/+0 | |
2018-03-18 | Ms writer: don't escape hyphens. | John MacFarlane | 3 | -13/+15 | |
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog. | |||||
2018-03-18 | Comment out Muse reader round-trip test. | John MacFarlane | 1 | -3/+4 | |
It fails too often. Perhaps a separate test program should be used to hunt for round-trip bugs. | |||||
2018-03-18 | Removed unnecessary import. | John MacFarlane | 1 | -2/+0 | |
2018-03-18 | Update changelog. | John MacFarlane | 1 | -3/+22 | |
2018-03-18 | Make 'weigh-pandoc' into a benchmark program. | John MacFarlane | 1 | -14/+7 | |
Remove 'weigh-pandoc' flag. This is now built (and run) automatically when you build (and run) benchmarks. | |||||
2018-03-18 | Added Prelude imports to sources in benchmark and trypandoc. | John MacFarlane | 3 | -0/+6 | |
2018-03-18 | Missing backticks (#4462) | Björn Buckwalter | 1 | -1/+1 | |
2018-03-18 | EPUB writer: remove notes from TOC in nav.xhtml (#4463) | Mauro Bieg | 1 | -4/+5 | |
fixes #4453 | |||||
2018-03-18 | Removed old-locale flag and Text.Pandoc.Compat.Time. | John MacFarlane | 12 | -68/+12 | |
This is no longer necessary since we no longer support ghc 7.8. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 177 | -11/+353 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-18 | pandoc.cabal: fix up other-extensions and language fields. | John MacFarlane | 1 | -13/+11 | |
language is now consistently Haskell2010, and other-extensions is consistently NoImplicitPrelude. Everything else to be specified in the module header as needed. |