jgm/pandoc — pull request #1460 by jkr (2014-07-27 19:19:48+00:00)
Title: Docx reader: Make metavalues out of styled paragraphs.

I'm not totally sure about this feature -- I'd like your take on it.

This will make paragraphs styled with `Authors`, `Title`, `Date`, and
`Abstract` into pandoc metavalues, rather than text. The implementation
only takes those elements from the beginning of the document (seems to
limit the scope somewhat).

**Pros**:
- Allows for roundtripping from pandoc to markdown and back. A big use of this is writing doc in markdown, and sending them out in docx, and then receiving them back with some changes. So here I'll be able to keep the values as they should be.
- Allows better docx -> X export (so, say, real LaTeX titles)
- Will probably only affect those using pandoc-generated docx

**Cons**:
- Silently takes something a docx user thinks of as text (something they typed into the document) and turns it into metatext -- invisible unless using standalone. Nowhere else do we take text out of a document.

Perhaps it should be a command-line option?