Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-11 | Create shared OOXML writer file. | Jesse Rosenthal | 2 | -33/+110 | |
This is for functions used by both Powerpoint and Docx writers. | |||||
2017-12-11 | Add default pptx data for Powerpoint writer. | Jesse Rosenthal | 39 | -0/+76 | |
2017-12-10 | Changes for skylighting-0.5. | John MacFarlane | 9 | -86/+106 | |
This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128. | |||||
2017-12-10 | Lua filters: fix package loading for Lua 5.1 | Albert Krewinkel | 1 | -1/+4 | |
The list of package searchers is named `package.loaders` in Lua 5.1 and LuaJIT, and `package.searchers` in Lua 5.2 and later. | |||||
2017-12-09 | Man writer: omit internal links. | John MacFarlane | 1 | -0/+2 | |
That is, just print the link text without the url. Closes #4136. | |||||
2017-12-08 | Travis: fix path to ensure that installed ghc is first in path. | John MacFarlane | 1 | -1/+1 | |
2017-12-08 | LaTeX reader: fix \ before newline. | John MacFarlane | 2 | -3/+39 | |
This should be a nonbreaking space, as long as it's not followed by a blank line. This has been fixed at the tokenizer level. Closes #4134. | |||||
2017-12-08 | README: fix groff ms link | Albert Krewinkel | 1 | -0/+1 | |
2017-12-07 | Add '-threaded' to ghc-options for executable. | John MacFarlane | 1 | -1/+1 | |
2017-12-06 | Markdown reader: accept processing instructions as raw HTML. | John MacFarlane | 2 | -2/+9 | |
Closes #4125. | |||||
2017-12-06 | Lua filters: use script to initialize the interpreter | Albert Krewinkel | 5 | -14/+46 | |
The file `init.lua` is used to initialize the Lua interpreter which is used in Lua filters. This gives users the option to require libraries which they want to use in all of their filters, and to extend default modules. | |||||
2017-12-02 | Lua filters: refactor lua module handling | Albert Krewinkel | 8 | -71/+204 | |
The integration with Lua's package/module system is improved: A pandoc-specific package searcher is prepended to the searchers in `package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now be loaded via `require`. | |||||
2017-12-04 | Bump lower bound of hslua | Albert Krewinkel | 3 | -3/+3 | |
The release hslua 0.9.3 contains a new function which makes using Haskell functions as package loaders much easier. | |||||
2017-12-06 | hlint Muse reader and tests | Alexander Krotov | 2 | -8/+8 | |
2017-12-06 | Muse reader: add test for #disable-tables directive in Emacs mode | Alexander Krotov | 1 | -7/+13 | |
2017-12-06 | Muse reader: don't allow emphasis to be preceded by letter | Alexander Krotov | 2 | -2/+16 | |
2017-12-05 | Muse reader: support multiline directives in Amusewiki mode | Alexander Krotov | 1 | -4/+24 | |
2017-12-04 | reveal.js template: add title-slide identifier to title slide. | John MacFarlane | 1 | -1/+1 | |
This allows it to be styled more easily. Closes #4120. | |||||
2017-12-04 | Rewrite empty_paragraphs test so it will run on Windows. | John MacFarlane | 1 | -4/+4 | |
2017-12-04 | Markdown reader: Don't parse native div as table caption. | John MacFarlane | 2 | -1/+19 | |
Closes #4119. | |||||
2017-12-04 | Add `empty_paragraphs` extension. | John MacFarlane | 15 | -80/+175 | |
* Deprecate `--strip-empty-paragraphs` option. Instead we now use an `empty_paragraphs` extension that can be enabled on the reader or writer. By default, disabled. * Add `Ext_empty_paragraphs` constructor to `Extension`. * Revert "Docx reader: don't strip out empty paragraphs." This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b. * Implement `empty_paragraphs` extension in docx reader and writer, opendocument writer, html reader and writer. * Add tests for `empty_paragraphs` extension. | |||||
2017-12-04 | MANUAL: note on extensions in gfm. | John MacFarlane | 1 | -2/+3 | |
2017-12-04 | Muse reader: add underline support in Emacs Muse mode | Alexander Krotov | 2 | -1/+11 | |
2017-12-03 | Update changelog. | John MacFarlane | 1 | -3/+17 | |
2017-12-03 | Include default CSS for 'underline' class in HTML-based templates. | John MacFarlane | 16 | -0/+16 | |
2017-12-03 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-12-03 | Test for #4113. | John MacFarlane | 1 | -0/+12 | |
Closes #4113. | |||||
2017-12-03 | commonmark/gfm writer: use raw html for native divs/spans. | John MacFarlane | 1 | -4/+14 | |
This allows a pandoc markdown native div or span to be rendered in gfm using raw html tags. | |||||
2017-12-03 | HTML writer: export tagWithAttributes. | John MacFarlane | 1 | -2/+19 | |
This is a helper allowing other writers to create single HTML tags. | |||||
2017-12-03 | commonmark/gfm writer: implement `raw_html` and `raw_tex` extensions. | John MacFarlane | 1 | -6/+12 | |
Note that `raw_html` is enabled by default for `gfm`, while `raw_tex` is disabled by default. | |||||
2017-12-02 | Bump bounds for binary, http-types, tasty-hunit | John MacFarlane | 1 | -3/+3 | |
2017-12-02 | Update man page and MANUAL date. | John MacFarlane | 2 | -4/+19 | |
2017-12-02 | Update changelog. | John MacFarlane | 1 | -1/+18 | |
2017-12-02 | Docx writer: allow empty paragraphs. | John MacFarlane | 2 | -4/+8 | |
See #2252. This also changes fixDisplayMath from Text.Pandoc.Writers.Shared so that it no longer produces empty Para as an artifact. (That was the original reason the writer omitted them.) | |||||
2017-12-02 | Docx reader: don't strip out empty paragraphs. | John MacFarlane | 5 | -19/+39 | |
We now have the `--strip-empty-paragraphs` option for that, if you want it. Closes #2252. Updated docx reader tests. We use stripEmptyParagraphs to avoid changing too many tests. We should add new tests for empty paragraphs. | |||||
2017-12-02 | Shared.blocksToInlines: rewrote using builder. | John MacFarlane | 1 | -24/+27 | |
This gives us automatic normalization, so we don't get for example two consecutive Spaces. | |||||
2017-12-02 | Add --strip-empty-paragraphs option. | John MacFarlane | 3 | -5/+30 | |
This works for any input format. | |||||
2017-12-02 | Bump to 2.0.4, update changelog. | John MacFarlane | 2 | -1/+130 | |
2017-12-02 | Update tested-with. | John MacFarlane | 1 | -1/+1 | |
2017-12-02 | LaTeX writer: escape `_` in code with --listings. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | revealjs template: added a necessary escape. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | reveal.js template: include tex2jax configuration. | John MacFarlane | 1 | -0/+12 | |
This ensures that we don't use $..$ delimiters, which gives bad results when $ is used as a currency sign. This depends on the current dev version of reveal.js. | |||||
2017-12-01 | LaTeX writer: allow specifying just width or height for image size. | John MacFarlane | 2 | -2/+7 | |
Previously both needed to be specified (unless the image was being resized to be smaller than its original size). If height but not width is specified, we now set width to textwidth (and similarly if width but not height is specified). Since we have keepaspectratio, this yields the desired result. | |||||
2017-12-01 | LaTeX writer: escape ~ in code with --listings. | John MacFarlane | 1 | -1/+1 | |
Closes #4111. | |||||
2017-12-01 | Revert "LaTeX writer: Add keepaspectratio to includegraphics..." | John MacFarlane | 2 | -7/+2 | |
This reverts commit 171187a4527497701b3c77bd56cea2d770d4e3b0. | |||||
2017-12-01 | pandoc.lua: set metatable on List MetaValues | Albert Krewinkel | 1 | -10/+10 | |
The `List` metatable is assigned to the tables which get passed to the constructors `MetaBlocks`, `MetaInline`, and `MetaList`. This enables the use of the resulting objects as lists. This is part of the changes discussed in #4081. | |||||
2017-12-01 | Lua/StackInstances: push Pandoc and Meta via constructor | Albert Krewinkel | 3 | -7/+31 | |
Pandoc and Meta elements are now pushed by calling the respective constructor functions of the pandoc Lua module. This makes serialization consistent with the way blocks and inlines are pushed to lua and allows to use List methods with the `blocks` value. | |||||
2017-12-01 | lua-filters.md: add documentation for pandoc.List | Albert Krewinkel | 2 | -10/+128 | |
2017-12-01 | List.lua: add missing fixes as discussed in #4099 | Albert Krewinkel | 3 | -24/+35 | |
The changes were missing due to an error while using git. | |||||
2017-11-30 | LaTeX writer: Add keepaspectratio to includegraphics... | John MacFarlane | 2 | -2/+7 | |
...if only one of height/width is given. |