jgm/pandoc: pandoc 2.9
Creators
- John MacFarlane
- Jesse Rosenthal
- Albert Krewinkel
- Alexander Krotov
- Matthew Pickering
- Mauro Bieg
- Andrew Dunning1
- Nikolay Yakimov2
- Kolen Cheung3
- Yan Pashkovsky
- Václav Haisman
- Marc Schreiber
- Nathan Gass
- Fedor Sheremetyev
- Brian Leung
- Thomas Hodgson
- Mark Wright
- Francesco Occhipinti
- Artyom Kazak4
- hftf
- Hubert Plociniczak
- Pascal Wagler
- Daniel Bergey5
- Aditya Mahajan
- Jose Luis Duran
- Agustín Martín Barbero
- Xavier Olive6
- Hamish Mackenzie
- David Lazar7
- Henry de Valence
- 1. Faculty of History @cambridgeuniversity
- 2. Moscow Aviation Institute (National Research University)
- 3. University of California, Berkeley
- 4. @aelve, @monadfix
- 5. @Simspace
- 6. Research Scientist
- 7. MIT CSAIL
Description
Text.Pandoc.Templates [API change]
- Add Monad wrappers
WithDefaultPartials
andWithPartials
. Wrapping these around an instance ofPandocMonad
gives us different instances ofTemplateMonad
, with different search behavior in retrieving partials. To compile a template and limit partial search to pandoc's data files, userunWithDefaultPartials (compileTemplate ...)
. To compile a template and allow partials to be found locally (either on the file system or via HTTP, in the event that the main template has an absolute URL), uerunWithPartials (compileTemplate ...)
. - Export
getTemplate
, which seeks a template locally, or via HTTP if the template has an absolute URL, falling back to the data files if not found. - Export
compileDefaultTemplate
– doesgetDefaultTemplate
and compiles the result, raising an error on failure.
- Add Monad wrappers
Text.Pandoc.Class [API change]
- Remove
TemplateMonad
instances forPandocIO
andPandocPure
. These were too limiting and caused a bug whereby a local partial could be used even when the default template was requested. We now rely on instances provided in the Templates module.
- Remove
Text.Pandoc.App.OutputSettings: Simplify template retrieval code.
ConTeXt template: Adjust to title formatting (#5949, Denis Maier). Add
\setupinterlinespace
totitle
,subtitle
,date
andauthor
elements: otherwise longer titles that run over multiple lines will look squashed as\tfd
etc. won't adapt the line spacing to the font size.reveal.js template: Add title-slide-attributes variable (#5981, Frederik Elwert).
More informative JSON parse error (#5973).
Use external emojis package (forked from pandoc). Removed emoji data in Text.Pandoc.Emoji.
Fix regression in
makeSections
(#5965). Previouslyhierarchicalize
(the ancestor ofmakeSections
) would put header attributes on the containing Div. In 2.8 this behavior changed, which broke some tools depending on pandoc. Here we roll back this change, so that attributes again migrate from the header to the containing Div whenmakeSections
is run. Note that attributes are retained on the header as well (unlike before) – with the exception of theid
attribute, which of course cannot be duplicated.Fix
--toc-depth
regression in 2.8 (#5967).Use doctemplates 0.8. Rename template 'filters' as 'pipes' to avoid confusion with the other notion of filter used by pandoc.
Fix README.md so that relative links from manual become absolute. Previously they'd be broken links when viewed on GitHub or Hackage. So we add the base URL for the pandoc manual.
Document display math syntax in manual.
Files
jgm/pandoc-2.9.zip
Files
(13.5 MB)
Name | Size | Download all |
---|---|---|
md5:d9f62db0862ee8e720cbb16d4a3c923e
|
13.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/jgm/pandoc/tree/2.9 (URL)