Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-20 | RST reader: fix parsing of headers with trailing space. | John MacFarlane | 1 | -1/+1 | |
This was a regression in pandoc 2.0. Closes #4280. | |||||
2018-01-20 | Docx reader: Use already imported operator | Jesse Rosenthal | 1 | -1/+1 | |
This fixes an import error in the last commit. | |||||
2018-01-20 | Docx reader: small change to Fields hyperlink parser | Jesse Rosenthal | 1 | -1/+1 | |
Previously, unquoted string required a space at the end of the line (and consumed it). Now we either take a space (and don't consume it), or end of input. | |||||
2018-01-19 | Conditional import to avoid warning. | John MacFarlane | 1 | -2/+5 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 42 | -234/+207 | |
2018-01-19 | Merge pull request #4259 from italia/4248 | John MacFarlane | 1 | -25/+17 | |
in RST writer insert comment between lists and quotes, closes #4248 | |||||
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 1 | -11/+10 | |
2018-01-19 | LaTeX reader: fixed parsing of tabular* environment. | John MacFarlane | 1 | -1/+1 | |
This was just a typo in the source. Closes #4279. | |||||
2018-01-19 | Muse reader: remove duplicate variable in definitionListItem | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | remove `blockToRST'` moving its logic into `fixBlocks` | danse | 1 | -32/+13 | |
2018-01-19 | in RST writer insert comment between lists and quotes, closes #4248 | danse | 1 | -1/+12 | |
2018-01-19 | Muse writer: support definitions with multiple descriptions | Alexander Krotov | 1 | -4/+7 | |
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly. | |||||
2018-01-19 | Muse reader: require only one space for nested definition list indentation | Alexander Krotov | 1 | -1/+2 | |
2018-01-19 | Muse reader: parse verse without parseFromString | Alexander Krotov | 1 | -10/+12 | |
2018-01-19 | Muse reader: remove commented out code | Alexander Krotov | 1 | -1/+0 | |
2018-01-19 | Muse reader: parse Emacs Muse directives without parseFromString | Alexander Krotov | 1 | -4/+2 | |
Also require space (not newline) after directive name. | |||||
2018-01-19 | Muse reader: parse link text without parseFromString | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | Muse reader: simplify tableParseCaption | Alexander Krotov | 1 | -3/+1 | |
2018-01-19 | Muse reader: parse definition list terms without parseFromString | Alexander Krotov | 1 | -17/+13 | |
2018-01-19 | Muse reader: do not remove trailing whitespace from <code> | Alexander Krotov | 1 | -1/+1 | |
2018-01-18 | Powerpoint writer: Implement syntax highlighting | Jesse Rosenthal | 2 | -24/+82 | |
This also necessitated implementing colors and underlining, though there is currently no way to produce these from markdown. Note that background colors can't be implemented in PowerPoint, so highlighting styles that require these will be incomplete. | |||||
2018-01-18 | Clean up T.P.W.OOXML file, and add copyright. | Jesse Rosenthal | 1 | -41/+40 | |
2018-01-18 | Powerpoint writer: Make our own docProps/core.xml file. | Jesse Rosenthal | 2 | -11/+37 | |
This allows us to set document metadata properties from pandoc metadata. | |||||
2018-01-18 | Powerpoint writer: Add docProps to Presentation datatype. | Jesse Rosenthal | 2 | -12/+39 | |
This picks up the necessary information from meta and carries it over to the XML output, so Output.hs doesn't need access to the original pandoc information. | |||||
2018-01-18 | Muse reader: fix parsing of code at the beginning of paragraph | Alexander Krotov | 1 | -6/+2 | |
2018-01-18 | Muse reader: refactor definition list parsing | Alexander Krotov | 1 | -17/+15 | |
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway. | |||||
2018-01-18 | Muse reader: parse "~~" as non-breaking space in Text::Amuse mode | Alexander Krotov | 1 | -2/+1 | |
Latest Text::Amuse supports "~~" | |||||
2018-01-18 | Muse reader: refactor list parsing | Alexander Krotov | 1 | -75/+65 | |
Now list item contents is parsed as blocks, without resorting to parseFromString. Only the first line of paragraph has to be indented now, just like in Emacs Muse and Text::Amuse. Definition lists are not refactored yet. See also: issue #3865. | |||||
2018-01-18 | Muse reader: code cleanup | Alexander Krotov | 1 | -2/+2 | |
2018-01-17 | Powerpoint writer: Link notes to endnotes slide. | Jesse Rosenthal | 1 | -19/+25 | |
2018-01-17 | Powerpoint writer: Use more specific slide id names. | Jesse Rosenthal | 1 | -3/+33 | |
2018-01-17 | Powerpoint writer: Use slideids to simplify code. | Jesse Rosenthal | 2 | -60/+91 | |
2018-01-17 | Powerpoint writer: Revamp slide type | Jesse Rosenthal | 2 | -48/+97 | |
This is an internal change to the Presentation type. The algebraic datatype that used to be called `Slide` is now `Layout`, and Slide is defined as `Slide SlideId Layout (Maybe Notes)`. Though there should be no user-visible changes in this commit, it offers two benefits moving forward: 1. Slides now carry their Id with them, instead of being assigned it in deck order. This makes it easier to set up a link to, say, an endnotes slide ahead of time. 2. This makes room for Notes slides, when we implement them. | |||||
2018-01-17 | Markdown reader: don't coalesce adjacent raw LaTeX blocks... | John MacFarlane | 1 | -3/+9 | |
if they are separated by a blank line. See lierdakil/pandoc-crossref#160 for motivation. | |||||
2018-01-17 | Powerpoint writer: Change reference to notesSlide to endNotesSlide | Jesse Rosenthal | 1 | -11/+11 | |
This will prevent confusion when speakers notes are implemented. | |||||
2018-01-17 | Powerpoint writer: Move image sizing into picProps. | Jesse Rosenthal | 2 | -12/+27 | |
Rather than passing around attributes, we can have image sizing in the picProps and then pass it along to write to XML. | |||||
2018-01-17 | ImageSize: add derived Eq instance to Dimension | Jesse Rosenthal | 1 | -0/+1 | |
2018-01-16 | Markdown writer: fix cell width calculation. | John MacFarlane | 1 | -1/+1 | |
Previously we could get ever-lengthening cell widths when a table was run repeatedly through `pandoc -f markdown -t markdown`. This patch stabilizes the relative cell widths. Closes #4265. | |||||
2018-01-16 | Merge pull request #4271 from dotlambda/lstinline-ampersand | John MacFarlane | 1 | -1/+1 | |
LaTeX writer: escape & in lstinline | |||||
2018-01-16 | Docx reader: Parse hyperlinks in instrText tags | Jesse Rosenthal | 1 | -2/+4 | |
This was a form of hyperlink found in older versions of word. The changes introduced for this, though, create a framework for parsing further fields in MS Word (see the spec, ECMA-376-1:2016, §17.16.5, for more on these fields). Closes #3389 and #4266. | |||||
2018-01-16 | Docx reader: Parse instrText info in fldChar tags. | Jesse Rosenthal | 2 | -5/+102 | |
We introduce a new module, Text.Pandoc.Readers.Docx.Fields which contains a simple parsec parser. At the moment, only simple hyperlink fields are accepted, but that can be extended in the future. | |||||
2018-01-16 | Docx reader: Parse fldChar tags | Jesse Rosenthal | 2 | -5/+84 | |
This will allow us to parse instrTxt inside fldChar tags. | |||||
2018-01-16 | LaTeX writer: escape & in lstinline | Robert Schütz | 1 | -1/+1 | |
2018-01-15 | HTML reader: Fix col width parsing for percentages < 10% (#4262) | n3fariox | 1 | -3/+6 | |
Rather than take user input, and place a "0." in front, actually calculate the percentage to catch cases where small column sizes (e.g. `2%`) are needed. | |||||
2018-01-15 | ConTeXt writer: Use xtables instead of Tables (#4223) | Henri Menke | 2 | -26/+73 | |
- Default to xtables for context output. - Added `ntb` extension (affecting context writer only) to use Natural Tables instead. - Added `Ext_ntb` constructor to `Extension` (API change). | |||||
2018-01-15 | Powerpoint writer: Improve table placement. | Jesse Rosenthal | 1 | -9/+5 | |
2018-01-15 | Powerpoint writer: Make our own _rels/.rels file. | Jesse Rosenthal | 1 | -21/+43 | |
The toplevel .rels file could have a thumbnail image if taken from the template. Rather than removing it from the inherited file, it's easier to just make our own. | |||||
2018-01-15 | Powerpoint writer: Import reference-doc images properly. | Jesse Rosenthal | 1 | -2/+2 | |
There was a glob error that was leading to images from the reference-doc pptx not being imported. We don't need a glob here -- just replace it with `isPrefixOf`. | |||||
2018-01-15 | Renaming: Json -> JSON in modules and functions. | John MacFarlane | 3 | -8/+8 | |
2018-01-15 | Merge pull request #4227 from tarleb/lua-run-json-filter | John MacFarlane | 7 | -99/+296 | |
Run JSON filters from Lua filters |