aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-19Muse reader: remove commented out codeAlexander Krotov1-1/+0
2018-01-19Muse reader: parse Emacs Muse directives without parseFromStringAlexander Krotov1-4/+2
Also require space (not newline) after directive name.
2018-01-19Muse reader: parse link text without parseFromStringAlexander Krotov1-2/+1
2018-01-19Muse reader: simplify tableParseCaptionAlexander Krotov1-3/+1
2018-01-19Muse reader: parse definition list terms without parseFromStringAlexander Krotov2-17/+15
2018-01-19Muse reader: do not remove trailing whitespace from <code>Alexander Krotov1-1/+1
2018-01-18Powerpoint writer: Implement syntax highlightingJesse Rosenthal3-29/+87
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-18More stack.yaml fixes for skylighting.John MacFarlane3-1/+3
2018-01-18Require latest skylighting.John MacFarlane1-1/+1
2018-01-18Use latest pandoc-citeproc and skylighting.John MacFarlane2-5/+5
2018-01-18Fixed typo in Makefile.John MacFarlane1-1/+1
2018-01-18Clean up T.P.W.OOXML file, and add copyright.Jesse Rosenthal1-41/+40
2018-01-18Makefile - add prerelease sanity check for tabs in docs.John MacFarlane1-2/+5
2018-01-18Fixed tabs in changelog.John MacFarlane1-13/+13
2018-01-18Replaced tabs with spaces in MANUAL.txt.John MacFarlane3-253/+337
@jkr - the tabs were inserted by your 624abeec5c3b9f5c27cffe6d157617aa97367e92, presumably through some automatic setting in your editor that replaced 8 spaces with a tab. This messed up indented formatting in the manual.
2018-01-18Updaet changelog.John MacFarlane1-2/+9
2018-01-18Powerpoint writer: Make our own docProps/core.xml file.Jesse Rosenthal2-11/+37
This allows us to set document metadata properties from pandoc metadata.
2018-01-18Powerpoint writer: Add docProps to Presentation datatype.Jesse Rosenthal2-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-18Muse reader: fix parsing of code at the beginning of paragraphAlexander Krotov2-6/+5
2018-01-18Muse reader: refactor definition list parsingAlexander Krotov2-28/+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-18Muse reader: parse "~~" as non-breaking space in Text::Amuse modeAlexander Krotov2-4/+3
Latest Text::Amuse supports "~~"
2018-01-18Muse reader: refactor list parsingAlexander Krotov2-92/+117
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-18Muse reader: code cleanupAlexander Krotov1-2/+2
2018-01-17Powerpoint writer: Link notes to endnotes slide.Jesse Rosenthal1-19/+25
2018-01-17Powerpoint writer: Use more specific slide id names.Jesse Rosenthal1-3/+33
2018-01-17Powerpoint writer: Use slideids to simplify code.Jesse Rosenthal2-60/+91
2018-01-17Powerpoint writer: Revamp slide typeJesse Rosenthal2-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-17Improve changelog redability.John MacFarlane1-54/+23
2018-01-17Update man page.John MacFarlane1-203/+133
2018-01-17Update changelog.John MacFarlane1-0/+209
2018-01-17Version to 2.1.1.John MacFarlane1-1/+1
2018-01-17Markdown reader: don't coalesce adjacent raw LaTeX blocks...John MacFarlane3-4/+20
if they are separated by a blank line. See lierdakil/pandoc-crossref#160 for motivation.
2018-01-17Powerpoint writer: Change reference to notesSlide to endNotesSlideJesse Rosenthal1-11/+11
This will prevent confusion when speakers notes are implemented.
2018-01-17Powerpoint writer: Move image sizing into picProps.Jesse Rosenthal2-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-17ImageSize: add derived Eq instance to DimensionJesse Rosenthal1-0/+1
2018-01-16Markdown writer: fix cell width calculation.John MacFarlane3-17/+17
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-16Merge pull request #4271 from dotlambda/lstinline-ampersandJohn MacFarlane1-1/+1
LaTeX writer: escape & in lstinline
2018-01-16Docx reader: Add test for hyperlinks in instrText tagJesse Rosenthal3-0/+5
This is difficult to recreate with a modern version of Word, so I'm using the file submitted with the bug report. It would be preferable to find a smaller example with Latin characters, though, so as not to confuse the issue being tested.
2018-01-16Docx reader: Parse hyperlinks in instrText tagsJesse Rosenthal1-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-16Docx reader: Parse instrText info in fldChar tags.Jesse Rosenthal3-5/+103
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-16Docx reader: Parse fldChar tagsJesse Rosenthal2-5/+84
This will allow us to parse instrTxt inside fldChar tags.
2018-01-16LaTeX writer: escape & in lstinlineRobert Schütz1-1/+1
2018-01-15Reduce compiler noise (exact paths for compiled modules).John MacFarlane1-0/+2
2018-01-15HTML reader: Fix col width parsing for percentages < 10% (#4262)n3fariox1-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-15ConTeXt writer: Use xtables instead of Tables (#4223)Henri Menke8-181/+361
- 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-15Powerpoint writer: Improve table placement.Jesse Rosenthal1-9/+5
2018-01-15Powerpoint writer: Make our own _rels/.rels file.Jesse Rosenthal1-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-15Powerpoint writer: Import reference-doc images properly.Jesse Rosenthal1-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-15Renaming: Json -> JSON in modules and functions.John MacFarlane4-9/+9
2018-01-15Merge pull request #4227 from tarleb/lua-run-json-filterJohn MacFarlane9-100/+332
Run JSON filters from Lua filters