title: minitoc: updating tocdepth counter
body: <p>I am writing my thesis using LaTeX and I would like to include at the beginning of each chapter a mini table of contents including only sections. I am using the <code>minitoc</code> package which I declare in my preamble file. In my main file, I found myself obliged to include the following for the the minitoc to update itself: </p>
  
  <pre><code>% *********************** Adding TOC and List of Figures ***********************
  \dominitoc
  \tableofcontents 
  \listoffigures \mtcaddchapter 
  \listoftables \mtcaddchapter
  </code></pre>
  
  <p>As I am setting the section counter to 2:</p>
  
  <pre><code>\setcounter{secnumdepth}{2}
   \setcounter{tocdepth}{2}
  </code></pre>
  
  <p>The mini tables of contents I am getting includes the subsections (which seems the default minitoc section depth). I tried changing the section toc depth by including:</p>
  
  <pre><code>\newcounter{secttocdepth}
  \setcounter{secttocdepth}{1}
  </code></pre>
  
  <p>everywhere with no success. Your help is very welcome!</p>