khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Command line option for chapter level headings in latex output? #225

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
 Pandoc is great, thanks a lot. Would it be possible to add a command line
option for chapter level headings in the latex output? I realize having to
remember to use a latex "book" template is not a huge deal but a command
line switch would be great:)

Original issue reported on code.google.com by douglasfcalvert on 31 Mar 2010 at 2:11

GoogleCodeExporter commented 9 years ago
From Changelog:

+ Added stateHasChapters to ParserState.
+ If a \chapter command is encountered, this is set to True
  and subsequent \section commands (etc.) will be bumped up
  one level.

I realize this is for parsing latex but can this variable be accessed like 
--xetex so that pandoc will process one # as a chapter and not a section 
heading?

Original comment by douglasfcalvert on 20 Jul 2010 at 6:23

GoogleCodeExporter commented 9 years ago
--chapters option added in 9721b87

Original comment by fiddloso...@gmail.com on 16 Jan 2011 at 4:59