Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-17 | Removed redundant import of <> | John MacFarlane | 1 | -1/+1 | |
2018-03-13 | Docx reader: add tests for nested smart tags. | Jesse Rosenthal | 1 | -0/+4 | |
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-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 | 1 | -0/+9 | |
2018-03-07 | Muse reader: do not produce empty Str element for unindented verse lines | Alexander Krotov | 1 | -0/+1 | |
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-03 | Muse reader: fix indentation requirements for footnote continuations | Alexander Krotov | 1 | -0/+10 | |
2018-03-02 | Muse reader: enable <literal> tags even if amuse extension is enabled | Alexander Krotov | 1 | -9/+0 | |
Amusewiki disables <literal> tags for security reasons. If user wants similar behavior in pandoc, RawBlocks and RawInlines can be removed or replaced with filters. | |||||
2018-03-02 | Muse writer: join strings during inline normalization | Alexander Krotov | 1 | -0/+1 | |
2018-03-02 | Muse reader: do not consume whitespace while looking for closing end tag | Alexander Krotov | 1 | -0/+11 | |
Fix for a bug caught by round-trip test. | |||||
2018-03-02 | Muse reader: convert alphabetical list markers to decimal in round-trip test | Alexander Krotov | 1 | -0/+2 | |
Alphabetical lists are an addition of Text::Amuse. They are not present in Emacs Muse and can be ambiguous when list starts with "i.", "c." etc. | |||||
2018-02-28 | Docx reader: Handle nested sdt tags. | Jesse Rosenthal | 1 | -0/+4 | |
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415 | |||||
2018-02-28 | Muse reader: add test for verse tag with one empty line | Alexander Krotov | 1 | -0/+6 | |
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-28 | Muse reader: allow <quote> and other tags to be indented | Alexander Krotov | 1 | -0/+6 | |
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-26 | Org reader tests: move citation tests to separate module | Albert Krewinkel | 2 | -167/+181 | |
2018-02-25 | Tests/Lua: fix tests on windows | Albert Krewinkel | 1 | -1/+1 | |
2018-02-24 | Lua: register script name in global variable | Albert Krewinkel | 1 | -0/+6 | |
The name of the Lua script which is executed is made available in the global Lua variable `PANDOC_SCRIPT_FILE`, both for Lua filters and custom writers. Closes: #4393 | |||||
2018-02-24 | Muse reader: allow single colon in definition list term | Alexander Krotov | 1 | -0/+3 | |
2018-02-23 | Muse writer: don't indent nested definition lists | Alexander Krotov | 1 | -2/+2 | |
2018-02-23 | Muse reader: improve verse parsing | Alexander Krotov | 1 | -0/+11 | |
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists. | |||||
2018-02-22 | Docx reader tests: test custom style extension. | Jesse Rosenthal | 1 | -0/+11 | |
2018-02-21 | Org reader: allow changing emphasis syntax | Albert Krewinkel | 1 | -1/+19 | |
The characters allowed before and after emphasis can be configured via `#+pandoc-emphasis-pre` and `#+pandoc-emphasis-post`, respectively. This allows to change which strings are recognized as emphasized text on a per-document or even per-paragraph basis. The allowed characters must be given as (Haskell) string. #+pandoc-emphasis-pre: "-\t ('\"{" #+pandoc-emphasis-post: "-\t\n .,:!?;'\")}[" If the argument cannot be read as a string, the default value is restored. Closes: #4378 | |||||
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-19 | Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags reader | Alexander Krotov | 1 | -1/+4 | |
2018-02-18 | Powerpoint writer: Add tests for speaker notes. | Jesse Rosenthal | 1 | -0/+5 | |
2018-02-16 | Muse reader: prioritize lists with roman numerals over alphabetical lists | Alexander Krotov | 1 | -0/+12 | |
This is to make sure "i." starts a roman numbered list, instead of a list with letter "i" (followed by "j", "k", ..."). | |||||
2018-02-15 | Docx reader: Pick table width from the longest row or header | danse | 1 | -0/+4 | |
This change is intended to preserve as much of the table content as possible Closes #4360 | |||||
2018-02-15 | Muse reader: fix directive parsing | Alexander Krotov | 1 | -0/+15 | |
This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19. | |||||
2018-02-15 | Muse writer: use unicode quotes for quoted text | Alexander Krotov | 1 | -4/+4 | |
2018-02-13 | Muse reader: parse definition lists with multiple descriptions | Alexander Krotov | 1 | -7/+20 | |
2018-02-12 | Muse reader: refactor to avoid reparsing | Alexander Krotov | 1 | -1/+40 | |
Lists are parsed in linear instead of exponential time now. Contents of block tags, such as <quote>, is parsed directly, without storing it in a string and parsing with parseFromString. Fixed a bug: headers did not terminate lists. | |||||
2018-02-12 | Muse reader: paragraph indentation does not indicate nested quote | Alexander Krotov | 1 | -0/+6 | |
Muse allows indentation to indicate quotation or alignment, but only on the top level, not within a <quote> or list. This patch also simplifies the code by removing museInQuote and museInList fields from the state structure. Headers and indented paragraphs are attempted to be parsed only at the topmost level, instead of aborting parsing with guards. | |||||
2018-02-11 | Muse reader: test empty quote tag | Alexander Krotov | 1 | -0/+5 | |
2018-02-11 | Muse reader: require that block tags are on separate lines | Alexander Krotov | 1 | -19/+26 | |
Text::Amuse already explicitly requires it anyway. Supporting block tags on the same line as contents makes it hard to combine closing tag parsers with indentation parsers. Being able to combine parsers is required for no-reparsing refactoring of Muse reader. |