Age | Commit message (Collapse) | Author | Files | Lines |
|
Separate spans may have different semantics, for example if spans indicate syllables in a word.
|
|
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.
|
|
For now. Because of a bug in the library, it must be
rebuilt every time we do 'stack install.
See #4482.
|
|
Some internal changes in templating produced slightly different
xml. All have been checked, are not corrupt, and have output as expected.
|
|
|
|
This reverts commit 99fa850a37cc3e56b415754c70ea2d98da709584.
|
|
There were a few layouts where we were still just checking the built
in pptx doc, instead of the supplied reference doc.
|
|
This was causing headers to be misaligned when some templates were used.
|
|
This saves time for image-heavy documents. Closes #4484.
|
|
even when structured titles are used.
This prevents spurious warnings about empty title elements.
Closes #4486.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
We previously accepted 'DDC' as 1100. Closes #4480.
|
|
It leads to problems with round-trip test,
because aligned line blocks can't be read back.
|
|
Tests speaker notes appearing after (and inside of) separating blocks.
Output checked on Windows10 (archlinux virtualbox), PowerPoint
2013. Not corrupted, and output as expected.
|
|
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.
|
|
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.
|
|
We now compile on nightly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This was used for something long ago, but plays no role now.
|
|
Mention other formats as well where a different
name is needed.
|
|
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.
|
|
|
|
|
|
Previously we escaped hyphens as `\-`, but that's a minus sign.
Closes #4467.
Updated changelog.
|
|
It fails too often. Perhaps a separate test program should
be used to hunt for round-trip bugs.
|
|
|
|
|
|
Remove 'weigh-pandoc' flag. This is now built (and run)
automatically when you build (and run) benchmarks.
|
|
|
|
|
|
fixes #4453
|
|
This is no longer necessary since we no longer support ghc 7.8.
|
|
This seems to be necessary if we are to use our custom Prelude
with ghci.
Closes #4464.
|
|
language is now consistently Haskell2010, and other-extensions
is consistently NoImplicitPrelude. Everything else to be specified
in the module header as needed.
|
|
|
|
We use no custom Prelude with the latest ghc version (8.4.1),
so we don't have problems with ghci.
See https://ghc.haskell.org/trac/ghc/ticket/10920
https://www.reddit.com/r/haskell/comments/3ryf2p/how_can_you_use_a_custom_prelude_with_ghci/
This may help with #4464.
|
|
|
|
|
|
|
|
|
|
|