aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)Author
2018-03-18Ms writer: don't escape hyphens.John MacFarlane
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog.
2018-03-18Removed unnecessary import.John MacFarlane
2018-03-18EPUB writer: remove notes from TOC in nav.xhtml (#4463)Mauro Bieg
fixes #4453
2018-03-18Removed old-locale flag and Text.Pandoc.Compat.Time.John MacFarlane
This is no longer necessary since we no longer support ghc 7.8.
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-03-17hlint fixes.John MacFarlane
2018-03-17Add support to parse unit string of \SI command (closes #4296).Marc Schreiber
2018-03-17Fixed typo introduced in merge.John MacFarlane
2018-03-17RST writer: filter out empty inline containers (#4434).Francesco Occhipinti
There is nothing in RST that corresponds to e.g. `Emph []`, so we just filter out elements like this.
2018-03-17Don't wrap lines in grid tables when `--wrap=none` (#4320)Francesco Occhipinti
* Annotate gridTable code with comments and abstract small functions * 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.
2018-03-17RST writer: separate inline transformation logic from writing logic (#4438)Francesco Occhipinti
This is to help enable solutions solutions to #4434 and #4368.
2018-03-17RST writer: strip whitespace within inlines, closes #4327 (#4329)Francesco Occhipinti
+ Whitespace is ignored at the beginning and end of emphasis, as per <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup>. + Export `stripLeadingTrailingSpace` from `Text.Pandoc.Writers.Shared`.
2018-03-17Work around Monoid/Semigroup-related compiler errors GHC 7.10.John MacFarlane
2018-03-17More CSS around DocTable in Haddock reader.John MacFarlane
2018-03-16Allow earlier versions of haddock-library, use CPP.John MacFarlane
2018-03-16Better table handling for Haddock.John MacFarlane
In the reader, we use the new Table type in Haddock. Note that tables with col/rowspans will not translate well into Pandoc. In the writer, we now render tables always as grid tables, since Haddock supports these.
2018-03-16Monoid/Semiground cleanup relying on custom Prelude.John MacFarlane
2018-03-16Class: Semigroup instance for FileTree with base >= 4.9.John MacFarlane
2018-03-16Translations: Semigroup instance for Translations with base >= 4.9.John MacFarlane
2018-03-16Extensions: Semigroup instance for Extensions with base >= 4.9.John MacFarlane
2018-03-16Semigroup instance for Styles in T.P.Readers.Odt.StyleReader.John MacFarlane
2018-03-16Removed redundant import.John MacFarlane
2018-03-16Pretty: Semigroup instance for Doc with base >= 4.9.John MacFarlane
2018-03-16Semigroup instance for MediaBag with base >= 4.9.John MacFarlane
2018-03-15Remove redundant import.John MacFarlane
2018-03-15Remove redundant import.John MacFarlane
2018-03-14RST reader: Allow unicode bullet characters.John MacFarlane
Closes #4454.
2018-03-13Require pandoc-types 1.17.4.John MacFarlane
And a few tweaks related to the Semigroups/Monoid change. Closes #4448.
2018-03-13DokuWiki writer: rewrite backSlashLineBreaks (#4445)Mauro Bieg
Rewrite for efficiency.
2018-03-13Docx reader: Parse nested smart tags.Jesse Rosenthal
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. Closes #4446
2018-03-13Beamer: put hyperlink after `\begin{frame}`.John MacFarlane
and not in the title. If it's in the title, then we get a titlebar on slides with the `plain` attribute, when the id is non-null. This fixes a regression from 1.9.x. Closes #4307.
2018-03-12Docx reader: remove unused docxWarningsAlexander Krotov
2018-03-12Muse reader: make parseBlocks similar to parseBlocksTillAlexander Krotov
2018-03-12Muse reader: require closing tag to have the same indentation as openingAlexander Krotov
2018-03-12Muse reader: do not reparse blocks inside unclosed block tagAlexander Krotov
Fixes #4425
2018-03-11html2pdf: inject base tag wih current working directory (#4443)Mauro Bieg
fixes #4413
2018-03-11Dokuwiki writer: fix LineBreaks in Tables (#4444)Mauro Bieg
fixes #4313
2018-03-12Muse writer: support spans with anchorsAlexander Krotov
2018-03-10Muse reader: parse <class> tagAlexander Krotov
<class> tag is supported by Emacs Muse
2018-03-09Ms writer: asciify pdf anchors, since unicode anchors don't work.John MacFarlane
Closes #4436. Internal links should be converted automatically, so this shouldn't affect users directly.
2018-03-09Raise error if someone tries to print docx, odt, etc. template.John MacFarlane
Closes #4441.
2018-03-08Fixed formatting of DefaultStyle ordered lists in docx writer.John MacFarlane
We want decimal for the top level, not lower roman.
2018-03-07Muse writer: replace smallcaps with emphasis before normalizationAlexander Krotov
2018-03-07Muse writer: output smallcaps as emphasisAlexander Krotov
2018-03-07Muse writer: expand Cite before list normalizationAlexander Krotov
2018-03-07Muse writer: write empty inline lists as <verbatim></verbatim>Alexander Krotov
2018-03-07Muse writer: remove empty Str from the beginning of inline lists during ↵Alexander Krotov
normalization
2018-03-07Muse writer: escape "-" to avoid creating bullet listsAlexander Krotov
2018-03-07Muse reader: do not produce empty Str element for unindented verse linesAlexander Krotov
2018-03-06Muse writer: fix math expansion for more than one expression per paragraphAlexander Krotov