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
John MacFarlane
1a62e53c40
Require skylighting >= 0.7.5.
...
This adds support for sml, J, typescript.
2018-12-01 14:48:13 -08:00
Andrew Dunning
c34a5f3c77
Fix missing word
2018-11-30 15:03:14 -05:00
Andrew Dunning
1637580b7d
Improve installation notes on associated software
...
Includes explanation of how to install related tools with package managers (since the method of installing `rsvg-convert` is not obvious).
2018-11-30 15:03:14 -05:00
John MacFarlane
84a447a88b
Fix warnings in Text.Pandoc.Process.
2018-11-30 08:32:04 -08:00
Albert Krewinkel
fe98c97b1c
Text.Pandoc.Process: update pipeProcess
...
The implementation of `pipeProcess` was rewritten to fix sporadic
failures caused by prematurely closed pipes.
2018-11-30 11:23:26 -05:00
John MacFarlane
9f8de4be43
Improve error message for UTF-8 decoding errors.
...
Give the filename and the byte offset.
Closes #4765 .
2018-11-29 15:59:33 -08:00
John MacFarlane
747f079bad
Add PandocUTF8DecodingError constructor for PandocError.
...
[API change]
2018-11-29 15:59:10 -08:00
John MacFarlane
ec07a5298c
Man reader: use mapLeft from Shared.
2018-11-29 13:28:56 -08:00
Julien Kirch
cefb0886c3
Fix progit book url
2018-11-29 16:26:31 -05:00
John MacFarlane
945eed3a28
Bump to version 2.6 because of API change in read/writeJSON.
2018-11-29 12:57:27 -08:00
John MacFarlane
90f5dd88a4
Changed types of writeJSON and readJSON.
...
Previously they were not monadic; we now have them run in an
instance of the Pandoc monad, like the other readers and writers.
[API change]
2018-11-29 12:56:06 -08:00
John MacFarlane
5c9ddaac2c
INSTALL.md: Small wording tweak.
2018-11-29 12:35:36 -08:00
John MacFarlane
62b4b84bd5
LaTeX reader: Support \inputminted ( closes #5103 ).
2018-11-29 11:11:44 -08:00
John MacFarlane
049a773b5b
Fix custom tests.
2018-11-29 11:04:08 -08:00
John MacFarlane
642c022d81
sample.lua: add SingleQuoted, DoubleQuoted.
...
Closes #5104 .
2018-11-29 10:42:05 -08:00
John MacFarlane
77a40d6f34
MediaWiki writer: fix caption, use 'thumb' instead of 'frame'.
...
Captions used to have the word 'caption' prepended; this
has been removed.
Also, 'thumb' is used instead of 'frame' to allow images
to be resized.
Closes #5105 .
2018-11-27 14:45:39 -08:00
John MacFarlane
14027cd8a8
INSTALL.md: Use button for installer links.
2018-11-27 09:57:47 -08:00
Mauro Bieg
3e32053b5b
update INSTALL.md
2018-11-27 12:49:13 -05:00
Mauro Bieg
4b98ec329c
simplify INSTALL.md
2018-11-27 12:49:13 -05:00
John MacFarlane
473b4ad62d
Update linux Dockerfile to use cabal new-build.
2018-11-26 23:15:06 -08:00
John MacFarlane
56b4b072f1
Update README.md.
2018-11-25 23:25:21 -08:00
John MacFarlane
610b017413
Update changelog.
2018-11-25 23:24:46 -08:00
John MacFarlane
83c0789205
Added test for #5053 .
...
Note that the fix for #5099 also fixes #5053 , a pandoc 2.4
regression in parsing underscore emphasis after symbols.
2018-11-25 22:50:16 -08:00
John MacFarlane
edc651059e
Fix parsing of citations and quotes after parentheses.
...
Starting with pandoc 2.4, citations and quoted inlines
were no longer recognized after parentheses. This is
because of commit 9b0bd4ec6f
,
which is reverted here.
The point of that commit was to allow relocation of
soft line breaks to before an abbreviation, so that
a nonbreaking space could be added after the
abbreviation. Now we simply leave the soft line
break in place, even though this means that
we won't get a nonbreaking space after "Mr."
at the end of a line (and in LaTeX this may
result in a longer intersentential space).
Those who care about this issue should take care
not to end lines with an abbreviation, or to
insert nonbreaking spaces manually.
Closes #5099 .
2018-11-25 22:29:54 -08:00
John MacFarlane
839bd3cfe6
Update date in manual and update man page.
2018-11-24 20:40:07 -08:00
John MacFarlane
743d1b368f
EPUB writer: handle calibre metadata.
...
Nodes of the form
<meta name="calibre:series" content="Classics on War and Politics"/>
are now included from an epub XML metadata file. You can also
include this information in your YAML metadata, like so:
calibre:
series: Classics on War and Policitics
In addition, ibooks-specific metadata can now be included via
an XML file. (Previously, it could only be included via YAML
metadata, see #2693.)
Closes #5098 .
2018-11-24 20:34:54 -08:00
Alexander Krotov
bbe34da854
MediaWiki reader internals: remove unnecessary binding
2018-11-25 03:39:02 +03:00
John MacFarlane
8ae18138df
Use latest dev version of pandoc-citeproc.
...
IT allows pandoc 2.5.
2018-11-23 10:21:24 -05:00
John MacFarlane
8c90f34d15
Hlint suggestions.
2018-11-22 22:41:12 -05:00
John MacFarlane
cc4ec3feee
RTF writer: fix warnings for skipped raw inlines.
2018-11-22 22:40:52 -05:00
John MacFarlane
e02500afe8
Bump version to 2.5.
2018-11-22 22:18:37 -05:00
John MacFarlane
c9691b91df
OpenDocument writer: small amendment to #5095 .
...
Level one lists should start at 0.5in rather than 0.75in.
(At least this is how LibreOffice behaves for me with a new
document.)
2018-11-22 22:02:08 -05:00
John MacFarlane
2e1366b3e0
Merge pull request #5095 from pyssling/master
...
ODT writer: Fix list indentation
2018-11-22 21:46:55 -05:00
Nils Carlson
eb82fd6b5e
ODT writer: Fix list indentation
...
Previously lists were indented by half an inch on the first line
for each level of nesting. This resulted in lists that looked like
this:
1. The first line of the list point text
the second line of the same list point.
Fix this and bring style into line with libreoffice standards:
1. The first line of the list point text
the second line of the list point text.
2018-11-22 17:18:09 +00:00
John MacFarlane
f961dd7c1b
MANUAL: Fix outdated description of latex_macros extension.
2018-11-21 22:56:50 -05:00
John MacFarlane
1aa24245e9
HTML writer: use plain "
instead of "
outside of attributes.
2018-11-21 22:25:18 -05:00