Merge pull request #1336 from aspnes/master

allow (and discard) optional argument for \caption
input fmt is org-citations its plural not singular
Moved extractSpaces to Shared.hs

Generalised and move the extractSpaces function from `HTML.hs` to
`Shared.hs` so that the docx reader can also use it.
Org reader:  fixed #1342.

This change rewrites `inlineLaTeXCommand` so that parsec will
know when input is being consumed.  Previously a run-time
error would be produced with some input involving raw latex.
(I believe this does not affect the last release, as the inline
latex reading was added recently.)
Merge pull request #1339 from dfc/patch-1

input fmt is org-citations its plural not singular
Merge pull request #1344 from mpickering/master

Moved extractSpaces to Shared.hs
Added failing HTML reader test for table.

See #1341.
Updated HTML reader table test - should be simple table.
HTML reader: Fixed major parsing problem with HTML tables.

Table cells were being combined into one cell.  Closes #1341.
LaTeX reader:  don't assume preamble doesn't contain environments.

Closes #1338.
LaTeX reader:  handle leading/trailing spaces in emph better.

`\emph{ hi }` gets parsed as `[Space, Emph [Str "hi"], Space]`
so that we don't get things like `* hi *` in markdown output.

Also applies to textbf and some other constructions.

Closes #1146.  (`--normalize` isn't touched by this, but
normalization should not generally be necessary with the
changes to the readers.)
Markdown reader: fixed #1333 (table parsing bug).
Small improvement to fix to #1333.

This allows blank lines at end of multiline headers.
Org reader:  make tildes create inline code.

Closes #1345.  Also relabeled 'code' and 'verbatim' parsers
to accord with the org-mode manual.

I'm not sure what the distinction between code and verbatim
is supposed to be, but I'm pretty sure both should be represented
as Code inlines in pandoc.  The previous behavior resulted in the
text not appearing in any output format.
Merge branch 'docx' of https://github.com/jkr/pandoc into jkr-docx
Bump version to 1.13
Naming: Use Docx instead of DocX.

For consistency with the existing writer.
Fixed compiler warning.
LaTeX reader: Correctly handle table rows with too few cells.

LaTeX seems to treat them as if they have empty cells at the
end.  Closes #241.
Add "--self-contained" to reader options.

This will be used for readers of archive formats (epub, docx).