summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-07 19:04:10 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-07 19:04:10 +0000
commitf2b16c2065ae5b87615a07ed8b3879f980c26464 (patch)
tree875effa870e571c01e4254305259535a29859c46 /src/Main.hs
parentfdf31cd23d85e9615c891edadb726137150c5384 (diff)
+ Introduced writerIgnoreNotes option in WriterOptions. This is needed
for processing header blocks for a table of contents, since notes on headers should not appear in the TOC. Set default in Main.hs. + Moved Element, headerAtLeast, and hierarchicalize from Docbook writer to Text.Pandoc.Shared. This is because HTML writer now uses these in constructing a table of contents. git-svn-id: https://pandoc.googlecode.com/svn/trunk@633 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index d25e38911..adddae0fc 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -482,6 +482,7 @@ main = do
writerTableOfContents = toc &&
(not strict),
writerS5 = (writerName=="s5"),
+ writerIgnoreNotes = False,
writerIncremental = incremental,
writerNumberSections = numberSections,
writerIncludeBefore = includeBefore,