progit/progit — Issue #176: 5 levels section is not supported, error in chapter 7
Author: larrycai
Created: 2011-12-28 06:23:49+00:00
State: open

# Problem #
In chapter 7, customizing git, some sections use 5th level, which cause error in latex.

{{{
##### MS Word files #####
}}}

# into Latex
\chap{\subsubsection{MS Word files\#}}

It is generated by `latex\makepdf` script, the hacked solution is for 4th level only.

## Solution 1 ##
According to [Latex Document structure](http://en.wikibooks.org/wiki/LaTeX/Document_Structure), it is better to use `paragraph` instead, while it needs newline in end as well.

it may turn to complicate (dirty codes), but if needed, I can provide fix

## Solution 2 ##
change the content inside to remove the 5 level and add remind in scripts to detect this issues