aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2014-08-09EPUB Reader: Changed image paths to be relative to manifest fileMatthew Pickering1-6/+6
2014-08-09HTML writer: Don't include empty TOC items for slide shows.John MacFarlane1-0/+3
Previously creating a slide with a horizontal rule would result in an empty list item in the TOC. This patch fixes that.
2014-08-08Updated changelog.John MacFarlane1-0/+6
2014-08-08Merge branch 'newbranch' of https://github.com/mpickering/pandoc into ↵John MacFarlane3-30/+68
mpickering-newbranch Conflicts: src/Text/Pandoc/Readers/EPUB.hs
2014-08-08Added `native_divs` and `native_spans` extensions.John MacFarlane6-11/+38
This allows users to turn off the default pandoc behavior of parsing contents of div and span tags in markdown and HTML as native pandoc Div blocks and Span inlines. Setting of default epub extensions has been moved from the EPUB reader to Text.Pandoc.
2014-08-08Updated changelog.John MacFarlane1-7/+158
2014-08-08Plain writer: Use ALL CAPS for level 1 headers.John MacFarlane2-16/+19
2014-08-08EPUB Reader: Improved robustness of image extractionMatthew Pickering1-7/+9
We now maintain the invariant that when fetchImages is called, all images have absolute paths. This patch fixes several bugs relating to this as there are three places where images can be introduced. (1) During the HTML parse (2) As spine elements (3) As a cover image For (1), the paths are corrected by the transformation renameImages For (2) and (3), we need to append the "root" to the path we parse from the spine
2014-08-08EPUB Reader: Fixed regressions in image extractionMatthew Pickering1-7/+7
Before the images were relative to the position of the package file. The collapse function changed this so that they were then absolute in the archive but the fetchImages function wasn't updated to recognise this.
2014-08-08EPUB Reader: Use collapseFilePathMatthew Pickering1-14/+3
2014-08-08Added tests for collapseFilePathMatthew Pickering1-1/+23