Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-05 | FB2 writer: represent HorizontalRule as empty line | Alexander Krotov | 4 | -55/+78 | |
HorizontalRule corresponds to <hr> element in the default output format, HTML. Current HTML standard defines <hr> element as "paragraph-level thematic break". In typography it is often represented by extra space or centered asterism ("⁂"), but since FB2 does not support text centering, empty line (similar to extra space) is the only solution. Line breaks, on the other hand, don't generate <empty-line /> anymore. Previously line breaks generated <empty-line /> element inside paragraph, which is not allowed. So, this commit addresses issue #2424 ("FB2 produced by pandoc doesn't validate"). FB2 does not have a way to represent line breaks inside paragraphs. They are replaced with LF character, which is not rendered by FB2 readers, but at least preserves some information. | |||||
2018-04-05 | Muse writer: escape horizontal rule only if at the beginning of the line | Alexander Krotov | 1 | -1/+3 | |
2018-04-05 | CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533) | quasicomputational | 1 | -0/+21 | |
Issue #4527. | |||||
2018-04-04 | FB2 writer: allow emphasis and notes in titles | Alexander Krotov | 3 | -89/+103 | |
Only <p> and <empty-line /> are allowed in titles, but <p> has the same type as an ordinary paragraphs. Therefore, there is no need to remove emphasis from titles. Also, don't intersperse paragraph with empty lines. | |||||
2018-04-02 | LaTeX reader: parse sloppypar environment (#4517) | Marc Schreiber | 1 | -0/+23 | |
2018-04-02 | Muse reader: add <math> tag support | Alexander Krotov | 1 | -0/+2 | |
2018-04-02 | Muse writer: place header IDs before header | Alexander Krotov | 2 | -3/+4 | |
See https://github.com/melmothx/text-amuse/issues/39 | |||||
2018-04-01 | Muse writer: only escape brackets when necessary | Alexander Krotov | 2 | -6/+9 | |
It includes cases when they can be mistaken for footnotes and links, as well as inside link description. | |||||
2018-03-31 | Muse writer: do not escape list markers unless preceded by space | Alexander Krotov | 2 | -2/+3 | |
2018-03-30 | Textile reader: fixed tables with no body rows. | John MacFarlane | 1 | -0/+9 | |
Previously these raised an exception. Closes #4513. | |||||
2018-03-28 | Mediawiki reader: improve table parsing. | John MacFarlane | 1 | -9/+11 | |
This fixes detection of table attributes and also handles `!` characters in cells. Closes #4508. | |||||
2018-03-28 | Muse writer: escape semicolons and markers after line break | Alexander Krotov | 2 | -1/+2 | |
2018-03-25 | Muse reader: enable round-trip test | Alexander Krotov | 1 | -3/+2 | |
Close #4468 | |||||
2018-03-25 | Muse reader: allow links to have empty descriptions | Alexander Krotov | 1 | -0/+3 | |
2018-03-25 | Muse writer: escape ordered list markers | Alexander Krotov | 2 | -6/+7 | |
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop. | |||||
2018-03-25 | Muse writer: enable --wrap=preserve for all tests by default | Alexander Krotov | 1 | -5/+5 | |
2018-03-25 | Muse reader: require block <literal> tags to be on separate lines | Alexander Krotov | 1 | -0/+3 | |
2018-03-25 | Muse writer: improve span writing | Alexander Krotov | 1 | -2/+8 | |
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 | -0/+3 | |
Separate spans may have different semantics, for example if spans indicate syllables in a word. | |||||
2018-03-24 | Update powerpoint golden tests: | Jesse Rosenthal | 8 | -0/+0 | |
Some internal changes in templating produced slightly different xml. All have been checked, are not corrupt, and have output as expected. | |||||
2018-03-21 | Muse writer: don't align ordered list items | Alexander Krotov | 2 | -9/+9 | |
It leads to problems with round-trip test, because aligned line blocks can't be read back. | |||||
2018-03-21 | Powerpoint writer: add tests for improved speaker notes. | Jesse Rosenthal | 4 | -0/+37 | |
Tests speaker notes appearing after (and inside of) separating blocks. Output checked on Windows10 (archlinux virtualbox), PowerPoint 2013. Not corrupted, and output as expected. | |||||
2018-03-20 | Muse writer: escape "]" in image title | Alexander Krotov | 1 | -0/+1 | |
2018-03-20 | Muse writer: escape ";" to avoid accidental comments | Alexander Krotov | 1 | -0/+1 | |
2018-03-20 | Muse writer: escape "]" brackets in URLs as "%5D" | Alexander Krotov | 1 | -0/+15 | |
2018-03-18 | Ms writer: don't escape hyphens. | John MacFarlane | 1 | -9/+9 | |
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog. | |||||
2018-03-18 | Comment out Muse reader round-trip test. | John MacFarlane | 1 | -3/+4 | |
It fails too often. Perhaps a separate test program should be used to hunt for round-trip bugs. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 47 | -0/+94 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-17 | hlint fixes. | John MacFarlane | 5 | -5/+4 | |
2018-03-17 | Add support to parse unit string of \SI command (closes #4296). | Marc Schreiber | 1 | -0/+36 | |
2018-03-17 | RST writer: filter out empty inline containers (#4434). | Francesco Occhipinti | 1 | -7/+11 | |
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 | -0/+15 | |
* 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 | Provide `bidi` package's option using `\PassOptionsToPackage` (#4357). | Václav Haisman | 1 | -2/+2 | |
* Provide `bidi` package's option using `\PassOptionsToPackage`. This avoid clash when `polyglossia` loads it first and then it is loaded again for XeLaTeX when `latex-dir-rtl` defined. * Adjust test suite for LaTeX template change. | |||||
2018-03-17 | RST writer: strip whitespace within inlines, closes #4327 (#4329) | Francesco Occhipinti | 1 | -0/+9 | |
+ 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 | Removed redundant import of <> | John MacFarlane | 1 | -1/+1 | |
2018-03-16 | Better table handling for Haddock. | John MacFarlane | 1 | -53/+67 | |
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-14 | RST reader: Allow unicode bullet characters. | John MacFarlane | 1 | -0/+9 | |
Closes #4454. | |||||
2018-03-13 | Docx reader: add tests for nested smart tags. | Jesse Rosenthal | 3 | -0/+11 | |
2018-03-13 | Beamer: put hyperlink after `\begin{frame}`. | John MacFarlane | 2 | -6/+4 | |
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-12 | Muse reader: compare first rewrite to the second in round-trip test | Alexander Krotov | 1 | -4/+2 | |
2018-03-12 | Muse reader: require closing tag to have the same indentation as opening | Alexander Krotov | 1 | -0/+18 | |
2018-03-12 | Muse reader: do not reparse blocks inside unclosed block tag | Alexander Krotov | 1 | -0/+18 | |
Fixes #4425 | |||||
2018-03-11 | Dokuwiki writer: fix LineBreaks in Tables (#4444) | Mauro Bieg | 2 | -4/+10 | |
fixes #4313 | |||||
2018-03-12 | Muse writer: support spans with anchors | Alexander Krotov | 1 | -1/+5 | |
2018-03-10 | Muse reader: parse <class> tag | Alexander Krotov | 1 | -0/+3 | |
<class> tag is supported by Emacs Muse | |||||
2018-03-07 | Muse writer: replace smallcaps with emphasis before normalization | Alexander Krotov | 1 | -0/+1 | |
2018-03-07 | Muse writer: output smallcaps as emphasis | Alexander Krotov | 1 | -1/+1 | |
2018-03-07 | Muse writer: write empty inline lists as <verbatim></verbatim> | Alexander Krotov | 1 | -0/+9 | |
2018-03-07 | Muse writer: escape "-" to avoid creating bullet lists | Alexander Krotov | 2 | -1/+10 | |
2018-03-07 | Muse reader: do not produce empty Str element for unindented verse lines | Alexander Krotov | 1 | -0/+1 | |