aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hsb
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-02-18 13:58:43 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-02-18 22:32:38 -0500
commit4112b321cd70036e8325b352a640e176130c95a9 (patch)
tree4e8dbc80431d6605fcfe1a9082fdafe065417cd6 /src/Text/Pandoc/Data.hsb
parent5848416852623cbec56e63c31b282c5baebd3e35 (diff)
downloadpandoc-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 'src/Text/Pandoc/Data.hsb')
0 files changed, 0 insertions, 0 deletions