-
Docx reader (Jesse Rosenthal):
- Add tests for nested smart tags.
- Parse nested smart tags.
- Make unwrapSDT into a general
unwrap
function that can unwrap both nested SDT tags and smartTags. This makes the SmartTags constructor in the Docx type unnecessary, so we remove it (#4446). - Remove unused
docxWarnings
(Alexander Krotov).
-
RST reader: Allow unicode bullet characters (#4454).
-
Haddock reader: Better table handling, using haddock-library’s new table support, if compiled against a version that includes it. Note that tables with col/rowspans will not translate well into Pandoc.
-
Muse reader (Alexander Krotov):
- Various internal improvements.
- Require closing tag to have the same indentation as opening.
- Do not reparse blocks inside unclosed block tag (#4425).
- Parse
<class>
tag (supported by Emacs Muse). - Do not produce empty Str element for unindented verse lines.
-
LaTeX reader:
- Add support to parse unit string of
\SI
command (closes #4296, Marc Schreiber).
- Add support to parse unit string of
-
Haddock writer: In the writer, we now render tables always as grid tables, since Haddock supports these.
-
DokuWiki writer: rewrite backSlashLineBreaks (#4445, Mauro Bieg).
-
Docx writer: Fixed formatting of
DefaultStyle
ordered lists in docx writer. We want decimal for the top level, not lower roman. -
RST writer:
-
Muse writer (Alexander Krotov):
- Support spans with anchors.
- Replace smallcaps with emphasis before normalization.
- Output smallcaps as emphasis.
- Expand Cite before list normalization.
- Write empty inline lists as
<verbatim></verbatim>
. - Remove empty Str from the beginning of inline lists during normalization.
- Escape “-” to avoid creating bullet lists.
- Fix math expansion for more than one expression per paragraph.
- Expand math before inline list normalization.
-
Dokuwiki writer: fix LineBreaks in Tables (#4313, Mauro Bieg).
-
Ms writer:
-
Beamer writer: put hyperlink after
\begin{frame}
and not in the title (#4307). If it’s in the title, then we get a titlebar on slides with theplain
attribute, when the id is non-null. This fixes a regression in 2.0. -
EPUB writer: Remove notes from TOC in nav.xhtml (#4453, Mauro Bieg).
-
JATS writer: Remove extraneous, significant whitespace (#4335, Nokome Bentley).
-
html2pdf: inject base tag wih current working directory (#4413, Mauro Bieg). This helps ensure that linked resources are included.
-
Add Semigroup instances for everything for which we defined a Monoid instance previously (API change):
- Text.Pandoc.Class.FileTree.
- Text.Pandoc.Translations.Translations.
- Text.Pandoc.Extensions.Extensions.
- Text.Pandoc.Readers.Odt.StyleReader.Styles.
- Text.Pandoc.Pretty.Doc.
- Text.Pandoc.MediaBag.MediaBag.
-
Add custom Prelude to give clean code for Monoid and Semigroup that works with ghc 7.10-8.4. The custom Prelude (
prelude/Prelude
) is used for ghc versions < 8.4.NoImplicitPrelude
is used in all source files, and Prelude is explicitly imported (this is necessary for ghci to work properly with the custom prelude). -
Text.Pandoc.Writers.Shared (Francesco Occhipinti):
- Export
stripLeadingTrailingSpace
. - Don’t wrap lines in grid tables when
--wrap=none
(#4320). gridTable
: Don’t wrap lines in tables when--wrap=none
. Instead, expand cells, even if it results in cells that don’t respect relative widths or surpass page column width. This change affects RST, Markdown, and Haddock writers.
- Export
-
Raise error if someone tries to print docx, odt, etc. template (#4441).
-
LaTeX template: Provide
bidi
package’s option using\PassOptionsToPackage
(#4357, Václav Haisman). This avoid a clash whenpolyglossia
loads it first and then it is loaded again for XeLaTeX. -
ConTeXt template: Added
pdfa
variable to generate PDF/A (#4294, Henri Menke). Instructions on how to install the ICC profiles on ConTeXt standalone can be found in the wiki: http://wiki.contextgarden.net/PDFX#ICC_profiles. If the ICC profiles are not available the log will contain error messages. -
Use latest pandoc-types, skylighting
-
Use latest pandoc-citeproc in binary package.
-
Bump upper bound for time, criterion, haddock-library, exceptions, http-types, aeson, haddock-library.
-
Bump upper bound tasty-quickcheck 0.10 (#4429, Felix Yan).
-
pandoc.cabal: fix up other-extensions and language fields. Language is now consistently
Haskell2010
, and other-extensions is consistentlyNoImplicitPrelude
. Everything else to be specified in the module header as needed. -
Removed
old-locale
flag and Text.Pandoc.Compat.Time. This is no longer necessary since we no longer support ghc 7.8. -
Make
weigh-pandoc
into a benchmark program. Removeweigh-pandoc
flag.weigh-pandoc
is now built (and run) automatically when you build (and run) benchmarks. -
MANUAL: add instructions for background images reveal.js (#4325, John Muccigrosso).
-
appveyor: use VS 2013 environment instead of VS 2015 for Windows builds.