Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-02 | Muse reader: add <math> tag support | Alexander Krotov | 1 | -0/+5 | |
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-03-30 | Textile reader: fixed tables with no body rows. | John MacFarlane | 1 | -1/+1 | |
Previously these raised an exception. Closes #4513. | |||||
2018-03-29 | Removed unused extensions (#4506) | Anabra | 7 | -18/+10 | |
2018-03-28 | Mediawiki reader: improve table parsing. | John MacFarlane | 1 | -5/+18 | |
This fixes detection of table attributes and also handles `!` characters in cells. Closes #4508. | |||||
2018-03-26 | Cleanup Muse reader and writer | Alexander Krotov | 1 | -37/+19 | |
2018-03-25 | Muse reader: allow links to have empty descriptions | Alexander Krotov | 1 | -1/+1 | |
2018-03-25 | Muse reader: require block <literal> tags to be on separate lines | Alexander Krotov | 1 | -2/+8 | |
2018-03-18 | Removed unnecessary import. | John MacFarlane | 1 | -2/+0 | |
2018-03-18 | Removed old-locale flag and Text.Pandoc.Compat.Time. | John MacFarlane | 1 | -1/+1 | |
This is no longer necessary since we no longer support ghc 7.8. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 49 | -4/+96 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-17 | hlint fixes. | John MacFarlane | 4 | -8/+8 | |
2018-03-17 | Add support to parse unit string of \SI command (closes #4296). | Marc Schreiber | 1 | -1/+14 | |
2018-03-17 | More CSS around DocTable in Haddock reader. | John MacFarlane | 1 | -0/+2 | |
2018-03-16 | Allow earlier versions of haddock-library, use CPP. | John MacFarlane | 1 | -0/+2 | |
2018-03-16 | Better table handling for Haddock. | John MacFarlane | 1 | -1/+14 | |
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 | 15 | -29/+5 | |
2018-03-16 | Semigroup instance for Styles in T.P.Readers.Odt.StyleReader. | John MacFarlane | 1 | -2/+12 | |
2018-03-16 | Removed redundant import. | John MacFarlane | 1 | -3/+1 | |
2018-03-15 | Remove redundant import. | John MacFarlane | 1 | -1/+1 | |
2018-03-14 | RST reader: Allow unicode bullet characters. | John MacFarlane | 1 | -1/+1 | |
Closes #4454. | |||||
2018-03-13 | Require pandoc-types 1.17.4. | John MacFarlane | 5 | -7/+8 | |
And a few tweaks related to the Semigroups/Monoid change. Closes #4448. | |||||
2018-03-13 | Docx reader: Parse nested smart tags. | Jesse Rosenthal | 2 | -16/+11 | |
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-12 | Docx reader: remove unused docxWarnings | Alexander Krotov | 1 | -2/+0 | |
2018-03-12 | Muse reader: make parseBlocks similar to parseBlocksTill | Alexander Krotov | 1 | -4/+4 | |
2018-03-12 | Muse reader: require closing tag to have the same indentation as opening | Alexander Krotov | 1 | -1/+2 | |
2018-03-12 | Muse reader: do not reparse blocks inside unclosed block tag | Alexander Krotov | 1 | -4/+4 | |
Fixes #4425 | |||||
2018-03-10 | Muse reader: parse <class> tag | Alexander Krotov | 1 | -0/+8 | |
<class> tag is supported by Emacs Muse | |||||
2018-03-07 | Muse reader: do not produce empty Str element for unindented verse lines | Alexander Krotov | 1 | -2/+3 | |
2018-03-02 | Revert "Commonmark reader: parse HTML as plain text if `-raw_html`." | John MacFarlane | 1 | -2/+2 | |
This reverts commit 6dd21250288b51f10056b15a83130f76c788d904. | |||||
2018-03-02 | Commonmark reader: parse HTML as plain text if `-raw_html`. | John MacFarlane | 1 | -2/+2 | |
2018-03-03 | Muse reader: fix indentation requirements for footnote continuations | Alexander Krotov | 1 | -2/+2 | |
2018-03-02 | LaTeX reader: Fix regression in package options including underscore. | John MacFarlane | 1 | -1/+1 | |
Closes #4424. | |||||
2018-03-02 | hlint Muse reader and writer | Alexander Krotov | 1 | -2/+2 | |
2018-03-02 | Muse reader: enable <literal> tags even if amuse extension is enabled | Alexander Krotov | 1 | -2/+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 reader: remove space prefix from <literal> tag contents | Alexander Krotov | 1 | -6/+3 | |
2018-03-02 | Muse reader: do not consume whitespace while looking for closing end tag | Alexander Krotov | 1 | -1/+1 | |
Fix for a bug caught by round-trip test. | |||||
2018-02-28 | Docx reader: Handle nested sdt tags. | Jesse Rosenthal | 1 | -1/+1 | |
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415 | |||||
2018-02-28 | Muse reader: allow <quote> and other tags to be indented | Alexander Krotov | 1 | -2/+3 | |
2018-02-26 | LaTeX reader: make --trace work. | John MacFarlane | 1 | -2/+6 | |
2018-02-24 | Muse reader: allow single colon in definition list term | Alexander Krotov | 1 | -1/+1 | |
2018-02-23 | Docx reader: code cleanup. | Jesse Rosenthal | 1 | -10/+9 | |
Make the code in `runStyleToTransform` a bit more consistent. | |||||
2018-02-23 | Docx reader: simplify custom-style reading code. | Jesse Rosenthal | 1 | -41/+23 | |
2018-02-23 | Docx reader: Don't look up dependant run styles if +styles is enabled. | Jesse Rosenthal | 1 | -36/+39 | |
It makes more sense not to interpret -- otherwise using the original document as the reference-doc would produce two of everything: the interpreted version and the uninterpreted style version. | |||||
2018-02-23 | Muse reader: improve verse parsing | Alexander Krotov | 1 | -1/+2 | |
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists. | |||||
2018-02-22 | Docx reader: Move pandoc inline styling inside custom-style span | Jesse Rosenthal | 1 | -7/+7 | |
Previously Emph, Strong, etc were outside the custom-style span. This moves them inside in order to make it easier to write filters that act on the formatting in these contents. Tests and MANUAL example are changed to match. | |||||
2018-02-22 | Docx reader: Avoid repeated spans in custom styles. | Jesse Rosenthal | 1 | -10/+20 | |
The previous commit had a bug where custom-style spans would be read with every recurrsion. This fixes that, and changes the example given in the manual. | |||||
2018-02-22 | Docx reader: read custom styles | Jesse Rosenthal | 1 | -60/+96 | |
This will read all paragraph and character classes as divs and spans, respectively. Dependent styles will still be resolved, but will be wrapped with appropriate style tags. It is controlled by the `+styles` extension (`-f docx+styles`). This can be used in conjunction with the `custom-style` feature in the docx writer for a pandoc-docx editing workflow. Users can convert from an input docx, reading the custom-styles, and then use that same input docx file as a reference-doc for producing an output docx file. Styles will be maintained across the conversion, even if pandoc doesn't understand them. Without the extension: $ pandoc test/docx/custom-style-reference.docx -f docx -t markdown This is some text. This is text with an *emphasized* text style. And this is text with a **strengthened** text style. > Here is a styled paragraph that inherits from Block Text. With the extension: $ pandoc test/docx/custom-style-reference.docx -f docx+styles -t markdown ::: {custom-style="FirstParagraph"} This is some text. ::: ::: {custom-style="BodyText"} This is text with an *[[emphasized]{custom-style="Emphatic"}]{custom-style="Emphatic"}* text style. And this is text with a **[[strengthened]{custom-style="Strengthened"}]{custom-style="Strengthened"}** text style. ::: ::: {custom-style="MyBlockStyle"} Closes: #1843 | |||||
2018-02-21 | Org reader: allow changing emphasis syntax | Albert Krewinkel | 3 | -11/+39 | |
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-21 | Muse reader: replace setState with updateState where possible | Alexander Krotov | 1 | -18/+9 | |