aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-12Merge pull request #1524 from jkr/dropCap3John MacFarlane2-3/+11
Docx reader: move dropcap combining logic to Reducible
2014-08-12Markdown reader: Improved parsing of indented code in list items.John MacFarlane3-25/+67
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-12Beamer: Use \footnote<.->{..} for notes.John MacFarlane1-1/+6
This ensures that the footnotes will not appear before the overlays in which their corresponding note markers appear. Closes #1525.
2014-08-12Docx reader: move combining logic to ReducibleJesse Rosenthal2-3/+11
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-12Merge pull request #1523 from jkr/dropCap2John MacFarlane1-1/+3
Docx reader: Make dropcap combining more efficient.
2014-08-12Docx reader: Make dropcap combining more efficient.Jesse Rosenthal1-1/+3
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-11Merge pull request #1522 from jkr/dropCapJohn MacFarlane6-15/+40
Drop cap
2014-08-11Docx reader: combine inlines properly in dropcaps.Jesse Rosenthal2-3/+3
Make sure that adjacent inlines are combined properly in dropcaps. This updates the test results as well.
2014-08-11Docx: Add dropcap tests.Jesse Rosenthal4-4/+11
2014-08-11Docx reader: Use dropcap state.Jesse Rosenthal1-9/+17
If we get to a dropcap, we keep hold the inlines until the next paragraph, and combine it there.
2014-08-11Add dropCap to paragraph style.Jesse Rosenthal1-2/+12
2014-08-11EPUB reader: use walk instead of bottomUp.John MacFarlane1-2/+1
This should be more efficient.
2014-08-11Merge pull request #1521 from jkr/emptyEmphJohn MacFarlane2-5/+6
Discard empty formatters
2014-08-11LaTeX writer: Don't produce `\label{}` for Div or Span.John MacFarlane1-8/+7
Just `\hyperdef`. A slight amendment to #1519.
2014-08-11Require zip-archive 0.2.3.4, with normalized path comparison.John MacFarlane1-2/+2
2014-08-11Docx reader test: Add an emphasized space to normalize test.Jesse Rosenthal1-0/+0
This should be ignored, so the output should be the same as the previous test.
2014-08-11Merge pull request #1519 from mpickering/moreJohn MacFarlane2-3/+8
EPUB Normalisation and anchors for div blocks in tex
2014-08-11Textile reader: list and HTML block parsing improvements.John MacFarlane3-22/+26
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-11Merge pull request #1365 from gbataille/docx-marginJohn MacFarlane1-1/+9
Scale images to fit the page for DOCX
2014-08-11Docx reader: handle empty reducibles.Jesse Rosenthal1-5/+6
2014-08-11TeX Writer: Write hyperdef and label for identifiers on Div blocksMatthew Pickering1-2/+7
2014-08-11EPUB Reader: Fixed another normalisation problem..Matthew Pickering1-1/+1
2014-08-11README: Added needed blanklines in definition list.John MacFarlane1-0/+33
Thanks @mpickering for noticing this.
2014-08-11Merge pull request #1516 from mpickering/epubmetadataJohn MacFarlane3-26/+72
EPUB improvements
2014-08-11Merge pull request #1518 from jkr/fontsmoreJohn MacFarlane4-9/+29
Symbol font improvements from mpickering.
2014-08-11Docx Parse: Updated testsMatthew Pickering2-1/+1
2014-08-11Docx Parse: Improved font recognition when specified in rFonts elementMatthew Pickering1-8/+27
2014-08-11Docx Fonts: Derives Show and EqMatthew Pickering1-0/+1
2014-08-11EPUB Reader: Can now parse multiple meta data fieldsMatthew Pickering1-2/+2
2014-08-11Updated README with information about EPUB meta elementMatthew Pickering1-0/+18
2014-08-11EPUB Writer: Added page-progression-direction meta fieldMatthew Pickering1-2/+21
2014-08-11EPUB reader: Fixed bug where filepaths weren't sufficiently normalisedMatthew Pickering1-4/+5
2014-08-11EPUB Writer: Added explicit importsMatthew Pickering1-18/+26
2014-08-10Merge pull request #1512 from mpickering/masterJohn MacFarlane5-334/+41
Improved EPUB Tests
2014-08-10Merge pull request #1510 from jkr/spacefixJohn MacFarlane1-10/+12
Docx reader: Fix spacing issue.
2014-08-10Improved EPUB TestsMatthew Pickering5-334/+41
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-10Removed OMath module, depend on texmath >= 0.8.John MacFarlane4-442/+3
2014-08-10Change head/tail to pattern guards.Jesse Rosenthal1-7/+8
2014-08-09Docx reader: Fix spacing issue.Jesse Rosenthal1-9/+10
Previously spaces at the beginning of Emph/Strong/etc were kept inside. This makes sure they are moved out.
2014-08-09Merge pull request #1509 from jkr/symbolJohn MacFarlane8-1/+563
Parse "w:sym"
2014-08-09Docx Tests: Updated for reading sym elementMatthew Pickering2-1/+1
2014-08-09Docx Parse: Recognises code points in sym elements which are in the private ↵Matthew Pickering1-1/+4
range
2014-08-09Added test for sym elementMatthew Pickering2-1/+1
2014-08-09Added Text.Pandoc.Readers.Docx.FontsMatthew Pickering2-0/+238
2014-08-09lib: Added symbol.txt and file to generate codepoint to unicode mappingMatthew Pickering3-0/+302
2014-08-09Docx Reader: Added recognition of sym element in paragraphsMatthew Pickering1-0/+19
2014-08-09Merge pull request #1508 from mpickering/masterJohn MacFarlane1-3/+5
EPUB: Fixed another mediabag related regression..
2014-08-10EPUB: Fixed another mediabag related regression..Matthew Pickering1-3/+5
2014-08-09Merge pull request #1507 from mpickering/masterJohn MacFarlane2-16/+16
Images are now relative to manifest file.
2014-08-09Updated EPUB testsMatthew Pickering1-10/+10