aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Slides.hs
AgeCommit message (Collapse)Author
2024-04-25Update copyright dates to 2024.John MacFarlane
2023-01-13Remove block constructor Null from the code base.John MacFarlane
It has been removed from pandoc-types.
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-07-04Ensure that Nulls are ignored in creating slide shows.John MacFarlane
Also ensure that Nulls are ignored in sectionification by `makeSections`. Closes #8155.
2022-01-02Copyright notices: update for 2022Albert Krewinkel
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel
2020-03-15Use implicit Prelude (#6187)Albert Krewinkel
* Use implicit Prelude The previous behavior was introduced as a fix for #4464. It seems that this change alone did not fix the issue, and `stack ghci` and `cabal repl` only work with GHC 8.4.1 or newer, as no custom Prelude is loaded for these versions. Given this, it seems cleaner to revert to the implicit Prelude. * PandocMonad: remove outdated check for base version Only base versions 4.9 and later are supported, the check for `MIN_VERSION_base(4,8,0)` is therefore unnecessary. * Always use custom prelude Previously, the custom prelude was used only with older GHC versions, as a workaround for problems with ghci. The ghci problems are resolved by replacing package `base` with `base-noprelude`, allowing for consistent use of the custom prelude across all GHC versions.
2020-03-13Update copyright year (#6186)Albert Krewinkel
* Update copyright year * Copyright: add notes for Lua and Jira modules
2019-11-12Switch to new pandoc-types and use Text instead of String [API change].despresc
PR #5884. + Use pandoc-types 1.20 and texmath 0.12. + Text is now used instead of String, with a few exceptions. + In the MediaBag module, some of the types using Strings were switched to use FilePath instead (not Text). + In the Parsing module, new parsers `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`, `many1Till`, `manyUntil`, `mantyUntilChar` have been added: these are like their unsuffixed counterparts but pack some or all of their output. + `glob` in Text.Pandoc.Class still takes String since it seems to be intended as an interface to Glob, which uses strings. It seems to be used only once in the package, in the EPUB writer, so that is not hard to change.
2019-09-20Changes to Slides to be more flexible with Div structure.John MacFarlane
Previously if you had ``` ::: #foo c ::: ``` slide level would be 1, not 2.
2019-09-08Replace Element and makeHierarchical with makeSections.John MacFarlane
Text.Pandoc.Shared: + Remove `Element` type [API change] + Remove `makeHierarchicalize` [API change] + Add `makeSections` [API change] + Export `deLink` [API change] Now that we have Divs, we can use them to represent the structure of sections, and we don't need a special Element type. `makeSections` reorganizes a block list, adding Divs with class `section` around sections, and adding numbering if needed. This change also fixes some longstanding issues recognizing section structure when the document contains Divs. Closes #3057, see also #997. All writers have been changed to use `makeSections`. Note that in the process we have reverted the change c1d058aeb1c6a331a2cc22786ffaab17f7118ccd made in response to #5168, which I'm not completely sure was a good idea. Lua modules have also been adjusted accordingly. Existing lua filters that use `hierarchicalize` will need to be rewritten to use `make_sections`.
2019-03-01Remove license boilerplate.John MacFarlane
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync.
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
2018-11-19For bibliography match Div with id 'refs', not class 'references'.John MacFarlane
This was a mismatch between pandoc's docx, epub, latex, and markdown writers and the behavior of pandoc-citeproc, which actually looks for a div with id 'refs' rather than one with class 'references'.
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-01-05Update copyright notices to include 2018Albert Krewinkel
2017-10-29Source code reformatting.John MacFarlane
2017-10-27hlint suggestions.John MacFarlane
2017-05-13Update dates in copyright noticesAlbert Krewinkel
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane
2016-03-22Updated copyright dates to include 2016.1.17.0.2John MacFarlane
2015-11-22hlint fixesJohn MacFarlane
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-04-26Updated copyright notices to -2015. Closes #2111.John MacFarlane
2014-05-09Update copyright notices for 2014, add missing noticesAlbert Krewinkel
2013-10-29Slides: Preserve `<div class="references">` in references slide.John MacFarlane
2013-09-18Fixed reference slides.John MacFarlane
The Div container around references messed up the procedure for carving a document into slides. So we now remove the surrounding Div in prepSlides.
2013-03-23Reveal.js improvements.John MacFarlane
Changed name to revealjs (from reveal_js). Set revealjs-url template variable to 'reveal.js' by default.
2013-03-21Added basic support for reveal.js.Jamie F. Olson
Support unordered and ordered lists with "fragment" elements. Modified by JGM to remove the --reveal_js-url command-line option. Instead use -V reveal_js-url=... as with slidy and the other slide formats. Also cleaned up the list code in the HTML writer.
2013-01-09Added Attr field to Header.John MacFarlane
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2012-06-25Don't generate empty H1 after hrule slide breaks.John MacFarlane
We now use a slide-level header with contents [Str "\0"] to mark an hrule break. This avoids creation of an empty H1 in these contexts. Closes #484.
2012-05-24Add support for Slideous output.Jonas Smedegaard
2012-01-24Slides: Fixed bug in prepSlides.John MacFarlane
2012-01-23Slides: New approach, using hierarchicalize.John MacFarlane
This will work better with the HTML slideshows.
2012-01-23Slides: Better error message.John MacFarlane
2012-01-23Use Slides in LaTeX writer for beamer.John MacFarlane
2012-01-22Got slide creation working.John MacFarlane
2012-01-22Added to Slides.John MacFarlane
2012-01-22Added Text.Pandoc.Slides.John MacFarlane