Commit Graph
10211 Commits
Author SHA1 Message Date
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 ec057f0ad3 LaTeX template: Add shorthands=off to babel options.
This prevents special bindings of characters like " in Spanish.
2014-09-27 17:05:17 -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
John MacFarlane 5c35a0a698 Merge pull request #70 from bluebirch/master
Fix polyglossia/biblatex problem with xelatex
2014-09-26 15:31:18 -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
mpickering 515a120d04 Add support for KaTeX HTML math
Closes #1626
2014-09-25 18:32:42 +01:00
mpickering 575c76e36b HTML Writer: MathML now outputted with tex annotation.
Closes #1635
2014-09-25 15:28:50 +01:00
mpickering c0b9ad4c5d EPUB Tests: Seperating image testing from other features 2014-09-25 13:33:25 +01:00
mpickering cc07d0c6bf Shared: Make collapseFilePath OS-agnostic 2014-09-25 12:42:53 +01:00
mpickering 56e4ecab20 MediaBag: Fixes Windows specific path problems
Changes the internal representation to fix the problem.

I haven't tested this on windows.

Closes #1597
2014-09-25 12:19:52 +01:00
Stefan Björk 19525bdeda Revert "Use biblatex-chicago instead of biblatex."
This reverts commit a0ea58bc2e.
2014-09-25 09:54:01 +02:00
Stefan Björk a0ea58bc2e Use biblatex-chicago instead of biblatex. 2014-09-24 14:53:14 +02:00
Stefan Björk a9a9180432 Fixed typo. 2014-09-24 14:36:17 +02:00
Stefan Björk a4b477f6e6 Moved polyglossia/babel definitions to before biblatex; otherwise biblatex fails with xetex. 2014-09-24 14:31:39 +02:00
John MacFarlane 0fbe7df818 Merge pull request #1639 from RyanGlScott/master
Bump text, random, http-client upper bounds
2014-09-22 22:10:01 -07:00
RyanGlScott 9cf9985ecf Bump text, random, http-client upper bounds 2014-09-22 21:47:16 -05:00
Mark Szepieniec 84b75a1c2a ConTeXt writer: add function toLabel
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-18 23:27:14 +02:00
Jesse Rosenthal 020a527c15 Docx writer: Renumber header and footer relationships to avoid collisions.
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-11 15:11:44 -04:00
John MacFarlane 0de27f3579 Updated tests for #1616 change. 2014-09-09 10:09:05 -07:00
John MacFarlane cfda93a283 LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.
Fixes a bug when there is verbatim inside notes.
Closes #1616.
2014-09-09 09:36:32 -07:00
John MacFarlane a63c58b23e Added \VerbatimFootnotes if there is verbatim in notes.
See http://tex.stackexchange.com/questions/203/how-to-obtain-verbatim-text-in-a-footnote

Closes jgm/pandoc#1616.
2014-09-09 09:35:33 -07:00
Jesse Rosenthal 8d22bf26ab LaTeX writer: Test for protecting images in header. 2014-09-09 11:05:47 -04:00
Jesse Rosenthal 1326a41780 LaTeX writer: Protect graphics in headers.
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-09 10:56:37 -04:00
Jesse Rosenthal 132814aeb6 Docx Reader: Remove header class properly in other langs
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-06 07:53:29 -04:00
Jesse Rosenthal f56e0e958a Docx reader: Add test for polyglot headers.
Only Danish at the moment.
2014-09-05 22:07:06 -04:00
Jesse Rosenthal 71452946d9 Docx reader: Use polyglot header list.
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-05 21:59:58 -04:00
Jesse Rosenthal 13fefd7959 Docx Reader: Start list of polyglot section headers. 2014-09-05 17:31:24 -04:00
Jesse Rosenthal 313355e373 Org reader: Update Tests
Test for markup after blank line.
2014-09-04 19:55:53 -04:00
Jesse Rosenthal 73b887e2df Org reader: Added state changing blanklines.
This allows us to emphasize at the beginning of a new paragraph (or, in
general, after blank lines).
2014-09-04 19:55:53 -04:00
Jesse Rosenthal 08359c44e4 Docx Reader: Add tests for numbered headers. 2014-09-04 19:39:49 -04:00