Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-19 | RST writer: use more consistent indentation. | John MacFarlane | 1 | -9/+9 | |
Previously we used an odd mix of 3- and 4-space indentation. Now we use 3-space indentation, except for ordered lists, where indentation must depend on the width of the list marker. Closes #4563. | |||||
2018-04-16 | Muse writer: escape definition list terms starting with list markers | Alexander Krotov | 1 | -0/+9 | |
2018-04-15 | Muse writer: escape strings starting with space | Alexander Krotov | 1 | -0/+9 | |
2018-04-14 | Man writer: Don't escape U+2019 as '. | John MacFarlane | 17 | -0/+2222 | |
Closes #4550. | |||||
2018-04-10 | Muse writer: escape > less often | Alexander Krotov | 1 | -0/+1 | |
> should be escaped only when it can start verse, i.e., at the beginning of the line. | |||||
2018-04-09 | Muse writer: don't break headers, line blocks and tables with line breaks | Alexander Krotov | 1 | -0/+2 | |
2018-04-09 | Muse writer: correctly output empty headings | Alexander Krotov | 1 | -0/+1 | |
2018-04-05 | Changes to tests to accommodate changes in pandoc-types. | John MacFarlane | 1 | -2/+4 | |
In https://github.com/jgm/pandoc-types/pull/36 we changed the table builder to pad cells. This commit changes tests (and two readers) to accord with this behavior. | |||||
2018-04-05 | FB2 writer: represent HorizontalRule as empty line | Alexander Krotov | 1 | -2/+2 | |
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-02 | Muse writer: place header IDs before header | Alexander Krotov | 1 | -2/+2 | |
See https://github.com/melmothx/text-amuse/issues/39 | |||||
2018-04-01 | Muse writer: only escape brackets when necessary | Alexander Krotov | 1 | -0/+3 | |
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 | 1 | -0/+1 | |
2018-03-28 | Muse writer: escape semicolons and markers after line break | Alexander Krotov | 1 | -0/+1 | |
2018-03-25 | Muse writer: escape ordered list markers | Alexander Krotov | 1 | -4/+5 | |
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 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-21 | Muse writer: don't align ordered list items | Alexander Krotov | 1 | -6/+6 | |
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 | 1 | -0/+4 | |
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 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 17 | -0/+34 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-17 | hlint fixes. | John MacFarlane | 1 | -1/+1 | |
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 | 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-12 | Muse writer: support spans with anchors | Alexander Krotov | 1 | -1/+5 | |
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 | 1 | -0/+9 | |
2018-03-06 | Muse writer: fix math expansion for more than one expression per paragraph | Alexander Krotov | 1 | -0/+1 | |
2018-03-05 | Remove extraneous, significant whitespace in JATS writer output (#4335) | Nokome Bentley | 1 | -26/+12 | |
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 | -0/+1 | |
2018-03-02 | Muse writer: join strings during inline normalization | Alexander Krotov | 1 | -0/+1 | |
2018-02-28 | Muse writer: change verse markup | Alexander Krotov | 1 | -5/+3 | |
Use "> " instead of <verse> tag | |||||
2018-02-28 | Muse writer: remove empty strings during inline normalization | Alexander Krotov | 1 | -0/+1 | |
2018-02-27 | Powerpoint writer: use `trim` from Shared | Jesse Rosenthal | 1 | -2/+0 | |
Instead of writing my own. | |||||
2018-02-27 | Powerpoint writer: add test for table and list syntax | Jesse Rosenthal | 1 | -0/+9 | |
These were never added when the tests were first created. Output files checked in MS PowerPoint 2013 (Windows 10, VBox). No corruption, and output as expected. | |||||
2018-02-27 | Powerpoint writer: Remove empty slides | Jesse Rosenthal | 1 | -0/+4 | |
Make sure there are no empty slides in the pptx output. Because of the way that slides were split, these could be accidentally produced by comments after images. When animations are added, there will be a way to add an empty slide with either incremental lists or pauses. Test outputs checked with MS PowerPoint (Office 2013, Windows 10, VBox). Both files have expected output and are not corrupted. | |||||
2018-02-23 | Muse writer: don't indent nested definition lists | Alexander Krotov | 1 | -2/+2 | |
2018-02-19 | Powerpoint writer tests: Test everything with template as well | Jesse Rosenthal | 1 | -48/+72 | |
Modify the PowerPoint tests to run all the tests with template (--reference-doc) as well. Because there are so many interlocking pieces, bugs can pop up in weird places when using templates, since it changes how the writer builds its output file. For example, I recently discovered a bug in which speaker notes worked fine and templating worked fine elsewhere, but templating with speaker notes produced a file that would crash MS PowerPoint. That particular bug was fixed, but this will forces us to check for that with each new change. | |||||
2018-02-18 | Powerpoint writer: Add tests for speaker notes. | Jesse Rosenthal | 1 | -0/+5 | |
2018-02-15 | Muse writer: use unicode quotes for quoted text | Alexander Krotov | 1 | -4/+4 | |
2018-02-03 | Muse writer: write image width specified in percent in Text::Amuse mode | Alexander Krotov | 1 | -0/+3 | |
2018-01-30 | Muse writer: don't wrap displayMath into <verse> | Alexander Krotov | 1 | -1/+1 | |
<verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags. | |||||
2018-01-29 | Muse writer: escape nonbreaking space ("~~") | Alexander Krotov | 1 | -0/+1 | |
2018-01-27 | Docx writer tests: correct test name. | Jesse Rosenthal | 1 | -1/+1 | |
2018-01-27 | Docx writer tests: Add tests for custom styles | Jesse Rosenthal | 1 | -0/+10 | |