aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-02Removed custom Setup.hs, use build-type: simple.John MacFarlane2-41/+2
The only thing we gained from the custom build was automatic installation of the man page when using 'cabal install'. But custom builds cause problems, e.g., with cross-compilation. Installation of the man page is better handled by packagers. Note to packagers (e.g. Debian): it may be necessary to add a step installing the man page with the next release.
2019-01-02A trivial change to document the addition of `task_lists`.John MacFarlane1-1/+0
These notes should have been in the previous commit message. Added `task_list` extension. API changes: + Added constructor `Ext_task_lists` to `Extension`. + Added `taskListItemFromAscii` and `taskListItemToAscii` to Text.Pandoc.Shared. Task lists are supported form markdown and gfm input. They should work, to some degree, in all output formats, though in most formats you'll get an ordered list with a following task list box. In HTML and LaTeX/PDF output, the bullet will be suppressed for nicer output.
2019-01-02Implement task lists (#5139)Mauro Bieg11-20/+247
Closes #3051
2019-01-02EPUB writer: small fixes to nav.xhtml.John MacFarlane2-3/+5
* Add 'landmarks' id attribute to the landmarks nav. * Replace old default CSS removing numbers from ol.toc li with new rules that match `nav#toc ol, nav#landmarks ol`. * We keep the `toc` class on `ol` for backwards compatibility.
2019-01-02Commonmark writer: fix handling of SoftBreak with `hard_line_breaks`.John MacFarlane2-1/+8
This should be rendered as a space. Closes #5195.
2019-01-02Manual: make it clear that `hard_line_breaks` works in gfm.John MacFarlane1-4/+4
See #5195.
2019-01-01Zimwiki writer: remove automatic colon prefix before internal images (#5183)damien clochard2-8/+4
* FIX #5183 : zimwiki : remove automatic colon prefix before internal images ![](foo.png) should be converted to {{foo.png}} (relative path) ![](/foo.png] should be converted to {{/foo.png}} (absolute path) Therefore the ':' prefix is useless and must be removed. I never used the zimwiki, but i submitted the similar dokuwiki fix. 1. The zimwiki syntax is inspired by dokuwiki 2. The zimwiki documentation does not mention the colon character for images 3. The pandoc zimwiki writer seems to be a copy-paste for the dokuwiki writer If the PR #5184 is applied, I think this one should be applied too.
2019-01-01Dokuwiki writer: remove automatic ':' prefix before internal image links (#5183)damien clochard3-9/+5
* FIX #5183 : remove automatic ':' prefix before internal image links `![](foo.png)` should be converted to `{{foo.png}}` (relative path) `![](/foo.png]` should be converted to `{{/foo.png}}` (absolute path) Therefore the ':' prefix is useless and must be removed. It blocks users from making relative image links. Update tests for DokuWiki Writer : external images
2019-01-01Org reader: fix self-link parsing regressionAlbert Krewinkel2-5/+10
Fixes a regression introduced by the previous commit.
2019-01-01Org reader: fix treatment of links to imagesAlbert Krewinkel3-26/+33
Links with descriptions which are pointing to images are no longer read as inline images, but as proper links. Fixes: #5191
2019-01-01Org reader: hlintAlbert Krewinkel1-2/+2
2018-12-31Remove unused HasHeaderMap (#5175)Alexander7-50/+4
It is updated by some readers, but never actually used.
2018-12-31Simplify/fix reading of `--metadata` values on command line.John MacFarlane2-7/+20
Previously we used HsYAML's decodeStrict to recognize boolean values (treating everything else as a string). This caused problems relating to hvr/HsYAML#7. We now just check for the recognized boolean values `true|True|TRUE|false|False|FALSE`, and avoid using HsYAML. Closes #5177.
2018-12-31Replace read with safeRead (#5186)Mauro Bieg3-13/+18
closes #5180
2018-12-31Allow '-' in filenames for custom lua writers.John MacFarlane1-2/+3
Closes #5187.
2018-12-31Removed obsolete and misleading comment.John MacFarlane1-1/+0
2018-12-29doc/org.md: improve documentation of org featuresAlbert Krewinkel1-15/+114
2018-12-28Org writer: preserve line-numbering for example and code blocks.leungbk2-3/+50
2018-12-27Merge pull request #5185 from gely/masterMauro Bieg1-1/+1
Fix typo in MANUAL.txt
2018-12-27Fix typo in MANUAL.txtGeoffrey Ely1-1/+1
The example to create a div with id `refs` instead creates a div with class `#refs`. The fix is to add curly brackets.
2018-12-25Muse reader tests: test #cover directiveAlexander Krotov1-0/+5
2018-12-19Allow latest Glob.John MacFarlane1-2/+2
2018-12-19INSTALL.md change button (#5167)Mauro Bieg1-8/+3
2018-12-18Decompress .svgz when converting to "data:" URIAlexander Krotov1-1/+1
Address #5163
2018-12-17LaTeX reader: Support `\DeclareMathOperator`.John MacFarlane1-1/+11
Closes #5149.
2018-12-17Replace read with safeRead. Closes #5162.John MacFarlane3-11/+8
2018-12-17Parsing: use safeRead instead of read.John MacFarlane1-1/+1
2018-12-17HTML reader: handle empty start attribute.John MacFarlane1-4/+2
See #5162.
2018-12-16Update stack resolver.John MacFarlane1-3/+1
2018-12-14Remove unnecessary type="text/css" on style and link for HTML5.John MacFarlane7-14/+14
Closes #5146.
2018-12-13Man/Ms writers: don't escape `-` as `\-`.John MacFarlane3-20/+19
For discussion see https://groups.google.com/forum/#!msg/pandoc-discuss/B-oiCXcQOVo/WO-BXVpICAAJ The `\-` gets rendered in HTML and PDF as a unicode minus sign.
2018-12-12ICML writer: support custom-styles (#5137)Mauro Bieg2-11/+20
see #2106
2018-12-11template:latex: make @ letter before using it (#5145)Enno5-20/+35
This fixes the previous commit for parskip and KOMA classes.
2018-12-11INSTALL: make text on button bigger.John MacFarlane1-2/+3
2018-12-11INSTALL.md: use HTML for download button.John MacFarlane1-2/+3
Closes #5144.
2018-12-11fix various links in INSTALL.md; bump required stack version (#5144)max1-15/+15
stack 1.6.5 produced an error; 1.7.0 and higher seems OK
2018-12-11Let KOMA document class handle parskip when applicable (#5143)Enno5-30/+35
This is just a change to the default latex template.
2018-12-10Docx: add test for lists with level overrides.Jesse Rosenthal3-0/+41
2018-12-10Docx: handle level overrides.Jesse Rosenthal1-6/+17
There can be overrides for the definitions of certain levels in numbering definitions. This implements that behavior. Closes: #5134
2018-12-10Docx: add a levelOverride type.Jesse Rosenthal1-3/+20
2018-12-10Docx writer: Make Level into a real type.Jesse Rosenthal2-4/+6
It had previously been an alias for a tuple.
2018-12-10Fix CSS and viewport on try pandoc index.html.John MacFarlane1-4/+10
2018-12-10ICML writer: support unnumbered headersmb211-2/+5
closes #5140
2018-12-09Merge pull request #5138 from katrinleinweber/patch-1Mauro Bieg1-2/+2
fix typos in INSTALL.md
2018-12-09Fix typosKatrin Leinweber1-2/+2
2018-12-05RST writer: don't wrap simple table header lines.John MacFarlane2-1/+19
Closes #5128.
2018-12-04Strip out illegal XML characters in escapeXMLString.John MacFarlane2-1/+15
Closes #5119.
2018-12-03Allow latest zip-archive.John MacFarlane1-2/+2
2018-12-03Markdown writer: include needed whitespace after HTML figure.John MacFarlane2-1/+14
We use HTML for a figure in markdown dialects that can't represent it natively. Closes #5121.
2018-12-02Use compatible version of pandoc-citeproc.John MacFarlane2-1/+2