Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-18 | Lua filters: preload text module (#4077) | Albert Krewinkel | 1 | -0/+2 | |
The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end | |||||
2017-11-18 | Muse reader: Add Text::Amuse footnote extensions | Alexander Krotov | 1 | -6/+29 | |
Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it. | |||||
2017-11-16 | Introduce `HasSyntaxExtensions` typeclass (#4074) | Alexander | 2 | -15/+20 | |
+ Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`. + Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions` and `WriterOptions`. + Replaced `enabled` from `CommonMark.hs` with new `isEnabled`. | |||||
2017-11-15 | Creole reader: Fix performance issue for longer lists. (#4075) | Sascha Wilde | 1 | -1/+1 | |
Fixes #4067. | |||||
2017-11-14 | Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug where pandoc would stop parsing a URI with an empty attribute: for example, `&a=&b=` wolud stop at `a`. (The uri parser tries to guess which punctuation characters are part of the URI and which might be punctuation after it.) Closes #4068. | |||||
2017-11-14 | RST reader: better support for 'container' directive. | John MacFarlane | 1 | -1/+3 | |
Create a div, incorporate name attribute and classes. Closes #4066. | |||||
2017-11-14 | EPUB writer: Fixed path for cover image. | John MacFarlane | 1 | -1/+1 | |
It was previously `media/media/imagename`, and should have been `media/imagename`. | |||||
2017-11-14 | EPUB writer: fix paths for cover image. | John MacFarlane | 1 | -2/+2 | |
Closes #4069. | |||||
2017-11-13 | LaTeX reader: allow optional arguments on `\footnote`. | John MacFarlane | 1 | -2/+2 | |
Closes #4062. | |||||
2017-11-13 | Markdown writer: fix bug with doubled footnotes in grid tables. | John MacFarlane | 1 | -12/+22 | |
Closes #4061. | |||||
2017-11-13 | Replace "emacs" extension with "amuse" extension | Alexander Krotov | 2 | -2/+5 | |
It makes clear that extension is related to Muse markup. | |||||
2017-11-12 | Fix comment that confuses haddock. | John MacFarlane | 1 | -1/+1 | |
2017-11-12 | LaTeX reader: support column specs like `*{2}{r}`. | John MacFarlane | 1 | -3/+13 | |
This is equivalent to `rr`. We now expand it like a macro. Closes #4056. | |||||
2017-11-12 | LaTeX reader: allow optional args for parbox. | John MacFarlane | 1 | -1/+1 | |
See #4056. | |||||
2017-11-12 | Muse reader: accept Emacs Muse definition lists | Alexander Krotov | 1 | -1/+2 | |
Emacs Muse does not require indentation. | |||||
2017-11-12 | Add emacs extension | Alexander Krotov | 1 | -0/+1 | |
2017-11-11 | Functor instance to fix ghc 7.8 warning. | John MacFarlane | 1 | -1/+1 | |
2017-11-11 | Add lua filter functions to walk inline and block elements. | John MacFarlane | 3 | -148/+192 | |
Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module. | |||||
2017-11-11 | Fixed YAML metadata with "chomp" (`|-`). | John MacFarlane | 1 | -2/+2 | |
Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata. | |||||
2017-11-11 | MediaWiki reader: hlint | Alexander Krotov | 1 | -13/+13 | |
2017-11-10 | Txt2Tags reader: hlint | Alexander Krotov | 1 | -27/+25 | |
2017-11-10 | Vimwiki reader: hlint | Alexander Krotov | 1 | -17/+17 | |
2017-11-09 | Allow fenced code blocks to be indented 1-3 spaces. | John MacFarlane | 1 | -2/+6 | |
This brings our handling of them into alignment with CommonMark's. Closes #??. | |||||
2017-11-10 | HTML reader: hlint | Alexander Krotov | 1 | -31/+30 | |
2017-11-08 | Fix regression with --metadata. | John MacFarlane | 1 | -4/+10 | |
It should replace a metadata value set in the document itself, rather than creating a list including a new value. Closes #4054. | |||||
2017-11-08 | EPUB writer: fixed modified paths for raw HTML tags | John MacFarlane | 1 | -2/+2 | |
(src, poster, etc.) This had not been updated for the new EPUB container layout, with a separate text/ subdirectory. Closes #4050. Closes #4055. | |||||
2017-11-07 | Deprecated ancient HTML math methods. | John MacFarlane | 1 | -24/+38 | |
`--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath` | |||||
2017-11-07 | EPUB writer: fixed EPUB OCF structure. | John MacFarlane | 1 | -65/+82 | |
The structure of the EPUBs was messed up, and #3720 was improperly implemented. This commit fixes things. | |||||
2017-11-07 | EPUB writer: fix image paths with empty `--epub-subdirectory`. | John MacFarlane | 1 | -3/+9 | |
2017-11-06 | Spellcheck comments | Alexander Krotov | 2 | -6/+6 | |
2017-11-04 | Logging: issue INFO, not WARNING, if LaTeX .sty file can't be read. | John MacFarlane | 1 | -1/+4 | |
Normally this is not a situation requiring a fix from the user, so a warning is inappropriate. | |||||
2017-11-04 | Revert "Better indentation under headers in org mode output." | John MacFarlane | 1 | -26/+14 | |
This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7. | |||||
2017-11-04 | Better indentation under headers in org mode output. | John MacFarlane | 1 | -14/+26 | |
See #4036. Close examination by org experts needed, to ensure that nothing breaks. | |||||
2017-11-04 | Fix strikethrough in gfm writer. | John MacFarlane | 1 | -1/+1 | |
Previously we got a crash, because we were trying to print a native cmark STRIKETHROUGH node, and the commonmark writer in cmark-github doesn't support this. Work around this by using a raw node to add the strikethrough delimiters. Closes #4038. | |||||
2017-11-02 | Improved support for columns in HTML. | John MacFarlane | 1 | -5/+2 | |
* Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028. | |||||
2017-11-02 | Support `lineAnchors` (or `line-anchors`) in code blocks, for HTML. | John MacFarlane | 1 | -0/+2 | |
2017-11-02 | Use latest skylighting; ensure no duplicate ids on code lines. | John MacFarlane | 2 | -5/+16 | |
The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031. | |||||
2017-11-02 | Fixed revealjs slide column width issues. | John MacFarlane | 1 | -2/+7 | |
* Remove "width" attribute which is not allowed on div. * Remove space between `<div class="column">` elements, since this prevents columns whose widths sum to 100% (the space takes up space). Closes #4028. | |||||
2017-11-02 | hlint | Alexander Krotov | 7 | -28/+25 | |
2017-11-01 | SelfContained: use base64 for css links with media attribute. | John MacFarlane | 1 | -0/+1 | |
This fixes `--self-contained` with s5. Closes #4026. | |||||
2017-11-01 | Really fix #3989. | John MacFarlane | 1 | -5/+12 | |
The previous fix only worked in certain cases. Other cases with `>` in an HTML attribute broke. | |||||
2017-11-01 | hlint | Alexander Krotov | 18 | -53/+53 | |
2017-11-01 | FB2 writer: Add "unrecognised" genre to <title-info> | Alexander Krotov | 1 | -1/+2 | |
XML schema requires at least one genre. | |||||
2017-11-01 | FB2 writer: remove <annotation> from <body> | Alexander Krotov | 1 | -11/+2 | |
<annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424 | |||||
2017-11-01 | Merge pull request #4009 from mb21/html-class-names | John MacFarlane | 1 | -3/+3 | |
HTML Writer: consistently use dashed class-names | |||||
2017-11-01 | Merge pull request #4008 from labdsf/fb2-bullets | John MacFarlane | 1 | -8/+4 | |
FB2 writer: make bullet lists consistent with ordered lists | |||||
2017-10-31 | Properly pass through author metadata in JATS writer. | John MacFarlane | 1 | -41/+14 | |
Closes #4020. | |||||
2017-10-31 | Fixed regression in parsing of HTML comments in markdown... | John MacFarlane | 1 | -2/+3 | |
and other non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`). The parser stopped at the first `>` character, even if it wasn't the end of the comment. Closes #4019. | |||||
2017-11-01 | Merge pull request #4018 from swilde/creole-fixes | John MacFarlane | 1 | -5/+7 | |
Creole Reader: fix lists with triling white space | |||||
2017-10-31 | Creole reader: fixed some minor typos and formatting. | Sascha Wilde | 1 | -4/+5 | |