Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-25 | Muse writer: improve span writing | Alexander Krotov | 1 | -3/+5 | |
Test more cases when span has or hasn't anchor, class and contents in different combinations. | |||||
2018-03-25 | Muse writer: do not join Span's doing normalization | Alexander Krotov | 1 | -2/+1 | |
Separate spans may have different semantics, for example if spans indicate syllables in a word. | |||||
2018-03-24 | Powerpoint writer: simplify code with `ParseXml` | Jesse Rosenthal | 1 | -23/+2 | |
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. | |||||
2018-03-24 | Powerpoint writer: Allow fallback options when looking for placeholder type. | Jesse Rosenthal | 1 | -9/+17 | |
2018-03-24 | Revert "Powerpoint writer: Remove spPr tag from non-body layouts" | Jesse Rosenthal | 1 | -5/+1 | |
This reverts commit 99fa850a37cc3e56b415754c70ea2d98da709584. | |||||
2018-03-24 | Powerpoint reader: Check reference-doc for all layouts. | Jesse Rosenthal | 1 | -2/+6 | |
There were a few layouts where we were still just checking the built in pptx doc, instead of the supplied reference doc. | |||||
2018-03-23 | Powerpoint writer: Remove spPr tag from non-body layouts | Jesse Rosenthal | 1 | -1/+5 | |
This was causing headers to be misaligned when some templates were used. | |||||
2018-03-23 | EPUB writer: ensure that pagetitle is always set... | John MacFarlane | 1 | -6/+12 | |
even when structured titles are used. This prevents spurious warnings about empty title elements. Closes #4486. | |||||
2018-03-23 | Powepoint writer: Simplify speaker notes | Jesse Rosenthal | 1 | -27/+31 | |
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. | |||||
2018-03-23 | Powerpoint writer: change notes state to a simpler per-slide value | Jesse Rosenthal | 1 | -18/+7 | |
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. | |||||
2018-03-23 | Powerpoint writer: Remove `Maybe` from `SpeakerNotes` in `Slide`. | Jesse Rosenthal | 2 | -71/+71 | |
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. | |||||
2018-03-21 | Muse writer: don't align ordered list items | Alexander Krotov | 1 | -4/+1 | |
It leads to problems with round-trip test, because aligned line blocks can't be read back. | |||||
2018-03-21 | Powerpoint writer: handle speaker notes earlier in the conversion process | Jesse Rosenthal | 1 | -15/+23 | |
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. | |||||
2018-03-21 | Powerpoint writer: Keep notes with related blocks | Jesse Rosenthal | 1 | -8/+17 | |
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. | |||||
2018-03-20 | Muse writer: escape "]" in image title | Alexander Krotov | 1 | -1/+2 | |
2018-03-20 | Muse writer: remove key-value pairs from attributes before normalization | Alexander Krotov | 1 | -1/+8 | |
2018-03-20 | Muse writer: escape ";" to avoid accidental comments | Alexander Krotov | 1 | -1/+2 | |
2018-03-20 | Muse writer: escape "]" brackets in URLs as "%5D" | Alexander Krotov | 1 | -2/+7 | |
2018-03-18 | Ms writer: don't escape hyphens. | John MacFarlane | 1 | -1/+0 | |
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog. | |||||
2018-03-18 | EPUB writer: remove notes from TOC in nav.xhtml (#4463) | Mauro Bieg | 1 | -4/+5 | |
fixes #4453 | |||||
2018-03-18 | Removed old-locale flag and Text.Pandoc.Compat.Time. | John MacFarlane | 5 | -11/+6 | |
This is no longer necessary since we no longer support ghc 7.8. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 36 | -2/+74 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-17 | hlint fixes. | John MacFarlane | 7 | -22/+22 | |
2018-03-17 | Fixed typo introduced in merge. | John MacFarlane | 1 | -1/+1 | |
2018-03-17 | RST writer: filter out empty inline containers (#4434). | Francesco Occhipinti | 1 | -3/+18 | |
There is nothing in RST that corresponds to e.g. `Emph []`, so we just filter out elements like this. | |||||
2018-03-17 | Don't wrap lines in grid tables when `--wrap=none` (#4320) | Francesco Occhipinti | 1 | -12/+30 | |
* 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-17 | RST writer: separate inline transformation logic from writing logic (#4438) | Francesco Occhipinti | 1 | -18/+22 | |
This is to help enable solutions solutions to #4434 and #4368. | |||||
2018-03-17 | RST writer: strip whitespace within inlines, closes #4327 (#4329) | Francesco Occhipinti | 2 | -1/+4 | |
+ 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-17 | Work around Monoid/Semigroup-related compiler errors GHC 7.10. | John MacFarlane | 1 | -13/+12 | |
2018-03-16 | Better table handling for Haddock. | John MacFarlane | 1 | -59/+4 | |
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-16 | Monoid/Semiground cleanup relying on custom Prelude. | John MacFarlane | 3 | -3/+1 | |
2018-03-13 | DokuWiki writer: rewrite backSlashLineBreaks (#4445) | Mauro Bieg | 1 | -7/+11 | |
Rewrite for efficiency. | |||||
2018-03-13 | Beamer: put hyperlink after `\begin{frame}`. | John MacFarlane | 1 | -8/+8 | |
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-11 | Dokuwiki writer: fix LineBreaks in Tables (#4444) | Mauro Bieg | 1 | -1/+5 | |
fixes #4313 | |||||
2018-03-12 | Muse writer: support spans with anchors | Alexander Krotov | 1 | -3/+7 | |
2018-03-09 | Ms writer: asciify pdf anchors, since unicode anchors don't work. | John MacFarlane | 1 | -4/+11 | |
Closes #4436. Internal links should be converted automatically, so this shouldn't affect users directly. | |||||
2018-03-08 | Fixed formatting of DefaultStyle ordered lists in docx writer. | John MacFarlane | 1 | -6/+6 | |
We want decimal for the top level, not lower roman. | |||||
2018-03-07 | Muse writer: replace smallcaps with emphasis before normalization | Alexander Krotov | 1 | -2/+7 | |
2018-03-07 | Muse writer: output smallcaps as emphasis | Alexander Krotov | 1 | -1/+1 | |
2018-03-07 | Muse writer: expand Cite before list normalization | Alexander Krotov | 1 | -6/+8 | |
2018-03-07 | Muse writer: write empty inline lists as <verbatim></verbatim> | Alexander Krotov | 1 | -2/+4 | |
2018-03-07 | Muse writer: remove empty Str from the beginning of inline lists during ↵ | Alexander Krotov | 1 | -0/+2 | |
normalization | |||||
2018-03-07 | Muse writer: escape "-" to avoid creating bullet lists | Alexander Krotov | 1 | -1/+2 | |
2018-03-06 | Muse writer: fix math expansion for more than one expression per paragraph | Alexander Krotov | 1 | -1/+1 | |
2018-03-05 | Remove extraneous, significant whitespace in JATS writer output (#4335) | Nokome Bentley | 1 | -6/+6 | |
This patch fixes some cases where the JATS writer was introducing semantically significant whitespace by indenting and wrapping tags. Note that the JATS spec has a content model for `<p>` tags of `(#PCDATA | ...`. Any tag where `#PCDATA` children are possible should not have any indentation. The same is true for `<th>`, `<td>`, `<term>`, `<label>`. | |||||
2018-03-05 | Muse writer: expand math before inline list normalization | Alexander Krotov | 1 | -3/+13 | |
2018-03-02 | hlint Muse reader and writer | Alexander Krotov | 1 | -1/+1 | |
2018-03-02 | Muse writer: join strings during inline normalization | Alexander Krotov | 1 | -0/+2 | |
2018-03-02 | Org writer: fix a typo s/prettyfy/prettify/ | Alexander Krotov | 1 | -2/+2 | |
2018-02-28 | Muse writer: change verse markup | Alexander Krotov | 1 | -9/+2 | |
Use "> " instead of <verse> tag |