John MacFarlane
ccd04add67
Merge pull request #1666 from jronallo/webvtt-mime
...
add mime type for WebVTT
2014-10-05 15:19:40 -07: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
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
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
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
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
Jesse Rosenthal
ac8ed1fa93
Docx reader: Rewrite rewriteLink to work with new headers.
...
There could be new top-level headers after making lists, so we have to
rewrite links after that.
2014-09-04 16:44:21 -04:00
Jesse Rosenthal
7fe54505df
Docx reader: Single-item headers in ordered lists are headers.
...
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-04 16:35:57 -04:00
Jesse Rosenthal
a6eead7f26
Docx reader: Modify mediabag test accordingly.
2014-09-02 14:05:54 -04:00
Jesse Rosenthal
4ef850ded5
Docx reader: Fix window path for image lookup.
...
Don't use os-sensitive "combine", since we always want the paths in our
zip-archive to use forward-slashes.
2014-09-02 13:45:01 -04:00
John MacFarlane
db90667a79
EPUB writer: Don't include nav node in spine unless --toc was requested.
...
Previously we included it in the spine with `linear="no"`, leading
to odd results in some readers.
Closes #1593 .
2014-09-01 16:31:32 -07:00
John MacFarlane
cb1a8da01c
LaTeX writer: Avoid using reserved characters as \lstinline delimiters.
...
Closes #1595 .
2014-09-01 10:11:09 -07:00
John MacFarlane
43ebb0229f
EPUB writer: Fixed typo.
2014-09-01 08:04:21 -07:00
John MacFarlane
3533218d6d
Merge pull request #1594 from jkr/itemFix
...
Item fix
2014-08-31 19:31:38 -07:00
John MacFarlane
01b7957812
EPUB writer: Extract title even from structured title.
...
Added docTitle'.
2014-08-31 14:47:07 -07:00
John MacFarlane
5459b22d50
Use real copyright symbol in README epub metadata example.
2014-08-31 14:46:51 -07:00
Jesse Rosenthal
dfc8ab5a6a
LaTeX writer: Add tests for header-in-item.
2014-08-31 16:05:20 -04:00
Jesse Rosenthal
d3053807a8
LaTeX writer: Put ~
before header in item text.
...
Because of the built-in line skip, LaTeX can't handle a section header
as the first element in a list item. (To be precise, it can't handle it
if the list immediately follows a section header, but the instance is
rare enough that we can afford to be a bit more general). This puts a
non-breaking space before the header to solve this problem. We won't see
this space, since the header skips a line before printing anyway.
The output is ugly in LaTeX and this structure seems like it should
probably be avoided. But it is valid HTML and native pandoc, so we
should have some sort of typesettable representation in LaTeX.
2014-08-31 16:05:09 -04:00