aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-06-10Fixed trypandoc to work with new API.John MacFarlane1-53/+15
2017-06-10Fixed weigh-pandoc for Text readers.John MacFarlane3-3/+8
2017-06-10Fixed benchmark to work with Text readers.John MacFarlane2-5/+8
2017-06-10Changed all readers to take Text instead of String.John MacFarlane29-624/+672
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-06-10Readers: Changed StringReader -> TextReader.John MacFarlane1-23/+26
2017-06-10UTF8: export fromText, fromTextLazy.John MacFarlane1-2/+10
2017-06-10App: change readSource(s) to use Text instead of String.John MacFarlane1-10/+14
2017-06-10UTF8: export toText, toTextLazy.John MacFarlane1-17/+27
Define toString, toStringLazy in terms of them.
2017-06-10Rewrote convertTabs to use Text not String.John MacFarlane1-17/+11
2017-06-09Changed comodo code signing key path.John MacFarlane1-1/+1
2017-06-05Added aspectratio variable to beamer template (#3723).Václav Haisman2-1/+6
* Transplant jgm/pandoc-templates#236 to Pandoc repository. * Document `aspectratio` in user manual. * Enumerate possible values for `aspectratio`.
2017-06-04Updated to lts-8.16 in stack.pkg.yaml.John MacFarlane1-1/+1
2017-06-04Removed circle.yml.John MacFarlane1-13/+0
2017-06-04Add circle.yml for CircleCI test.John MacFarlane1-0/+13
2017-06-04Fixed MacOS packaging script.John MacFarlane1-10/+8
2017-06-04Remove cpphs build requirement -- it is no longer needed.John MacFarlane1-3/+0
It was required when we used hsb2hs but no longer seemes needed with file-embed.
2017-06-04Updated man page.John MacFarlane1-186/+347
2017-06-04Use latest pandoc-citeproc in binary packages.John MacFarlane1-1/+1
2017-06-04stack.yaml - Use lts-8.16 resolver.John MacFarlane1-1/+1
2017-06-04.travis.yml - removed hsb2hs stuff.John MacFarlane1-2/+1
2017-06-03Improve code style in lua and org modulesAlbert Krewinkel12-83/+75
2017-06-03Org reader: apply hlint suggestionsAlbert Krewinkel7-89/+84
2017-06-02hlint suggestions.John MacFarlane8-36/+37
2017-06-02Fixed keywords in docx writer.John MacFarlane1-1/+6
(See #3719)
2017-06-02Merge pull request #3719 from iandol/patch-2John MacFarlane1-0/+1
Add keywords metadata to docx core.xml document properties
2017-06-02Fixed HTML reader.John MacFarlane1-2/+3
2017-06-02Add keywords metadata to docx document propertiesIan1-0/+1
Hi, I don't know haskell so possibly this is wrong, but DOCX stores keywords in cp:keywords in core.xml, and this should be easy to add from the pandoc metadata (I copy and paste the author code). As far as I can tell (no clear documentation, just a few refs), keywords should be separated with a comma.
2017-06-01HTML reader: Use sets instead of lists for block tag lookup.John MacFarlane1-50/+43
2017-06-01HTML reader: Removed "button" from block tag list.John MacFarlane1-1/+1
It is already in the eitherBlockOrInlineTag list, and should be both places. Closes #3717. Note: the result of this change is that there will be p tags around the whole paragraph. That is the right result, because the `button` tags are treated as inline HTML here, and the whole chunk of text is a Markdown paragraph.
2017-06-01HTML writer: Avoid two class attributes when adding 'uri' class.John MacFarlane2-7/+13
Closes #3716.
2017-06-01Some hlint refactoring.John MacFarlane3-38/+34
2017-06-01Makefile: added 'lint' target.John MacFarlane1-1/+4
2017-06-01Trivial reformatting.John MacFarlane1-3/+7
2017-06-01Use isNothing.John MacFarlane1-2/+2
2017-06-01Trivial renaming.John MacFarlane1-8/+8
2017-06-01Markdown writer: Avoid inline surround-marking with empty content.John MacFarlane2-0/+20
E.g. we don't want `<strong></strong>` to become `****`. Similarly for emphasis, super/subscript, strikeout. Closes #3715.
2017-06-01LaTeX reader: handle some width specifiers on table columns.John MacFarlane2-5/+15
Currently we only handle the form `0.9\linewidth`. Anything else would have to be converted to a percentage, using some kind arbitrary assumptions about line widths. See #3709.
2017-06-01LaTeX reader: more table refactoring.John MacFarlane1-12/+13
2017-06-01LaTeX reader: Small refactoring of table parsing code.John MacFarlane1-16/+18
This makes room for doing something with widths.
2017-06-01LaTeX reader: Handle block structure inside table cells.John MacFarlane1-18/+18
minipage is no longer required. Closes #3709.
2017-06-01Merge pull request #3714 from tarleb/odt-reader-cleanupJohn MacFarlane7-902/+4
Odt reader: remove dead code
2017-06-01Add \colorbox supportMarc Schreiber3-70/+139
2017-05-31Org reader: respect export option for tagsAlbert Krewinkel4-2/+14
Tags are appended to headlines by default, but will be omitted when the `tags` export option is set to nil. Closes: #3713
2017-05-31Org reader: include tags in headlinesAlbert Krewinkel2-23/+35
The Emacs default is to include tags in the headline when exporting. Instead of just empty spans, which contain the tag name as attribute, tags are rendered as small caps and wrapped in those spans. Non-breaking spaces serve as separators for multiple tags.
2017-05-31Org reader: recognize babel result blocks with attributesAlbert Krewinkel3-22/+66
Babel result blocks can have block attributes like captions and names. Result blocks with attributes were not recognized and were parsed as normal blocks without attributes. Fixes: #3706
2017-05-31Org reader: fix module names in haddock commentsAlbert Krewinkel7-9/+8
Copy-pasting had lead to haddock module descriptions containing the wrong module names.
2017-05-31Odt reader: remove dead codeAlbert Krewinkel7-902/+4
The ODT reader contained a lot of general code useful for working with arrows. However, many of these utils weren't used and are hence removed.
2017-05-30Added eastAsianLineBreakFilter to Shared.John MacFarlane2-11/+13
This used to live in the Markdown reader.
2017-05-29LaTeX reader: handle escaped & inside table cell.John MacFarlane2-3/+20
Closes #3708.
2017-05-29LaTeX reader: don't crash on empty enumerate environment.John MacFarlane1-1/+1
Closes #3707.