Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-30 | Muse reader: enable round trip test | Alexander Krotov | 1 | -10/+9 | |
Closes #4107 | |||||
2017-12-30 | Docx reader: Read multiple children of w:sdtContents` | Jesse Rosenthal | 1 | -1/+6 | |
Previously we had only read the first child of an sdtContents tag. Now we replace sdt with all children of the sdtContents tag. This changes the expected test result of our nested_anchors test, since now we read docx's generated TOCs. | |||||
2017-12-29 | Powerpoint Writer tests: Add quickcheck tests for content types. | Jesse Rosenthal | 1 | -14/+77 | |
We want to make sure we always have an override for each xml file in the content types file. | |||||
2017-12-29 | Powerpoint writer test: more slide number tests | Jesse Rosenthal | 1 | -4/+9 | |
Add test for custom slide-level header, and notes slides. | |||||
2017-12-28 | Merge pull request #4170 from oltolm/opendocument | John MacFarlane | 1 | -0/+2 | |
improve formatting of formulas in OpenDocument | |||||
2017-12-28 | improve formatting of formulas in OpenDocument | oltolm | 1 | -0/+2 | |
2017-12-28 | Powerpoint writer tests: use IO. | John MacFarlane | 2 | -336/+18 | |
Otherwise we can't find the data files when compiled with -embed_data_files. | |||||
2017-12-28 | Use insertInFileTree in powerpoint test. | John MacFarlane | 1 | -2/+1 | |
2017-12-28 | Text.Pandoc.Class: add insertInFileTree (API change). | John MacFarlane | 1 | -7/+2 | |
This gives a pure way to insert an ersatz file into a FileTree. In addition, we normalize paths both on insertion and on lookup, so that "foo" and "./foo" will be judged equivalent. | |||||
2017-12-28 | Fixed warning in powerpoint writer test. | John MacFarlane | 1 | -3/+0 | |
2017-12-28 | LaTeX writer: Use \endhead after \toprule in headerless tables. | John MacFarlane | 1 | -0/+2 | |
Closes #4207. | |||||
2017-12-28 | LaTeX reader: be more tolerant of `&` character. | John MacFarlane | 1 | -0/+18 | |
This allows us to parse unknown tabular environments as raw LaTeX. Closes #4208. | |||||
2017-12-28 | PowerPoint writer: Introduce beginning of tests | Jesse Rosenthal | 3 | -0/+425 | |
This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0. | |||||
2017-12-28 | Org smart test: drop superfluous import | Albert Krewinkel | 1 | -1/+1 | |
Keeps GHC 7.8 and GHC 7.10 happy. | |||||
2017-12-28 | Org reader: support minlevel option for includes | Albert Krewinkel | 1 | -1/+77 | |
The level of headers in included files can be shifted to a higher level by specifying a minimum header level via the `:minlevel` parameter. E.g. `#+include: "tour.org" :minlevel 1` will shift the headers in tour.org such that the topmost headers become level 1 headers. Fixes: #4154 | |||||
2017-12-28 | Break-up org reader test file | Albert Krewinkel | 13 | -1864/+2007 | |
The org reader test file had grown large, to the point that editor performance was negatively affected in some cases. The tests are spread over multiple submodules, and re-combined into a tasty TestTree in the main org reader test file. | |||||
2017-12-27 | Merge pull request #4184 from mb21/html-reader-figcaption | John MacFarlane | 1 | -0/+32 | |
HTML Reader: be more forgiving about figcaption | |||||
2017-12-27 | HTML reader: parse div with class `line-block` as LineBlock. | John MacFarlane | 1 | -0/+10 | |
See #4162. | |||||
2017-12-27 | Added tests for custom writer. | John MacFarlane | 3 | -0/+990 | |
2017-12-27 | Docx reader: add tests for structured document tags unwrapping. | Jesse Rosenthal | 3 | -0/+14 | |
2017-12-26 | LaTeX reader: support `\foreignlanguage` from babel. | John MacFarlane | 1 | -0/+6 | |
2017-12-26 | HTML writer: Use br elements in line blocks... | John MacFarlane | 7 | -7/+0 | |
instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block. | |||||
2017-12-24 | RST reader: allow empty list items (as docutils does). | John MacFarlane | 1 | -0/+10 | |
Closes #4193. | |||||
2017-12-23 | Lua modules: add function pandoc.utils.hierarchicalize | Albert Krewinkel | 2 | -1/+18 | |
Convert list of Pandoc blocks into (hierarchical) list of Elements. | |||||
2017-12-23 | JATS reader: process author metadata. | John MacFarlane | 2 | -1/+13 | |
2017-12-23 | Lua modules: add function pandoc.utils.normalize_date | Albert Krewinkel | 2 | -2/+11 | |
The function parses a date and converts it (if possible) to "YYYY-MM-DD" format. | |||||
2017-12-23 | Lua modules: add function pandoc.utils.to_roman_numeral | Albert Krewinkel | 2 | -0/+10 | |
The function allows conversion of numbers below 4000 into roman numerals. | |||||
2017-12-23 | HTML Reader: be more forgiving about figcaption | mb21 | 1 | -0/+32 | |
fixes #4183 | |||||
2017-12-22 | `latex_macros` extension changes. | John MacFarlane | 3 | -4/+34 | |
Don't pass through macro definitions themselves when `latex_macros` is set. The macros have already been applied. If `latex_macros` is enabled, then `rawLaTeXBlock` in Text.Pandoc.Readers.LaTeX will succeed in parsing a macro definition, and will update pandoc's internal macro map accordingly, but the empty string will be returned. Together with earlier changes, this closes #4179. | |||||
2017-12-22 | Markdown reader: improved raw tex parsing. | John MacFarlane | 2 | -4/+2 | |
+ Preserve original whitespace between blocks. + Recognize `\placeformula` as context. | |||||
2017-12-22 | Lua modules: add stringify function to pandoc.utils | Albert Krewinkel | 2 | -3/+17 | |
The new function `pandoc.utils.stringify` converts any AST element to a string with formatting removed. | |||||
2017-12-22 | RST writer: fix anchors for headers. | John MacFarlane | 1 | -1/+1 | |
We were missing an `_`. See #4188. | |||||
2017-12-21 | Merge pull request #4177 from stencila/jats-xml-reader | John MacFarlane | 6 | -1/+2321 | |
Add Basic JATS reader based on DocBook reader | |||||
2017-12-21 | JATS writer: Make <p> optional in <td> and <th> (#4178) | Hamish Mackenzie | 1 | -276/+92 | |
If the contents are single `Plain` block then do not wrap them with a <p> element. | |||||
2017-12-22 | Improve support for code language in JATS | Hamish Mackenzie | 2 | -1/+11 | |
2017-12-21 | Org writer: do not wrap "-" to avoid accidental bullet lists | Alexander Krotov | 1 | -0/+9 | |
Also add TODO for ordered lists. | |||||
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 2 | -0/+17 | |
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 | Muse reader: require that note references does not start with 0 | Alexander Krotov | 1 | -0/+14 | |
2017-12-20 | Add Basic JATS reader based on DocBook reader | Hamish Mackenzie | 5 | -0/+2310 | |
2017-12-19 | Muse writer: don't wrap note references to the next line | Alexander Krotov | 1 | -0/+29 | |
Closes #4172. | |||||
2017-12-19 | Fix for #4171 fix: don't wrap note references after SoftBreak | Alexander Krotov | 1 | -0/+14 | |
2017-12-19 | Muse reader: parse empty comments correctly | Alexander Krotov | 1 | -0/+2 | |
2017-12-18 | Org writer: don't allow fn refs to wrap to beginning of line. | John MacFarlane | 1 | -0/+11 | |
Otherwise they can be interpreted as footnote definitions. Closes #4171. | |||||
2017-12-17 | OPML reader: enable raw HTML and other extensions by default for notes. | John MacFarlane | 1 | -0/+35 | |
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 | Added tests of latex tokenizer. | John MacFarlane | 1 | -1/+18 | |
This should help prevent regressions like #4159. | |||||
2017-12-15 | Fixed regression in LateX tokenization. | John MacFarlane | 1 | -0/+8 | |
This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces. Closes #4159. | |||||
2017-12-14 | RST reader: more accurate parsing of references. | John MacFarlane | 2 | -0/+28 | |
Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_ | |||||
2017-12-14 | Merge pull request #4148 from stencila/jats-figures | John MacFarlane | 3 | -1/+122 | |
fig, table-wrap & caption Divs for JATS writer | |||||
2017-12-14 | Deduplicate JATS writer image mime type code | Hamish Mackenzie | 1 | -1/+1 | |