summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lib: Added symbol.txt and file to generate codepoint to unicode mappingMatthew Pickering2014-08-09
|
* Docx Reader: Added recognition of sym element in paragraphsMatthew Pickering2014-08-09
|
* Merge pull request #1508 from mpickering/masterJohn MacFarlane2014-08-09
|\ | | | | EPUB: Fixed another mediabag related regression..
| * EPUB: Fixed another mediabag related regression..Matthew Pickering2014-08-10
| |
* | Merge pull request #1507 from mpickering/masterJohn MacFarlane2014-08-09
|\| | | | | Images are now relative to manifest file.
| * Updated EPUB testsMatthew Pickering2014-08-09
| |
| * EPUB Reader: Changed image paths to be relative to manifest fileMatthew Pickering2014-08-09
|/
* HTML writer: Don't include empty TOC items for slide shows.John MacFarlane2014-08-09
| | | | | Previously creating a slide with a horizontal rule would result in an empty list item in the TOC. This patch fixes that.
* Updated changelog.John MacFarlane2014-08-08
|
* Merge branch 'newbranch' of https://github.com/mpickering/pandoc into ↵John MacFarlane2014-08-08
|\ | | | | | | | | | | | | mpickering-newbranch Conflicts: src/Text/Pandoc/Readers/EPUB.hs
| * EPUB Reader: Improved robustness of image extractionMatthew Pickering2014-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * EPUB Reader: Fixed regressions in image extractionMatthew Pickering2014-08-08
| | | | | | | | | | | | 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.
| * EPUB Reader: Use collapseFilePathMatthew Pickering2014-08-08
| |
| * Added tests for collapseFilePathMatthew Pickering2014-08-08
| |
| * Shared: Added collapseFilePath functionMatthew Pickering2014-08-08
| | | | | | | | This function removes intermediate "." and ".." from a path.
| * EPUB Reader: Removed incorrectly set reader flagMatthew Pickering2014-08-08
| |
* | Added `native_divs` and `native_spans` extensions.John MacFarlane2014-08-08
| | | | | | | | | | | | | | | | | | 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.
* | Updated changelog.John MacFarlane2014-08-08
| |
* | Plain writer: Use ALL CAPS for level 1 headers.John MacFarlane2014-08-08
|/
* Merge pull request #1503 from jkr/streamlineMathJohn MacFarlane2014-08-08
|\ | | | | OMath parser: Change signature of exported function.
| * OMath parser: Change signature of exported function.Jesse Rosenthal2014-08-08
| | | | | | | | | | | | | | | | | | | | | | | | This changes the signature of the exported `readOMML` to `String -> Either String [Exp]`, so it can now, in theory, be slotted into TeXMath. It doesn't have any real error reporting yet, but that might make more sense once I put it in a branch, and understand how it works in the other readers. It also now reads strings that parse to either oMath or oMathPara elements. Note that the distinction is lost in the output. It's up to the caller to remember the display type.
* | Markdown writer: Respect -raw_html.John MacFarlane2014-08-08
| | | | | | | | | | | | | | pandoc -t markdown-raw_html should not emit any raw HTML, even span and div tags that go with pandoc Span and Div elements. Cleaned up a bit of the logic with extensions and plain.
* | Textile reader: fixed list parsing bug. Closes #1500.John MacFarlane2014-08-08
| |
* | Textile reader: don't allow inline formatting to extend over newline.John MacFarlane2014-08-08
|/ | | | | This matches behavior of RedCarpet, avoids some ugly bugs, and improves performance.
* Merge pull request #1502 from jkr/streamlineMathJohn MacFarlane2014-08-08
|\ | | | | Streamline OMML parser
| * OMath: Finish initial cleanup.Jesse Rosenthal2014-08-08
| | | | | | | | | | This gets rid of commented-out functions, cleans up whitespace errors, and exports and imports the correct functions.
| * OMath: Remove NamespacesJesse Rosenthal2014-08-08
| | | | | | | | | | | | We still need to test against prefixes, but this is only going to look at oMath fragments, so we're not going to be worried about looking up the real namespace.
| * OMath: Start phasing out internal OMath type.Jesse Rosenthal2014-08-08
| | | | | | | | | | This is the first step in removing the intermediate OMath type, which we no longer need since we're writing straight to TeXMath Exp.
| * OMath parser: don't group expressions if there's only one.Jesse Rosenthal2014-08-08
|/
* HTML EPUB exts: switch element can now be in either the inline or block positionMatthew Pickering2014-08-08
|
* EPUB test renaming.John MacFarlane2014-08-07
| | | | | | | | | Renamed epub test files so they're identified more clearly as epub: features.{epub,native} -> epub.features.{epub,native}, and similarly with formatting.{epub,native}. Added epub test files to cabal file, so they'll be included in the tarball.
* HTML reader: Really ignore DOCTYPE and xml declarations.John MacFarlane2014-08-07
| | | | | | | This actually does what d71b013841f3c9c8c595591e312a31df16a728cb said it did. Revised epub tests to remove the repeated DOCTYPE and xml tags.
* Merge pull request #1488 from mpickering/epubfixesJohn MacFarlane2014-08-07
|\ | | | | EPUB Reader: Improved image extraction
| * EPUB tests: Updated test fileMatthew Pickering2014-08-07
| |
| * EPUB Reader: Improved how images are extractedMatthew Pickering2014-08-07
| |
* | Merge pull request #1496 from mpickering/masterJohn MacFarlane2014-08-07
|\ \ | | | | | | Org Writer: Write anchor elements
| * | Org Writer: Write anchor elementsMatthew Pickering2014-08-08
| |/ | | | | | | | | | | The Org Writer now writes empty span elements which have an id as an anchor. For example `Span ("uid", [], []) []` becomes `<<uid>>`
* | Merge pull request #1494 from jkr/math-moduleJohn MacFarlane2014-08-07
|\ \ | | | | | | Math module
| * | OMath module: Add new file.Jesse Rosenthal2014-08-07
| | |
| * | Docx reader: Split math out into math module.Jesse Rosenthal2014-08-07
| | | | | | | | | | | | | | | Could use some cleanup, but this is the first step for getting an OMML reader into TeXMath.
| * | Docx Reader: Added Default instances and removed withDStateMatthew Pickering2014-08-06
| |/ | | | | | | Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>
* | Merge pull request #1495 from jkr/inline-drawingsJohn MacFarlane2014-08-07
|\ \ | |/ |/| Docx reader: Inline image fix
| * Docx reader: Test inline image code.Jesse Rosenthal2014-08-07
| |
| * Docx reader: Handle inline drawings.Jesse Rosenthal2014-08-07
|/ | | | | Previous drawings that were under some other toplevel run (i.e., a hyperlink) wouldn't be properly handled. This should fix that.
* pandoc: Don't strip path off of sourceURL.John MacFarlane2014-08-06
| | | | | | We need this information for relative URLs! This should resolve the continuing problem noted in #750.
* Merge pull request #1492 from jkr/nodocxenvJohn MacFarlane2014-08-06
|\ | | | | Get rid of unused docx variable.
| * Get rid of unused docx variable.Jesse Rosenthal2014-08-06
|/ | | | | Since changing the Docx type, this is no longer necessary. Thanks to Matthew Pickering for picking up on this.
* Merge pull request #1491 from jkr/texmath-equationsJohn MacFarlane2014-08-06
|\ | | | | Docx Reader: Use TeXMath for writing equations.
| * Docx reader: remove now-unnecessary state variable.Jesse Rosenthal2014-08-06
| | | | | | | | This also introduces a `defaultDState` value.
| * Remove now-unnecessary TexCharJesse Rosenthal2014-08-06
| | | | | | | | TeXMath does the work now.