aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-20Recognize .icml extension and use icml writer. See #1707.John MacFarlane1-0/+1
2014-10-19Give better error messages when someone tries to convert pdf, doc, odt.John MacFarlane1-1/+12
Closes #1683.
2014-10-19Parsing: fixed `inlineMath` so it handles `\text{..}` containing `$`.John MacFarlane3-1/+26
For example: `$x = \text{the $n$th root of $y$}`. Closes #1677.
2014-10-18Markdown reader: allow `startnum` to work without `fancy_lists`.John MacFarlane1-2/+2
Formerly `pandoc -f markdown-fancy_lists+startnum` did not work properly.
2014-10-18Merge pull request #1680 from shelf/masterJohn MacFarlane2-7/+63
Respect indent when parsing Org bullet lists
2014-10-18Merge pull request #1700 from tarleb/org-emphasis-fixJohn MacFarlane2-5/+13
Org reader: fix rules for emphasis recognition
2014-10-18Merge pull request #1702 from tarleb/org-comment-treesJohn MacFarlane2-1/+38
Org reader: Drop COMMENT document trees
2014-10-18Org reader: Drop COMMENT document treesAlbert Krewinkel2-1/+38
Document trees under a header starting with the word `COMMENT` are comment trees and should not be exported. Those trees are dropped silently. This closes #1678.
2014-10-18Org reader: fix rules for emphasis recognitionAlbert Krewinkel2-5/+13
Things like `/hello,/` or `/hi'/` were falsy recognized as emphasised strings. This is wrong, as `,` and `'` are forbidden border chars and may not occur on the inner border of emphasized text. This patch enables the reader to matches the reference implementation in that it reads the above strings as plain text.
2014-10-17Fix indent issue for definition listsTimothy Humphries2-14/+35
Tidy up fix for #1650, #1698 as per comments in #1680. Fix same issue for definition lists with the same method.
2014-10-12Respect indent when parsing Org bullet listsTimothy Humphries2-2/+37
Fixes issue with top-level bullet list parsing. Previously we would use `many1 spaceChars` rather than respecting the list's indent level. We also permitted `*` bullets on unindented lists, which should unambiguously parse as `header 1`. Combined, this meant headers at a different indent level were being unwittingly slurped into preceding bullet lists, as per Issue #1650.
2014-10-08Merge pull request #1674 from freiric/masterJohn MacFarlane1-6/+4
fix inDirectory to reset to the original directory in case an exception ...
2014-10-08EPUB reader: Further URI handling improvements.John MacFarlane1-25/+12
Now we outsource most of the work to `fetchItem'`. Also, do not include queries in file extensions. Improves fix to #1671. It is possible that this will have some unexpected effects, so further testing would be good.
2014-10-08EPUB writer: correctly resolve relative URIs. (Closes #1671.)John MacFarlane1-11/+14
2014-10-08Fixed absolute URI detection in EPUB writer. Closes #1672.John MacFarlane1-2/+2
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-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-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.