git.iko.soy/typeable/pandoc
on master help sign in
Moved --chapters to before --number-sections in option list.
commitb6d1f4bc9ef1ed51bc46578ea71f7701526269ed authorJohn MacFarlane <jgm@berkeley.edu> dateSun 16 Jan 2011, 09:34 (16 years ago) parent491eb00
1 file changed+5−5
src/pandoc.hs+5−5
src/pandoc.hs+5−5
@@ -235,11 +235,6 @@ options =
235235 (\opt -> return opt { optHtml5 = True }))
236236 "" -- "Produce HTML5 in HTML output"
237237
238− , Option "" ["chapters"]
239− (NoArg
240− (\opt -> return opt { optChapters = True }))
241− "" -- "Use chapter for top-level sections in LaTeX, DocBook"
242−
243238 , Option "m" ["latexmathml", "asciimathml"]
244239 (OptArg
245240 (\arg opt ->
@@ -307,6 +302,11 @@ options =
307302 (\opt -> return opt { optXeTeX = True }))
308303 "" -- "Format latex for processing by XeTeX"
309304
305+ , Option "" ["chapters"]
306+ (NoArg
307+ (\opt -> return opt { optChapters = True }))
308+ "" -- "Use chapter for top-level sections in LaTeX, DocBook"
309+
310310 , Option "N" ["number-sections"]
311311 (NoArg
312312 (\opt -> return opt { optNumberSections = True }))