Jesse Rosenthal
c0ddcb359e
Docx reader: add tests for i18n headers.
...
This tests blockquotes and headers in Russian. Previous tests make sure
that this doesn't produce a regression in en-us Header and Blockquotes.
2014-10-25 16:00:27 -04:00
Nikolay Yakimov
96c4b9e2e6
Docx reader: fix for Issue #1692 (i18n styles)
...
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.
2014-10-25 15:54:44 -04:00
Nikolay Yakimov
3c894987b2
Docx Writer: Partial fix for #1607
...
International heading styles are inferred based on `<w:name val="heading #">` fallback, if there are no en-US "Heading#" styles
2014-10-24 23:57:06 +04:00
John MacFarlane
e16683b539
HTML writer: Make header attributes work outside top level.
...
Previously they only appeared on top level header elements.
Now they work e.g. in blockquotes.
Closes #1711 .
2014-10-23 10:27:14 -07:00
John MacFarlane
e4f3475eaa
DOCX writer: Look in user data dir for archive reference.docx.
2014-10-21 14:33:15 -07:00
John MacFarlane
78bdc08de7
Merge pull request #1706 from tarleb/org-symbol-entities
...
Org reader: parse LaTeX-style MathML entities
2014-10-21 10:11:19 -07:00
John MacFarlane
0714a363c6
Merge pull request #1668 from gbataille/widthFromRef2
...
Getting the page width from the reference file
2014-10-21 10:05:51 -07:00
John MacFarlane
e4c6997c81
Version bump to 1.13.2.
...
This is needed because of the addition of KaTeX to
HTMLMathMethod.
2014-10-20 21:21:18 -07:00
John MacFarlane
7f6bbfadf4
Pretty: Make CR + BLANKLINE = BLANKLINE.
...
This fixes an extra blank line we were getting at the end
of markdown fragments (as well as rst, org, etc.)
Closes #1705 .
2014-10-20 20:26:08 -07:00
John MacFarlane
88812c41ce
Recognize .icml extension and use icml writer. See #1707 .
2014-10-20 15:01:13 -07:00
Albert Krewinkel
a5eb02f6a7
Org reader: parse LaTeX-style MathML entities
...
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 .
2014-10-20 22:57:36 +02:00
John MacFarlane
6eda32871f
Give better error messages when someone tries to convert pdf, doc, odt.
...
Closes #1683 .
2014-10-19 16:59:59 -07:00
John MacFarlane
d7169c715d
Parsing: fixed inlineMath
so it handles \text{..}
containing $
.
...
For example: `$x = \text{the $n$th root of $y$}`. Closes #1677 .
2014-10-19 16:42:56 -07:00
John MacFarlane
328ff8e71f
Markdown reader: allow startnum
to work without fancy_lists
.
...
Formerly `pandoc -f markdown-fancy_lists+startnum` did not work
properly.
2014-10-18 13:58:08 -07:00
John MacFarlane
84f6b1e41a
Merge pull request #1680 from shelf/master
...
Respect indent when parsing Org bullet lists
2014-10-18 13:20:27 -07:00
John MacFarlane
31713d572a
Merge pull request #1700 from tarleb/org-emphasis-fix
...
Org reader: fix rules for emphasis recognition
2014-10-18 13:19:42 -07:00
John MacFarlane
a1b5997af4
Merge pull request #1702 from tarleb/org-comment-trees
...
Org reader: Drop COMMENT document trees
2014-10-18 13:19:26 -07:00
Albert Krewinkel
e3c36ed6ce
Org reader: Drop COMMENT document trees
...
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-18 22:11:53 +02:00
Albert Krewinkel
d571bec454
Org reader: fix rules for emphasis recognition
...
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-18 12:47:59 +02:00
Timothy Humphries
f1f56e8533
Fix indent issue for definition lists
...
Tidy up fix for #1650 , #1698 as per comments in #1680 .
Fix same issue for definition lists with the same method.
2014-10-17 20:06:25 -04:00
Bjorn Buckwalter
7960013cd4
Escape spaces. Fixes jgm/pandoc#1694 .
2014-10-15 21:06:41 +02:00
Timothy Humphries
4f4b0f031d
Respect indent when parsing Org bullet lists
...
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-12 03:18:36 -04:00
John MacFarlane
8b60d430f2
Merge pull request #1674 from freiric/master
...
fix inDirectory to reset to the original directory in case an exception ...
2014-10-08 15:48:59 -07:00
John MacFarlane
2eaa0f6ab1
EPUB reader: Further URI handling improvements.
...
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-08 15:45:50 -07:00
John MacFarlane
f8087b6c43
EPUB writer: correctly resolve relative URIs. (Closes #1671.)
2014-10-08 15:19:27 -07:00
John MacFarlane
a4d28cdd6d
Fixed absolute URI detection in EPUB writer. Closes #1672 .
2014-10-08 14:54:03 -07:00
Freiric Barral
24231623f3
fix inDirectory to reset to the original directory in case an exception occurs
2014-10-08 23:25:01 +02:00
John MacFarlane
d60707eed0
EPUB writer: Don't add sourceURL to absolute URIs!
...
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-08 11:52:47 -07:00
John MacFarlane
ccd04add67
Merge pull request #1666 from jronallo/webvtt-mime
...
add mime type for WebVTT
2014-10-05 15:19:40 -07:00
Grégory Bataille
8a1a5948be
Getting the page width from the reference file
...
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-05 14:53:06 +02:00
Jason Ronallo
3dc58090d2
add mime type for WebVTT
2014-10-04 22:40:02 -04:00
John MacFarlane
bf00556c72
Added track
to list of tags treated by --self-contained
.
...
Closes #1664 .
2014-10-04 11:39:08 -07:00
Wikiwide
678aa31561
cref, sep
...
Adding inlineCommands
2014-10-03 11:33:02 +10:00
John MacFarlane
08ac33815b
RST writer: Wrap line blocks with spaces before continuations.
...
Improves on fix to #1656 .
2014-09-30 09:25:54 -07:00
John MacFarlane
29e1c9529f
Don't wrap lines in rST line blocks.
...
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-29 21:48:59 -07:00
John MacFarlane
067f2e640f
Updated description of heuristic for math $
.
2014-09-29 14:55:03 -07:00
John MacFarlane
7ac1b6b022
Adde network dependency under network-uri flag in test section.
2014-09-28 09:10:42 -07:00
John MacFarlane
47898c54af
LaTeX template: Add shorthands=off to babel options.
...
Closes #1648 .
2014-09-27 17:05:58 -07:00
John MacFarlane
fe6d43b3e0
Merge pull request #1601 from jkr/windowsfix
...
Fix path-slashes inside archive for windows
2014-09-27 16:21:17 -07:00
John MacFarlane
9c4e33f085
Merge pull request #1589 from mszep/master
...
Add function to sanitize ConTeXt labels
2014-09-27 16:20:56 -07:00
John MacFarlane
5bab9574f6
Merge pull request #1644 from mpickering/master
...
Fixes and Enhancements from the tracker
2014-09-27 16:18:55 -07:00
Matthew Pickering
fa2d11c954
Update tests for #1649
2014-09-27 22:40:25 +01:00
Matthew Pickering
5cb475c374
Org Reader: Parse multi-inline terms correctly in definition list
...
Closes #1649
2014-09-27 22:40:25 +01:00
John MacFarlane
7b01edce05
Merge branch 'master' of github.com:jgm/pandoc
2014-09-26 15:32:54 -07:00
John MacFarlane
89ab95b5fc
LaTeX template: load polyglossia before bibtex.
...
Fixes jgm/pandoc-templates#70 .
Thanks to bluebirch.
2014-09-26 15:32:13 -07:00
Artyom
9d3504dd4d
README: Add an -email address link- example.
...
Fixes #1631 .
2014-09-26 13:49:08 +04:00
Artyom
bc115ffc2d
Fix 'Ext_lists_without_preceding_blankline' bug.
...
* Fixes #1636 .
* Adds a test.
2014-09-26 13:32:08 +04:00
mpickering
6740a9592a
HTML Reader: Recognise <br> tags inside <pre> blocks
...
Closes #1620
2014-09-25 19:20:12 +01:00
mpickering
1f0ba8ec11
HTML Writer: Don't double render when email-obfuscation=none
...
Closes #1625
2014-09-25 18:46:36 +01:00
mpickering
85cff719f6
Updated README to include information about KaTeX switches
2014-09-25 18:32:50 +01:00