John MacFarlane
7684b24959
Merge pull request #1528 from mpickering/epubtitlepage
...
EPUB Reader: Ignores titlepage attribute
2014-08-12 16:56:38 -07:00
Matthew Pickering
2b31df32de
LaTeX Writer: Added missing closing braces to hyperdef commands
2014-08-13 00:37:18 +01:00
Matthew Pickering
57bebe26df
PDF Writer: Attempts to convert images to pdf renderable formats
...
Now depends on the JuicyPixels library.
Will attempt to convert an image (gif, tiff, bmp) to png when converting
to pdf.
2014-08-13 00:37:18 +01:00
Matthew Pickering
063ba81622
EPUB Tests: Added wasteland test
...
This epub contains many epub:type elements including footnotes and
titlepage.
2014-08-13 00:25:18 +01:00
John MacFarlane
52c58175ca
Updated changelog.
2014-08-12 15:52:18 -07:00
John MacFarlane
81157c7cc6
HTML writer: use 'uri' or 'email' class for autolinks.
...
This allows them to be styled specially.
Closes #1501 .
2014-08-12 15:49:43 -07:00
John MacFarlane
da507dcb84
ConTeXt writer: improved autolink detection.
...
It previously failed in some cases with escaped special characters.
2014-08-12 15:49:20 -07:00
Matthew Pickering
34cf016251
EPUB Reader: Ignore title pages
2014-08-12 23:03:24 +01:00
John MacFarlane
60cf6e1dae
Updated changelog.
2014-08-12 14:12:28 -07:00
John MacFarlane
3653018a70
Added mathml tests for docbook reader.
2014-08-12 14:10:52 -07:00
John MacFarlane
f16dd1bfdf
DocBook: Support equations with mathml.
...
equation, informalequation, inlineequation and mml:math elements.
2014-08-12 14:00:46 -07:00
John MacFarlane
22cf6209a6
Minor changelog reformatting.
2014-08-12 13:08:32 -07:00
John MacFarlane
c0df6ae45f
Updated changelog.
2014-08-12 13:05:11 -07:00
John MacFarlane
5c5d60a438
Reorganized changelog.
2014-08-12 12:59:56 -07:00
John MacFarlane
d6f0973128
Merge pull request #1524 from jkr/dropCap3
...
Docx reader: move dropcap combining logic to Reducible
2014-08-12 11:13:27 -07:00
John MacFarlane
f97ec6db2c
Markdown reader: Improved parsing of indented code in list items.
...
Indented code at the beginning of a list item must be indented eight
spaces from the margin (or from the edge of the container), or four
spaces past the list marker, whichever is farther.
Some examples in `tests/markdown-reader-more.txt`.
2014-08-12 11:10:48 -07:00
John MacFarlane
ab75e1d3bd
Beamer: Use \footnote<.->{..} for notes.
...
This ensures that the footnotes will not appear before the
overlays in which their corresponding note markers appear.
Closes #1525 .
2014-08-12 10:56:57 -07:00
Jesse Rosenthal
9d0b390d48
Docx reader: move combining logic to Reducible
...
Introduces a new function in Reducibles, concatR. The idea is that if we
have two list of Reducibles (blocks or inlines), we can combine them and
just perform the reduction on the joining parts (the last element of the
first list, the first element of the second list). This is useful in cases
where the two lists are already reduced, and we're only worried about the
joining elements.
This actually improves the efficiency a bit further, because concatR can be
smart about empty lists.
2014-08-12 10:26:49 -04:00
John MacFarlane
712ae610e0
Merge pull request #1523 from jkr/dropCap2
...
Docx reader: Make dropcap combining more efficient.
2014-08-12 07:16:38 -07:00
Jesse Rosenthal
e4a8e4a636
Docx reader: Make dropcap combining more efficient.
...
Before, we had to run reduceList on the whole combined paragraph, which
was redundant, and could take some time for long paragraphs. We only
need to combine the drop cap with the first inline of the next
paragraph.
2014-08-12 09:00:53 -04:00
John MacFarlane
4c88e64894
Merge pull request #1522 from jkr/dropCap
...
Drop cap
2014-08-11 20:38:23 -07:00
Jesse Rosenthal
45ec035e93
Docx reader: combine inlines properly in dropcaps.
...
Make sure that adjacent inlines are combined properly in dropcaps. This
updates the test results as well.
2014-08-11 23:31:16 -04:00
Jesse Rosenthal
0808449547
Docx: Add dropcap tests.
2014-08-11 23:10:50 -04:00
Jesse Rosenthal
3e32cd5bb1
Docx reader: Use dropcap state.
...
If we get to a dropcap, we keep hold the inlines until the next
paragraph, and combine it there.
2014-08-11 23:08:33 -04:00
Jesse Rosenthal
bca74a2bd0
Add dropCap to paragraph style.
2014-08-11 21:42:02 -04:00
John MacFarlane
86d4da994a
EPUB reader: use walk instead of bottomUp.
...
This should be more efficient.
2014-08-11 14:48:42 -07:00
John MacFarlane
31811657fa
Merge pull request #1521 from jkr/emptyEmph
...
Discard empty formatters
2014-08-11 14:44:08 -07:00
John MacFarlane
211fe266e0
LaTeX writer: Don't produce \label{}
for Div or Span.
...
Just `\hyperdef`.
A slight amendment to #1519 .
2014-08-11 12:20:44 -07:00
John MacFarlane
7ec953e31b
Require zip-archive 0.2.3.4, with normalized path comparison.
2014-08-11 12:13:32 -07:00
Jesse Rosenthal
241ef57bb2
Docx reader test: Add an emphasized space to normalize test.
...
This should be ignored, so the output should be the same as the previous
test.
2014-08-11 15:11:28 -04:00
John MacFarlane
95d9b43b42
Merge pull request #1519 from mpickering/more
...
EPUB Normalisation and anchors for div blocks in tex
2014-08-11 11:28:11 -07:00
John MacFarlane
6fae136cbb
Textile reader: list and HTML block parsing improvements.
...
Closes #1513 .
Lists can now start without an intervening blank line.
Also, html block-level tags that don't start a line are parsed
as RawInline and don't interrupt paragraphs, as in RedCloth.
2014-08-11 11:22:39 -07:00
John MacFarlane
4a535211d8
Merge pull request #1365 from gbataille/docx-margin
...
Scale images to fit the page for DOCX
2014-08-11 10:44:52 -07:00
Jesse Rosenthal
0411fe7ccf
Docx reader: handle empty reducibles.
2014-08-11 12:48:16 -04:00
Matthew Pickering
1952dd0592
TeX Writer: Write hyperdef and label for identifiers on Div blocks
2014-08-11 16:23:05 +01:00
Matthew Pickering
72b1470713
EPUB Reader: Fixed another normalisation problem..
2014-08-11 16:23:05 +01:00
John MacFarlane
a67e5e877d
README: Added needed blanklines in definition list.
...
Thanks @mpickering for noticing this.
2014-08-11 08:18:37 -07:00
John MacFarlane
e690fe4a3e
Merge pull request #1516 from mpickering/epubmetadata
...
EPUB improvements
2014-08-11 08:14:54 -07:00
John MacFarlane
270e9a26cc
Merge pull request #1518 from jkr/fontsmore
...
Symbol font improvements from mpickering.
2014-08-11 08:14:34 -07:00
Matthew Pickering
853830d12b
Docx Parse: Updated tests
2014-08-11 10:30:32 -04:00
Matthew Pickering
973ed469de
Docx Parse: Improved font recognition when specified in rFonts element
2014-08-11 10:30:32 -04:00
Matthew Pickering
427466f80c
Docx Fonts: Derives Show and Eq
2014-08-11 10:30:32 -04:00
Matthew Pickering
e02360d3d8
EPUB Reader: Can now parse multiple meta data fields
2014-08-11 13:12:42 +01:00
Matthew Pickering
ed7315449f
Updated README with information about EPUB meta element
2014-08-11 11:29:30 +01:00
Matthew Pickering
285d56dea7
EPUB Writer: Added page-progression-direction meta field
2014-08-11 11:21:38 +01:00
Matthew Pickering
9eded27e32
EPUB reader: Fixed bug where filepaths weren't sufficiently normalised
2014-08-11 11:20:33 +01:00
Matthew Pickering
1f02ff60ba
EPUB Writer: Added explicit imports
2014-08-11 10:21:52 +01:00
John MacFarlane
4e483dbf9a
Merge pull request #1512 from mpickering/master
...
Improved EPUB Tests
2014-08-10 07:13:51 -07:00
John MacFarlane
65b31e0cac
Merge pull request #1510 from jkr/spacefix
...
Docx reader: Fix spacing issue.
2014-08-10 07:11:59 -07:00
Matthew Pickering
f33ae631f3
Improved EPUB Tests
...
Rewrote features test to remove all unimplemented features.
There are now all three examples of where an image can be included in
the test.
1. Cover image
2. As a spine elemnt
3. In the document
Tests have also been added to make sure that the mediabag contains all
these images after processing.
2014-08-10 14:58:53 +01:00