summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* epub, epub3 templates: Added id="cover" to body of titlepage.John MacFarlane2014-11-16
| | | | | This aids styling, making it possible for example to set 0 margins on the title page. Closes jgm/pandoc#1758.
* Make `embed` tag either block or inline.John MacFarlane2014-11-16
| | | | Closes #1756.
* Removed extra `</body>` tag from `tests/html-reader.html`.John MacFarlane2014-11-16
|
* Changed mime type for otf to application/vnd.ms-opentype.John MacFarlane2014-11-16
| | | | | Closes #1761. This is needed for epub3 validation. See http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3.1
* Fixed bug in org with bulleted lists:John MacFarlane2014-11-13
| | | | | | | | | | - a - b * c was being parsed as a list, even though an unindented `*` should make a heading. See <http://orgmode.org/manual/Plain-lists.html#fn-1>.
* Add tests for external links with anchorsCaleb McDaniel2014-11-13
|
* Account for external link URLs with anchorsCaleb McDaniel2014-11-13
| | | | | | | | | Previously, if a URL had an anchor, such as http://johnmacfarlane.net/pandoc/README.html#synopsis the reader would incorrectly identify it as an internal link and return "#synopsis" for the link in output.
* Merge pull request #1645 from neongreen/issue1636John MacFarlane2014-11-12
|\ | | | | Fix 'Ext_lists_without_preceding_blankline' bug.
| * Fix 'Ext_lists_without_preceding_blankline' bug.Artyom2014-09-26
| | | | | | | | | | * Fixes #1636. * Adds a test.
* | Merge pull request #1742 from tarleb/org-fix-linksJohn MacFarlane2014-11-05
|\ \ | | | | | | Org fix links
| * | Org reader: allow empty links for gitit interopAlbert Krewinkel2014-11-05
| | | | | | | | | | | | | | | | | | | | | | | | While empty links are not allowed in Emacs org-mode, Pandoc org-mode should support them: gitit relies on empty links as they are used to create wiki links. Fixes jgm/gitit#471
| * | Org reader: absolute, relative paths in linksAlbert Krewinkel2014-11-05
|/ / | | | | | | | | | | | | | | | | The org reader was to restrictive when parsing links, some relative links and links to files given as absolute paths were not recognized correctly. The org reader's link parsing function was amended to handle such cases properly. This fixes #1741
* | DokuWiki writer: Better handling of block quotes.John MacFarlane2014-11-04
| | | | | | | | | | | | | | This change ensures that multiple paragraph blockquotes are rendered using native `>` rather than as HTML. Closes #1738.
* | Fixed README and pandoc.cabal for TWiki reader.John MacFarlane2014-10-31
| |
* | Merge pull request #1726 from AlexanderS/twiki-parserJohn MacFarlane2014-10-31
|\ \ | | | | | | TWiki Reader: add new new twiki reader
| * | TWiki Reader: update documentationAlexander Sulfrian2014-10-30
| | |
| * | TWiki Reader: add basic syntax testAlexander Sulfrian2014-10-30
| | |
| * | TWiki Reader: add new new twiki readerAlexander Sulfrian2014-10-30
| | |
* | | ODT writer: Correctly handle images without extensions.John MacFarlane2014-10-30
| | | | | | | | | | | | Closes #1729.
* | | Merge pull request #1727 from toddsifleet/tws-fix-issue-1682John MacFarlane2014-10-28
|\ \ \ | | | | | | | | Strip querystring in ODT write
| * | | Strip querystring in ODT writeTodd Sifleet2014-10-28
|/ / / | | | | | | | | | | | | | | | * Resolve #1682 * Strip querystring from filename before rendering ODT files, ODT cannot handle querystrings in files.
* / / Clarified need for `-s` to get character encoding info.John MacFarlane2014-10-28
|/ / | | | | | | Closes #1724, #1725.
* | Docx test: Remove Danish header test.Jesse Rosenthal2014-10-25
| | | | | | | | | | Redundant, now that we're testing for a more generalized sort of internationalized blocks.
* | Docx reader: add tests for i18n headers.Jesse Rosenthal2014-10-25
| | | | | | | | | | This tests blockquotes and headers in Russian. Previous tests make sure that this doesn't produce a regression in en-us Header and Blockquotes.
* | Docx reader: fix for Issue #1692 (i18n styles)Nikolay Yakimov2014-10-25
| | | | | | | | | | | | | | | | This patch builds paragraph styles tree, then checks if paragraph has style.styleId or style/name.val matching predetermined patterns. Works with "Heading#" (name.val="heading #") for headings and "Quote"|"BlockQuote"|"BlockQuotation" (name.val="Quote"|"Block Text") for block quotes.
* | HTML writer: Make header attributes work outside top level.John MacFarlane2014-10-23
| | | | | | | | | | | | | | Previously they only appeared on top level header elements. Now they work e.g. in blockquotes. Closes #1711.
* | DOCX writer: Look in user data dir for archive reference.docx.John MacFarlane2014-10-21
| |
* | Merge pull request #1706 from tarleb/org-symbol-entitiesJohn MacFarlane2014-10-21
|\ \ | | | | | | Org reader: parse LaTeX-style MathML entities
| * | Org reader: parse LaTeX-style MathML entitiesAlbert Krewinkel2014-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Org supports special symbols which can be included using LaTeX syntax, but are actually MathML entities. Examples for this are `\nbsp` (non-breaking space), `\Aacute` (the letter A with accent acute) or `\copy` (the copyright sign ©). This fixes #1657.
* | | Merge pull request #1668 from gbataille/widthFromRef2John MacFarlane2014-10-21
|\ \ \ | | | | | | | | Getting the page width from the reference file
| * | | Getting the page width from the reference fileGrégory Bataille2014-10-05
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Version bump to 1.13.2.John MacFarlane2014-10-20
| | | | | | | | | | | | | | | | | | | | This is needed because of the addition of KaTeX to HTMLMathMethod.
* | | | Pretty: Make CR + BLANKLINE = BLANKLINE.John MacFarlane2014-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an extra blank line we were getting at the end of markdown fragments (as well as rst, org, etc.) Closes #1705.
* | | | Recognize .icml extension and use icml writer. See #1707.John MacFarlane2014-10-20
| |/ / |/| |
* | | Give better error messages when someone tries to convert pdf, doc, odt.John MacFarlane2014-10-19
| | | | | | | | | | | | Closes #1683.
* | | Parsing: fixed `inlineMath` so it handles `\text{..}` containing `$`.John MacFarlane2014-10-19
| | | | | | | | | | | | For example: `$x = \text{the $n$th root of $y$}`. Closes #1677.
* | | Markdown reader: allow `startnum` to work without `fancy_lists`.John MacFarlane2014-10-18
| | | | | | | | | | | | | | | Formerly `pandoc -f markdown-fancy_lists+startnum` did not work properly.
* | | Merge pull request #1680 from shelf/masterJohn MacFarlane2014-10-18
|\ \ \ | | | | | | | | Respect indent when parsing Org bullet lists
| * | | Fix indent issue for definition listsTimothy Humphries2014-10-17
| | | | | | | | | | | | | | | | | | | | Tidy up fix for #1650, #1698 as per comments in #1680. Fix same issue for definition lists with the same method.
| * | | Respect indent when parsing Org bullet listsTimothy Humphries2014-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #1700 from tarleb/org-emphasis-fixJohn MacFarlane2014-10-18
|\ \ \ \ | | | | | | | | | | Org reader: fix rules for emphasis recognition
| * | | | Org reader: fix rules for emphasis recognitionAlbert Krewinkel2014-10-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #1702 from tarleb/org-comment-treesJohn MacFarlane2014-10-18
|\ \ \ \ | |/ / / |/| | | Org reader: Drop COMMENT document trees
| * | | Org reader: Drop COMMENT document treesAlbert Krewinkel2014-10-18
|/ / / | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1674 from freiric/masterJohn MacFarlane2014-10-08
|\ \ \ | | | | | | | | fix inDirectory to reset to the original directory in case an exception ...
| * | | fix inDirectory to reset to the original directory in case an exception occursFreiric Barral2014-10-08
| | | |
* | | | EPUB reader: Further URI handling improvements.John MacFarlane2014-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | EPUB writer: correctly resolve relative URIs. (Closes #1671.)John MacFarlane2014-10-08
| | | |
* | | | Fixed absolute URI detection in EPUB writer. Closes #1672.John MacFarlane2014-10-08
|/ / /
* | | EPUB writer: Don't add sourceURL to absolute URIs!John MacFarlane2014-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?