Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-09-24 | Allow lua filters to return lists of elements | Albert Krewinkel | 2 | -61/+90 | |
Closes: #3918 | |||||
2017-09-20 | Fixed bug in determining writer for xelatex engine. | John MacFarlane | 1 | -1/+1 | |
This revises the last commit, fixing #3931. | |||||
2017-09-19 | Fix and simply latex engine code in App. | John MacFarlane | 1 | -47/+44 | |
Fixes #3931. | |||||
2017-09-17 | Added `--strip-comments` option, `readerStripComments` in `ReaderOptions`. | John MacFarlane | 4 | -8/+24 | |
* Options: Added readerStripComments to ReaderOptions. * Added `--strip-comments` command-line option. * Made `htmlTag` from the HTML reader sensitive to this feature. This affects Markdown and Textile input. Closes #2552. | |||||
2017-09-16 | Markdown reader: added inlines, inlines1. | John MacFarlane | 1 | -18/+23 | |
Eventually we'll add `processEmphasis` and `processBracketed` to this. This will allow us to conform to CommonMark rules and fix #3903 and #1735. | |||||
2017-09-15 | Set PANDOC_READER_OPTIONS in environment where filters are run. | John MacFarlane | 1 | -7/+16 | |
This contains a JSON representation of ReaderOptions. | |||||
2017-09-15 | Remove To/FromJSON instance for WriterOptions. | John MacFarlane | 1 | -4/+0 | |
This required the (now removed) instances for Syntax. It was too long, anyway, to be of use. | |||||
2017-09-14 | FromJSON/ToJSON instances for Reader, WriterOptions. | John MacFarlane | 2 | -0/+18 | |
Depends on skylighting 0.3.5. | |||||
2017-09-12 | Textile reader: allow 'pre' code in list item. | John MacFarlane | 1 | -8/+4 | |
Closes #3916. | |||||
2017-09-12 | Add default pdf engine for beamer. | John MacFarlane | 1 | -0/+1 | |
2017-09-12 | Use defaultLatexEngine instead of `head latexEngines`. | John MacFarlane | 1 | -3/+9 | |
Partial functions make me nervous. | |||||
2017-09-11 | Support for PDF generation via `weasyprint` and `prince` (#3909) | Mauro Bieg | 4 | -62/+108 | |
* Rename --latex-engine to --pdf-engine * In `Text.Pandoc.Options.WriterOptions`, rename `writerLaTeXEngine` to `writerPdfEngine` and `writerLaTeXArgs` to `writerPdfArgs`. * Add support for `weasyprint` and `prince`, in addition to `wkhtmltopdf`, for PDF generation via HTML (closes #3906). * `Text.Pandoc.PDF.html2pdf`: use stdin instead of intermediate HTML file | |||||
2017-09-11 | Merge pull request #3911 from labdsf/muse-reader-braces | John MacFarlane | 1 | -1/+8 | |
Muse reader: parse {{{ }}} example syntax | |||||
2017-09-11 | Muse reader: allow inline markup to be followed by punctuation | Alexander Krotov | 1 | -2/+3 | |
Previously code was not allowed to be followed by comma, and emphasis was allowed to be followed by letter. | |||||
2017-09-11 | Muse reader: parse {{{ }}} example syntax | Alexander Krotov | 1 | -1/+8 | |
2017-09-11 | Muse reader: parse verbatim tag | Alexander Krotov | 1 | -1/+6 | |
2017-09-10 | Muse reader: trim newlines from <example>s | Alexander Krotov | 1 | -1/+10 | |
2017-09-09 | Muse reader: debug inline code markup | Alexander Krotov | 1 | -9/+6 | |
2017-09-08 | Write euro symbol directly in LaTeX | Andrew Dunning | 1 | -6/+0 | |
The textcomp package allows pdfLaTeX to parse `€` directly, making the \euro command unneeded. Closes #3801. | |||||
2017-09-08 | Removed old beamer template. | John MacFarlane | 2 | -0/+2 | |
We now use the default.latex template for both latex and beamer. It contains conditionals for the beamer-specific things. `pandoc -D beamer` will return this template. | |||||
2017-09-07 | Markdown writer: Escape pipe characters when `pipe_tables` enabled. | John MacFarlane | 1 | -0/+1 | |
Closes #3887. | |||||
2017-09-07 | LaTeX writer: use proper code for list enumerators. | John MacFarlane | 1 | -2/+13 | |
This should fix problems with lists that don't use arabic numerals. Closes #3891. | |||||
2017-09-06 | Muse reader: Allow finishing header with EOF (#3897) | Alexander | 1 | -5/+9 | |
2017-09-05 | LaTeX reader: Better support for ogonek accents. | John MacFarlane | 1 | -0/+10 | |
2017-09-05 | Markdown writer: make Span with null attribute transparent. | John MacFarlane | 1 | -4/+3 | |
That is, we don't use brackets or `<span>` tags to mark spans when there are no attributes; we simply output the contents. | |||||
2017-09-05 | LaTeX reader: Improve handling of accents. | John MacFarlane | 1 | -15/+17 | |
Handle ogonek, and fall back correctly with forms like `\"{}`. | |||||
2017-09-05 | LaTeX reader: support `\k` ogonek accent. | John MacFarlane | 1 | -0/+5 | |
2017-09-05 | Muse reader: require at least one space char after * in header (#3895) | Alexander | 1 | -1/+1 | |
2017-09-04 | Plain writer: don't use to separate list and indented code. | John MacFarlane | 1 | -3/+6 | |
There's no need for it in this context, since this isn't to be interpreted using Markdown rules. | |||||
2017-09-04 | Muse reader: parse <div> tag (#3888) | Alexander | 1 | -0/+7 | |
2017-09-04 | HTML reader: Fix pattern match. | John MacFarlane | 1 | -1/+1 | |
2017-09-01 | Org writer: stop using raw HTML to wrap divs | Albert Krewinkel | 1 | -37/+26 | |
Div's are difficult to translate into org syntax, as there are multiple div-like structures (drawers, special blocks, greater blocks) which all have their advantages and disadvantages. Previously pandoc would use raw HTML to preserve the full div information; this was rarely useful and resulted in visual clutter. Div-rendering was changed to discard the div's classes and key-value pairs if there is no natural way to translate the div into an org structure. Closes: #3771 | |||||
2017-08-30 | HTML reader: improved handling of figure. | John MacFarlane | 1 | -17/+17 | |
Previously we had a parse failure if the figure contained anything besides an image and caption. | |||||
2017-08-29 | Muse reader: parse verse markup (#3882) | Alexander | 1 | -1/+21 | |
2017-08-29 | hlint Muse reader (#3884) | Alexander | 1 | -4/+3 | |
2017-08-29 | Add a type sig to satisfy ghc 7.10.3. | John MacFarlane | 1 | -0/+1 | |
2017-08-28 | HTML writer: ensure we don't get two style attributes for width & height. | John MacFarlane | 1 | -2/+8 | |
2017-08-28 | RST reader: handle blank lines correctly in line blocks (#3881) | Alexander | 1 | -1/+1 | |
Previously pandoc would sometimes combine two line blocks separated by blanks, and ignore trailing blank lines within the line block. Test is checked to be consisted with http://rst.ninjs.org/ | |||||
2017-08-27 | RST reader: Fixed `..include::` directive. | John MacFarlane | 1 | -9/+9 | |
Closes #3880. | |||||
2017-08-26 | Markdown writer: don't crash on Str "". | John MacFarlane | 1 | -1/+1 | |
2017-08-25 | LaTeX reader: improved support for \hyperlink, \hypertarget. | John MacFarlane | 1 | -6/+23 | |
Closes #2549. | |||||
2017-08-25 | Muse reader: parse <verse> tag (#3872) | Alexander | 1 | -1/+21 | |
2017-08-24 | LaTeX reader: RN and Rn, from biblatex (#3854) | bucklereed | 1 | -1/+29 | |
2017-08-23 | Text.Pandoc.Lua: fix fallback functions with GHC 7.8 | Albert Krewinkel | 1 | -2/+2 | |
2017-08-22 | Muse reader: avoid crashes on multiparagraph inline tags (#3866) | Alexander | 1 | -2/+2 | |
Test checks that behavior is consistent with Amusewiki | |||||
2017-08-22 | Muse reader: do not allow closing tags with EOF (#3863) | Alexander | 1 | -3/+2 | |
This behavior is compatible to Amusewiki | |||||
2017-08-22 | Text.Pandoc.Lua: support Inline and Block catch-alls | Albert Krewinkel | 1 | -6/+8 | |
Try function `Inline`/`Block` if no other filter function of the respective type matches an element. Closes: #3859 | |||||
2017-08-22 | Text.Pandoc.Lua: respect metatable when getting filters | Albert Krewinkel | 1 | -52/+76 | |
This change makes it possible to define a catch-all function using lua's metatable lookup functionality. function catch_all(el) … end return { setmetatable({}, {__index = function(_) return catch_all end}) } A further effect of this change is that the map with filter functions now only contains functions corresponding to AST element constructors. | |||||
2017-08-21 | Muse reader: add definition list support (#3860) | Alexander | 1 | -1/+28 | |
2017-08-20 | LaTeX reader: Set identifiers on Spans used for \label. | John MacFarlane | 1 | -1/+2 | |