Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-22 | LaTeX reader: use applyMacros in rawLaTeXBlock, rawLaTeXInline. | John MacFarlane | 1 | -2/+5 | |
2017-12-22 | LaTeX reader: Refactored inlineCommand. | John MacFarlane | 1 | -24/+11 | |
2017-12-22 | API change: export blocksToInlines' from Text.Pandoc.Shared | mb21 | 3 | -3/+4 | |
2017-12-22 | doc/lua-filter.md: document pandoc.utils.stringify | Albert Krewinkel | 1 | -10/+27 | |
Change: minor | |||||
2017-12-22 | Lua modules: add stringify function to pandoc.utils | Albert Krewinkel | 3 | -9/+52 | |
The new function `pandoc.utils.stringify` converts any AST element to a string with formatting removed. | |||||
2017-12-22 | Lua.Util: avoid altering the stack if peeking fails | Albert Krewinkel | 1 | -4/+12 | |
The stack now remains unaltered if `getRawInt` or `getTable` fail. This is important when those functions are used in an operation that is part of an Alternative. Change: minor | |||||
2017-12-22 | RST writer: fix anchors for headers. | John MacFarlane | 2 | -2/+2 | |
We were missing an `_`. See #4188. | |||||
2017-12-22 | PowerPoint writer: Treat lists inside BlockQuotes as lists | Jesse Rosenthal | 1 | -1/+13 | |
We don't yet produce incremental lists in PowerPoint, but we should at least treat lists inside BlockQuotes as lists, for compatibility with other slide formats. | |||||
2017-12-21 | Mention JATS output (and input) in MANUAL, README, cabal description. | John MacFarlane | 3 | -9/+10 | |
2017-12-21 | Merge pull request #4177 from stencila/jats-xml-reader | John MacFarlane | 10 | -20/+2761 | |
Add Basic JATS reader based on DocBook reader | |||||
2017-12-21 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 2 | -278/+100 | |
2017-12-21 | Docx writer: ensure that `distArchive` is the one that comes with pandoc. | John MacFarlane | 1 | -2/+6 | |
Previously a `reference.docx` in `~/.pandoc` (or the user data dir) would be used instead, and this could cause problems because a user-modified docx sometimes lacks vital sections that we count on the `distArchive` to supply. Closes #4182. | |||||
2017-12-21 | JATS writer: Make <p> optional in <td> and <th> (#4178) | Hamish Mackenzie | 2 | -276/+95 | |
If the contents are single `Plain` block then do not wrap them with a <p> element. | |||||
2017-12-21 | jats writer: Self closing tags for empty xref (#4187) | Hamish Mackenzie | 1 | -2/+5 | |
2017-12-22 | Improve support for code language in JATS | Hamish Mackenzie | 4 | -21/+59 | |
2017-12-21 | Change notes to a smaller size. | Jesse Rosenthal | 1 | -5/+22 | |
This will allow more to fit on a single slide, and will probably look better. | |||||
2017-12-21 | PowerPoint writer: Add ability to force size. | Jesse Rosenthal | 1 | -2/+6 | |
This replaces the more specific blockQuote runProp, which only affected the size of blockquotes. We can use this for notes, etc. | |||||
2017-12-21 | Lua modules: added pandoc.utils module | Albert Krewinkel | 6 | -22/+79 | |
A new module `pandoc.utils` has been created. It holds utility functions like `sha1`, which was moved from the main `pandoc` module. | |||||
2017-12-21 | Lua modules: make a Haskell module for each Lua module | Albert Krewinkel | 4 | -74/+113 | |
Definitions for the `pandoc.mediabag` modules are moved to a separate Haskell module. Change: minor | |||||
2017-12-21 | Lua modules: move to dedicated submodule | Albert Krewinkel | 5 | -35/+38 | |
The Haskell module defining the Lua `pandoc` module is moved to Text.Pandoc.Lua.Module.Pandoc. Change: minor | |||||
2017-12-21 | MANUAL.txt use native syntax for custom-style (#4174) | Mauro Bieg | 1 | -6/+6 | |
2017-12-21 | LaTeX reader: Fixed subtle bug in tokenizer. | John MacFarlane | 1 | -2/+3 | |
Material following `^^` was dropped if it wasn't a character escape. This only affected invalid LaTeX, so we didn't see it in the wild, but it appeared in a QuickCheck test failure https://travis-ci.org/jgm/pandoc/jobs/319812224 | |||||
2017-12-21 | Removed default.theme data file. | John MacFarlane | 2 | -179/+0 | |
It is no longer needed now that we have `--print-highlight-style`. See #4096. | |||||
2017-12-21 | PowerPoint writer: Implement notes | Jesse Rosenthal | 1 | -2/+30 | |
This currently prints all notes on a final slide. Note that at the moment, there is a danger of text overflowing the note slide, since there is no logic for adding further slides. A future commit will shrink the font size on these notes, but that won't take care of the problem altogether. (We might have to implement some sort of clumsy page-breaking logic here based on font size and text-box dimensions, though that seems like a can of worms.) | |||||
2017-12-21 | PowerPoint writer: Register notes to state. | Jesse Rosenthal | 1 | -0/+8 | |
When we encounter a note, we write it to the state directory of notes, and input a superscript. | |||||
2017-12-21 | Add Note state to PowerPoint writer. | Jesse Rosenthal | 1 | -0/+2 | |
First step toward implementing notes in pptx writer. | |||||
2017-12-21 | Implement basic definition list functionality to PowerPoint writer. | Jesse Rosenthal | 1 | -0/+9 | |
These are currently implemented in terms of a Bold para for the terms, and then blockquotes for the definitions. THis can be refined a bit in the future. | |||||
2017-12-21 | Don't look for default template file for Powerpoint. | Jesse Rosenthal | 1 | -0/+1 | |
When using readerStandalone, this keeps us from looking for a non-existent template pptx file. Closes #4181 | |||||
2017-12-21 | Add pptx to isTextFormat list | Jesse Rosenthal | 1 | -1/+1 | |
This is used to check standalone and not writing to the terminal. | |||||
2017-12-21 | Org writer: do not wrap "-" to avoid accidental bullet lists | Alexander Krotov | 2 | -7/+21 | |
Also add TODO for ordered lists. | |||||
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 4 | -6/+27 | |
2017-12-20 | Lua modules: turn pipe, read into full Haskell functions | Albert Krewinkel | 3 | -78/+77 | |
The `pipe` and `read` utility functions are converted from hybrid lua/haskell functions into full Haskell functions. This avoids the need for intermediate `_pipe`/`_read` helper functions, which have dropped. | |||||
2017-12-20 | Test more pandoc Lua module functions | Albert Krewinkel | 2 | -0/+80 | |
The functions `sha1`, `read`, and `pipe` are now tested. Change: minor | |||||
2017-12-20 | Travis: use --jobs=2 for installing dependencies. | John MacFarlane | 1 | -1/+1 | |
In hopes this will help with the OOM problems. | |||||
2017-12-20 | makefile: use lts-10 resolver. | John MacFarlane | 1 | -1/+1 | |
2017-12-20 | Org reader: fix asterisks-related parsing error | Albert Krewinkel | 1 | -1/+1 | |
A parsing error was fixed which caused the org reader to fail when parsing a paragraph starting with two or more asterisks. Fixes: #4180 | |||||
2017-12-20 | Muse reader: require that note references does not start with 0 | Alexander Krotov | 2 | -1/+17 | |
2017-12-19 | Stack builds with lts-10.0. | John MacFarlane | 3 | -32/+8 | |
2017-12-20 | Add Basic JATS reader based on DocBook reader | Hamish Mackenzie | 8 | -1/+2704 | |
2017-12-19 | Muse writer: don't wrap note references to the next line | Alexander Krotov | 2 | -1/+36 | |
Closes #4172. | |||||
2017-12-19 | Fix for #4171 fix: don't wrap note references after SoftBreak | Alexander Krotov | 2 | -0/+16 | |
2017-12-19 | pandoc.lua: re-add missing MetaMap function | Albert Krewinkel | 1 | -1/+4 | |
This was a bug introduced in version 2.0.4 (commit 3f1f9536d4817bbdd797c01050a887fe4cdf347c). | |||||
2017-12-19 | Muse reader: parse empty comments correctly | Alexander Krotov | 2 | -2/+3 | |
2017-12-18 | Org writer: don't allow fn refs to wrap to beginning of line. | John MacFarlane | 2 | -1/+16 | |
Otherwise they can be interpreted as footnote definitions. Closes #4171. | |||||
2017-12-18 | Lua filters: perform minor code clean-up | Albert Krewinkel | 2 | -11/+8 | |
Change: minor | |||||
2017-12-17 | OPML reader: enable raw HTML and other extensions by default for notes. | John MacFarlane | 3 | -9/+50 | |
This fixes a regression in 2.0. Note that extensions can now be individually disabled, e.g. `-f opml-smart-raw_html`. Closes #4164. | |||||
2017-12-15 | Use latest pandoc-citeproc in binary pkg. | John MacFarlane | 1 | -1/+1 | |
2017-12-15 | LaTeX writer: use \renewcommand for \textlatin with babel. | John MacFarlane | 1 | -4/+7 | |
This avoids a clash with a deprecated \textlatin command defined in Babel. Closes #4161. | |||||
2017-12-15 | Added tests of latex tokenizer. | John MacFarlane | 1 | -1/+18 | |
This should help prevent regressions like #4159. | |||||
2017-12-15 | LaTeX reader: export tokenize, untokenize. | John MacFarlane | 1 | -1/+3 | |
Mainly so they can be tested. |