input fmt is org-citations its plural not singular
Add DocX files to tree.

This introduces Text.Pandoc.DocX, and its exported `readDocX` function.
Add files to cabal.

Note there is a build warning for unused `makeImagesSelfContained`
function, since there isn't yet a command-line-option to make use of it.
Integrated the docx reader into the main pandoc program.

Changes also include generalising the types of reader allowed. The
mechanism now mimics the more general output mechanism.
Add DocX automated tests.

Note this makes use of input and output files in the tests/ dir.
Reference new DocX tests in cabal file.
Add DocX tests to test-pandoc.hs
Updated README to reflect docx reader.
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