aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-08fix inDirectory to reset to the original directory in case an exception occursFreiric Barral1-6/+4
2014-10-08EPUB writer: Don't add sourceURL to absolute URIs!John MacFarlane1-5/+10
Closes #1669. If there are further issues, please open a new, targeted issue on the tracker. Some notes on the further issues you gestured at: Data URIs are indeed dereferenced, but why is this a problem? (The function being used to fetch from URLs is used for many different formats. Preserving data URIs would make sense in EPUBs, but not for e.g. PDF output. And by dereferencing we can get a smaller, more efficient EPUB, with the data stored as bytes in a file rather than encoded in textual representation.) "absolute uris are not recognized" -- I assume that is the problem just fixed. If not, please open a new issue. "relative uris are resolved (wrongly) like file paths" -- can you give an example? `<base>` tag is ignored. Yes. I didn't know about the base tag. Could you open a new issue just for this?
2014-10-05Merge pull request #1666 from jronallo/webvtt-mimeJohn MacFarlane1-0/+1
add mime type for WebVTT
2014-10-05Getting the page width from the reference fileGrégory Bataille1-17/+36
Uses it to scale images that are too large. When there is no reference files, default to a US letter portrait size to scale the images
2014-10-04add mime type for WebVTTJason Ronallo1-0/+1
2014-10-04Added `track` to list of tags treated by `--self-contained`.John MacFarlane1-1/+2
Closes #1664.
2014-09-30RST writer: Wrap line blocks with spaces before continuations.John MacFarlane1-1/+1
Improves on fix to #1656.
2014-09-29Don't wrap lines in rST line blocks.John MacFarlane1-1/+1
Closes #1656. Fixing pandoc to wrap the lines but insert spaces would be much more complicated. This at least makes the output semantically correct.
2014-09-29Updated description of heuristic for math `$`.John MacFarlane1-2/+3
2014-09-28Adde network dependency under network-uri flag in test section.John MacFarlane1-1/+1
2014-09-27LaTeX template: Add shorthands=off to babel options.John MacFarlane1-7/+6
Closes #1648.
2014-09-27Merge pull request #1601 from jkr/windowsfixJohn MacFarlane2-3/+2
Fix path-slashes inside archive for windows
2014-09-27Merge pull request #1589 from mszep/masterJohn MacFarlane1-7/+17
Add function to sanitize ConTeXt labels
2014-09-27Merge pull request #1644 from mpickering/masterJohn MacFarlane14-76/+135
Fixes and Enhancements from the tracker
2014-09-27Update tests for #1649Matthew Pickering1-1/+3
2014-09-27Org Reader: Parse multi-inline terms correctly in definition listMatthew Pickering1-1/+1
Closes #1649
2014-09-26Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane1-5/+5
2014-09-26LaTeX template: load polyglossia before bibtex.John MacFarlane1-8/+7
Fixes jgm/pandoc-templates#70. Thanks to bluebirch.
2014-09-26Fix 'Ext_lists_without_preceding_blankline' bug.Artyom2-2/+21
* Fixes #1636. * Adds a test.
2014-09-25HTML Reader: Recognise <br> tags inside <pre> blocksmpickering1-1/+6
Closes #1620
2014-09-25HTML Writer: Don't double render when email-obfuscation=nonempickering1-5/+5
Closes #1625
2014-09-25Updated README to include information about KaTeX switchesmpickering1-1/+12
2014-09-25Add support for KaTeX HTML mathmpickering3-3/+52
Closes #1626
2014-09-25HTML Writer: MathML now outputted with tex annotation.mpickering1-1/+15
Closes #1635
2014-09-25EPUB Tests: Seperating image testing from other featuresmpickering4-35/+8
2014-09-25Shared: Make collapseFilePath OS-agnosticmpickering2-23/+28
2014-09-25MediaBag: Fixes Windows specific path problemsmpickering1-5/+5
Changes the internal representation to fix the problem. I haven't tested this on windows. Closes #1597
2014-09-22Merge pull request #1639 from RyanGlScott/masterJohn MacFarlane1-5/+5
Bump text, random, http-client upper bounds
2014-09-22Bump text, random, http-client upper boundsRyanGlScott1-5/+5
2014-09-18ConTeXt writer: add function toLabelMark Szepieniec1-7/+17
This function can be used to sanitize reference labels so that they do not contain any of the illegal characters \#[]",{}%()|= . Currently only Links have their labels sanitized, because they are the only Elements that use passed labels.
2014-09-11Docx writer: Renumber header and footer relationships to avoid collisions.Jesse Rosenthal1-12/+56
We previously took the old relationship names of the headers and footer in secptr. That led to collisions. We now make a map of availabl names in the relationships file, and then rename in secptr.
2014-09-09Updated tests for #1616 change.John MacFarlane1-0/+1
2014-09-09LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane1-26/+7
Fixes a bug when there is verbatim inside notes. Closes #1616.
2014-09-09LaTeX writer: Test for protecting images in header.Jesse Rosenthal1-0/+3
2014-09-09LaTeX writer: Protect graphics in headers.Jesse Rosenthal1-6/+15
Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed. This adds a state value and manually turns it on before every invocation of `sectionHeader` and manually turns it off after. Using a writer value and applying `local` would probably be cleaner, but this fits with the current style.
2014-09-06Docx Reader: Remove header class properly in other langsJesse Rosenthal1-4/+4
When we encounter one of the polyglot header styles, we want to remove that from the par styles after we convert to a header. To do that, we have to keep track of the style name, and remove it appropriately.
2014-09-05Docx reader: Add test for polyglot headers.Jesse Rosenthal3-0/+14
Only Danish at the moment.
2014-09-05Docx reader: Use polyglot header list.Jesse Rosenthal1-7/+7
We're just keeping a list of header formats that different languages use as their default styles. At the moment, we have English, German, Danish, and French. We can continue to add to this. This is simpler than parsing the styles file, and perhaps less error-prone, since there seems to be some variations, even within a language, of how a style file will define headers.
2014-09-05Docx Reader: Start list of polyglot section headers.Jesse Rosenthal1-0/+7
2014-09-04Org reader: Update TestsJesse Rosenthal1-1/+5
Test for markup after blank line.
2014-09-04Org reader: Added state changing blanklines.Jesse Rosenthal1-1/+8
This allows us to emphasize at the beginning of a new paragraph (or, in general, after blank lines).
2014-09-04Docx Reader: Add tests for numbered headers.Jesse Rosenthal3-0/+5
2014-09-04Docx reader: Rewrite rewriteLink to work with new headers.Jesse Rosenthal1-9/+4
There could be new top-level headers after making lists, so we have to rewrite links after that.
2014-09-04Docx reader: Single-item headers in ordered lists are headers.Jesse Rosenthal1-4/+6
When users number their headers, Word understands that as a single item enumerated list. We make the assumption that such a list is, in fact, a header.
2014-09-02Docx reader: Modify mediabag test accordingly.Jesse Rosenthal1-2/+1
2014-09-02Docx reader: Fix window path for image lookup.Jesse Rosenthal1-1/+1
Don't use os-sensitive "combine", since we always want the paths in our zip-archive to use forward-slashes.
2014-09-01EPUB writer: Don't include nav node in spine unless --toc was requested.John MacFarlane1-4/+2
Previously we included it in the spine with `linear="no"`, leading to odd results in some readers. Closes #1593.
2014-09-01LaTeX writer: Avoid using reserved characters as \lstinline delimiters.John MacFarlane1-1/+3
Closes #1595.
2014-09-01EPUB writer: Fixed typo.John MacFarlane1-1/+1
2014-08-31Merge pull request #1594 from jkr/itemFixJohn MacFarlane2-2/+19
Item fix