diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-02-18 13:58:43 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-02-18 22:32:38 -0500 |
commit | 4112b321cd70036e8325b352a640e176130c95a9 (patch) | |
tree | 4e8dbc80431d6605fcfe1a9082fdafe065417cd6 /tests/docx/headers.native | |
parent | 5848416852623cbec56e63c31b282c5baebd3e35 (diff) | |
download | pandoc-4112b321cd70036e8325b352a640e176130c95a9.tar.gz |
LaTeX writer: treat memoir template with `article` opt as article
We currently treat all memoir templates as books. This means that pandoc
will infer the `--chapters` argument, even if the `article` iption is
set for memoir.
This commit makes pandoc treats the document as an article if there is
an article option (i.e., `\documentclass[12pt,article]{memoir}`).
Note that this refactors out the parsec parsers for document class and
options, to make it a little clearer what's going on.
Diffstat (limited to 'tests/docx/headers.native')
0 files changed, 0 insertions, 0 deletions