John MacFarlane
2af6bf34f7
Merge pull request #2591 from mb21/ICML-figures
...
ICML writer: added figure handling, closes #2590
2015-12-16 10:19:07 -08:00
mb21
f3a9bdafef
ICML writer: added figure handling, closes #2590
2015-12-16 11:07:23 +01:00
John MacFarlane
7c22959c95
Reorganized changelog.
2015-12-14 21:26:38 -08:00
John MacFarlane
3e005aa413
Fixed benchmark for new API.
2015-12-14 20:34:53 -08:00
John MacFarlane
a6d810af15
Factored out convertWithOpts
2015-12-14 11:21:54 -08:00
John MacFarlane
c16efea983
Removed "compatibility mode" when called as hsmarkdown.
2015-12-14 11:21:54 -08:00
John MacFarlane
678e7da709
Removed deprecated --strict option entirely.
2015-12-14 11:21:54 -08:00
John MacFarlane
3573d99a31
Updated changelog.
2015-12-13 22:43:40 -08:00
John MacFarlane
9f43acb5d2
ICML writer: removed redundant import.
2015-12-13 22:18:23 -08:00
John MacFarlane
f3133a8e9e
Merge pull request #2570 from mb21/rst-reader-imgattrs
...
Image attributes
2015-12-13 20:29:13 -08:00
John MacFarlane
a924a3f43d
Fixed ICML image syntax for local files.
...
`file:filename` rather than `file://./filename`.
I think this is right; it matches what we had before
with people actually using the ICML writer, and seems
to match examples in the spec. I don't
have a copy of InDesign I can test on, though.
@DigitalPublishingToolkit and @mb21, can you have
a look?
2015-12-13 20:19:34 -08:00
John MacFarlane
90b8024fac
Use posix path separators in ICML link URIs.
...
Closes #2589 .
2015-12-13 17:40:24 -08:00
John MacFarlane
36c589a21e
Use lts-3.18 in stack.yamls.
2015-12-13 16:35:16 -08:00
John MacFarlane
6c8a93050f
Use lts-3.18 resolver to avoid Windows build problems.
2015-12-13 16:30:27 -08:00
mb21
df68f25459
ODT/OpenDocument writer: improved image attributes
...
- support for percentage widths/heights
- use Attr instead of title to get dimensions from ODT walker to writeOpenDocument
2015-12-13 21:40:13 +01:00
mb21
37931cb0c5
Docx reader: image attributes
2015-12-13 21:40:13 +01:00
mb21
2060f5fe83
new function to extract multiple properties at once in CSS.hs
...
and use it in Textile reader
2015-12-13 21:40:12 +01:00
mb21
30644b291b
RST reader: image attributes
2015-12-13 21:40:12 +01:00
John MacFarlane
e4b3da6929
AsciiDoc writer: support anchors in spans with id elements.
2015-12-13 09:02:37 -08:00
John MacFarlane
3e079a25bc
AsciiDoc writers: Add anchors on Div elements.
...
This partially addresses jgm/pandoc-citeproc#143 .
It does not use the native asciidoc syntax for citations,
but it does get the links to individual citations working.
2015-12-13 08:56:22 -08:00
John MacFarlane
44120ea716
Implemented east_asian_line_breaks
extension.
...
Text.Pandoc.Options: Added `Ext_east_asian_line_breaks` constructor to
`Extension` (API change).
This extension is like `ignore_line_breaks`, but smarter -- it
only ignores line breaks between two East Asian wide characters.
This makes it better suited for writing with a mix of East Asian
and non-East Asian scripts.
Closes #2586 .
2015-12-12 17:28:52 -08:00
John MacFarlane
60d383e27e
Update to use latest releases of highlighting-kate and texmath.
2015-12-12 16:35:25 -08:00
John MacFarlane
202d848fb3
Fixed tests.
2015-12-12 16:22:31 -08:00
John MacFarlane
9ce70291c8
stack.yaml - use latest pandoc-types.
2015-12-12 13:25:56 -08:00
John MacFarlane
d6a4c70ef8
Test fixes.
2015-12-12 12:58:31 -08:00
John MacFarlane
af7e782436
Modified readers to emit SoftBreak when appropriate.
2015-12-12 09:31:51 -08:00
John MacFarlane
d9c2f500bf
Updated pandoc-types commit in stack.yaml
2015-12-12 01:00:41 -08:00
John MacFarlane
47cc5ad6e0
Restore no wrapping of XML in Docx, ODT.
...
It's possible that wrapping causes problems; safer to
turn it off.
2015-12-12 00:28:47 -08:00
John MacFarlane
28a2f4c2a4
Fixed cite key parsing regression.
...
We were capturing final colons as in [@foo: bar];
the citation id was being parsed as "@foo:".
Closes jgm/pandoc-citeproc#201 .
2015-12-12 00:27:08 -08:00
John MacFarlane
1b0e0998fa
FB2 writer: support SoftBreak.
...
This was omitted earlier.
2015-12-12 00:13:58 -08:00
John MacFarlane
b747243e8d
Removed deprecated options --offline
and --html5
.
...
These have been deprecated forever.
2015-12-11 23:57:36 -08:00
John MacFarlane
536b6bf538
Implemented SoftBreak and new --wrap
option.
...
Added threefold wrapping option.
* Command line option: deprecated `--no-wrap`, added
`--wrap=[auto|none|preserve]`
* Added WrapOption, exported from Text.Pandoc.Options
* Changed type of writerWrapText in WriterOptions from
Bool to WrapOption.
* Modified Text.Pandoc.Shared functions for SoftBreak.
* Supported SoftBreak in writers.
* Updated tests.
* Updated README.
Closes #1701 .
2015-12-11 23:55:08 -08:00
John MacFarlane
63d875c6cb
Markdown reader: parse soft break as SoftBreak.
2015-12-11 15:33:53 -08:00
John MacFarlane
83c56bd1ef
stack.yaml: Use pandoc-types commit with SoftBreak.
2015-12-11 15:28:56 -08:00
John MacFarlane
b288884ed9
Update texmath version in stack.yaml.
2015-12-11 13:59:55 -08:00
John MacFarlane
cf476fbc37
Use latest texmath dev version in stack.yaml.
2015-12-11 13:33:13 -08:00
John MacFarlane
5f97abc154
trypandoc: sort drop-down lists.
2015-12-07 09:15:49 -08:00
John MacFarlane
09958d7f95
Fixed Emoji character definitions.
...
There were many bugs in the definitions.
Closes #2523 .
2015-12-04 09:38:58 -08:00
John MacFarlane
fde548f751
Beamer template: make \euro
conditional on presence of character.
...
for xelatex and lualatex, as it is for pdflatex.
Andrew Dunning.
2015-12-04 08:02:27 -08:00
John MacFarlane
dd8df6cfbc
Markdown reader: Improved pipe table relative widths.
...
Previously pipe table columns got relative widths (based
on the header underscore lines) when the source of one of the rows was
greater in width than the column width. This gave bad results in some
cases where much of the width of the row was due to nonprinting
material (e.g. link URLs). Now pandoc only looks at printable
width (the width of a plain string version of the source), which
should give better results.
Thanks to John Muccigrosso for bringing up the issue.
2015-12-03 11:02:45 -08:00
John MacFarlane
e5c72caf29
LaTeX template changes:
...
- only pass options to color package if colorlinks is set
- make definition of `\euro` conditional in xelatex/lualatex,
as it is already for pdflatex
(Andrew Dunning)
2015-12-03 10:45:11 -08:00
John MacFarlane
7b66f84b80
Fixed man template so disabling hyphenation actually works.
...
The command needs to come after .TH.
2015-12-03 10:38:48 -08:00
John MacFarlane
b63dc2ca0a
Merge pull request #2569 from rgaiacs/add-highlighting-to-gap
...
Add highlighting support to GAP
2015-12-03 10:14:46 -08:00
Raniere Silva
13f74d018b
Add support to GAP
2015-12-03 08:23:26 -02:00
John MacFarlane
48b7d250bb
Merge pull request #2568 from mb21/readers-images
...
Textile Reader: image attributes
2015-12-02 18:18:30 -08:00
mb21
d901a3da03
Textile Reader: image attributes
...
closes #2515
2015-12-03 00:06:18 +01:00
mb21
1f379da94b
Parse CSS that doesn't contain the optional semicolon
2015-12-02 23:56:44 +01:00
John MacFarlane
ad6578f673
Use lts-3.16.
2015-12-01 22:55:42 -08:00
John MacFarlane
622f09617e
Docx writer: better handling of PDF images.
...
Previously we tried to get the image size from the image even
if an explicit size was specified. Since we still can't get
image size for PDFs, this made it impossible to use PDF images
in docx.
Now we don't try to get the image size when a size is already
explicitly specified.
2015-12-01 00:23:03 -08:00
John MacFarlane
5c45a43399
stack.full.yaml - use local versions of everything.
2015-11-28 17:36:05 -08:00