Mauro Bieg
f1d83aea12
Implement task lists ( #5139 )
...
Closes #3051
2019-01-02 11:36:37 -08:00
John MacFarlane
9097ec41a9
EPUB writer: small fixes to nav.xhtml.
...
* 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-02 11:24:53 -08:00
John MacFarlane
ea8af33dab
Commonmark writer: fix handling of SoftBreak with hard_line_breaks
.
...
This should be rendered as a space.
Closes #5195 .
2019-01-02 10:31:13 -08:00
John MacFarlane
1bbbd5fad3
Manual: make it clear that hard_line_breaks
works in gfm.
...
See #5195 .
2019-01-02 10:14:37 -08:00
damien clochard
4ab2a46bdc
Zimwiki writer: remove automatic colon prefix before internal images ( #5183 )
...
* 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-01 14:08:38 -08:00
damien clochard
814e97df92
Dokuwiki writer: remove automatic ':' prefix before internal image links ( #5183 )
...
* 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-01 14:07:26 -08:00
Albert Krewinkel
2f92261d87
Org reader: fix self-link parsing regression
...
Fixes a regression introduced by the previous commit.
2019-01-01 22:06:44 +01:00
Albert Krewinkel
c0caaaeabb
Org reader: fix treatment of links to images
...
Links with descriptions which are pointing to images are no longer read
as inline images, but as proper links.
Fixes : #5191
2019-01-01 21:03:38 +01:00
Albert Krewinkel
af887e9198
Org reader: hlint
2019-01-01 20:49:51 +01:00
Alexander
792f18a7fa
Remove unused HasHeaderMap ( #5175 )
...
It is updated by some readers, but never actually used.
2018-12-31 21:41:21 -08:00
John MacFarlane
ffc2192caf
Simplify/fix reading of --metadata
values on command line.
...
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-31 21:20:56 -08:00
Mauro Bieg
c8b79b0a04
Replace read with safeRead ( #5186 )
...
closes #5180
2018-12-31 15:26:38 -08:00
John MacFarlane
a1ad5bb8ce
Allow '-' in filenames for custom lua writers.
...
Closes #5187 .
2018-12-31 15:15:18 -08:00
John MacFarlane
5cd48c8e79
Removed obsolete and misleading comment.
2018-12-31 15:07:42 -08:00
Albert Krewinkel
4eb8a97a1c
doc/org.md: improve documentation of org features
2018-12-29 15:20:44 +01:00
leungbk
c998b937c1
Org writer: preserve line-numbering for example and code blocks.
2018-12-28 15:07:05 +01:00
Mauro Bieg
053c683d35
Merge pull request #5185 from gely/master
...
Fix typo in MANUAL.txt
2018-12-27 18:15:04 +01:00
Geoffrey Ely
0673da04fe
Fix typo in MANUAL.txt
...
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-27 11:43:03 -05:00
Alexander Krotov
5101f4324b
Muse reader tests: test #cover directive
2018-12-25 15:23:02 +03:00
John MacFarlane
39efcedf8a
Allow latest Glob.
2018-12-19 15:35:05 -08:00
Mauro Bieg
c3236560c2
INSTALL.md change button ( #5167 )
2018-12-19 13:41:43 -05:00
Alexander Krotov
fd0f041a13
Decompress .svgz when converting to "data:" URI
...
Address #5163
2018-12-18 11:47:48 +03:00
John MacFarlane
595e954c9b
LaTeX reader: Support \DeclareMathOperator
.
...
Closes #5149 .
2018-12-17 11:47:28 -08:00
John MacFarlane
404e96761a
Replace read with safeRead. Closes #5162 .
2018-12-17 10:31:09 -08:00
John MacFarlane
90c820dc4e
Parsing: use safeRead instead of read.
2018-12-17 10:21:30 -08:00
John MacFarlane
15d3cf8070
HTML reader: handle empty start attribute.
...
See #5162 .
2018-12-17 10:19:36 -08:00
John MacFarlane
4dc732f28f
Update stack resolver.
2018-12-16 08:19:11 -08:00
John MacFarlane
9fe6d91a1a
Remove unnecessary type="text/css" on style and link for HTML5.
...
Closes #5146 .
2018-12-14 11:29:35 -08:00
John MacFarlane
ee60ba5252
Man/Ms writers: don't escape -
as \-
.
...
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-13 11:24:51 -08:00
Mauro Bieg
e4340b384f
ICML writer: support custom-styles ( #5137 )
...
see #2106
2018-12-12 14:51:14 -05:00
Enno
dc8caf10df
template:latex: make @ letter before using it ( #5145 )
...
This fixes the previous commit for parskip and KOMA classes.
2018-12-11 16:21:45 -05:00
John MacFarlane
fe9c6eb86b
INSTALL: make text on button bigger.
2018-12-11 10:59:37 -08:00
John MacFarlane
41f4609590
INSTALL.md: use HTML for download button.
...
Closes #5144 .
2018-12-11 10:55:39 -08:00
max
980bb4f23a
fix various links in INSTALL.md; bump required stack version ( #5144 )
...
stack 1.6.5 produced an error; 1.7.0 and higher seems OK
2018-12-11 13:54:12 -05:00
Enno
84147eeff1
Let KOMA document class handle parskip when applicable ( #5143 )
...
This is just a change to the default latex template.
2018-12-11 13:22:31 -05:00
Jesse Rosenthal
0f736d778f
Docx: add test for lists with level overrides.
2018-12-10 19:24:56 -05:00
Jesse Rosenthal
448fb359e3
Docx: handle level overrides.
...
There can be overrides for the definitions of certain levels in
numbering definitions. This implements that behavior.
Closes : #5134
2018-12-10 19:24:56 -05:00
Jesse Rosenthal
2cb9a787ae
Docx: add a levelOverride type.
2018-12-10 19:24:56 -05:00
Jesse Rosenthal
2cbd8a3351
Docx writer: Make Level into a real type.
...
It had previously been an alias for a tuple.
2018-12-10 19:24:56 -05:00
John MacFarlane
9366388c05
Fix CSS and viewport on try pandoc index.html.
2018-12-10 15:39:22 -08:00
mb21
532c6a81e1
ICML writer: support unnumbered headers
...
closes #5140
2018-12-10 13:27:45 -05:00
Mauro Bieg
9dd4b30378
Merge pull request #5138 from katrinleinweber/patch-1
...
fix typos in INSTALL.md
2018-12-09 18:52:37 +01:00
Katrin Leinweber
bd9ffc9183
Fix typos
2018-12-09 17:26:14 +01:00
John MacFarlane
d5e68d43be
RST writer: don't wrap simple table header lines.
...
Closes #5128 .
2018-12-05 17:10:33 -08:00
John MacFarlane
38200c0291
Strip out illegal XML characters in escapeXMLString.
...
Closes #5119 .
2018-12-04 09:24:15 -08:00
John MacFarlane
48115fcf1a
Allow latest zip-archive.
2018-12-03 16:25:00 -08:00
John MacFarlane
4060df6891
Markdown writer: include needed whitespace after HTML figure.
...
We use HTML for a figure in markdown dialects that can't
represent it natively.
Closes #5121 .
2018-12-03 15:10:13 -08:00
John MacFarlane
80e86109a2
Use compatible version of pandoc-citeproc.
2018-12-02 09:33:50 -08:00
John MacFarlane
3bf398b15f
Allow tasty 1.2
2018-12-02 09:10:33 -08:00
John MacFarlane
6513de055a
stack.yaml - use skylighting 0.7.5.
2018-12-01 15:54:57 -08:00