title: C# DocX: Inserting new numbered list continues numbering
body: <p>I am trying to insert several numbered lists into a Word document using Novacode DocX. </p>
  
  <p>Something like this:</p>
  
  <pre><code>var doc = DocX.Create("somedoc.docx");
  var list = doc.AddList(listType: ListItemType.Numbered, startNumber: 1);
  
  doc.AddListItem(list, "Number 1", 0, listType);
  doc.AddListItem(list, "Number 2", 0, listType);
  
  doc.InsertList(list);
  doc.InsertParagraph(); //just to get some space between.
  var secondList= doc.AddList(listType: ListItemType.Numbered, startNumber: 1);
  
  doc.AddListItem(secondList, "Number 1", 0, listType); 
  doc.AddListItem(secondList, "Number 2", 0, listType); 
  
  doc.InsertList(secondList);
  </code></pre>
  
  <p>This produces this:</p>
  
  <ol>
  <li>Number 1</li>
  <li>Number 2</li>
  <li>Number 1</li>
  <li>Number 2</li>
  </ol>
  
  <p>What I expect is this:</p>
  
  <ol>
  <li>Number 1</li>
  <li>Number 2</li>
  </ol>
  
  <ol>
  <li>Number 1</li>
  <li>Number 2</li>
  </ol>
  
  <p>It seems that the startNumber parameter does not work. In the resulting document's numbering.xml file, I can see that both numIds and abstractNumIds seem to be generated correctly. The two list have different numIds, each referring to different abstractNumIds.</p>
  
  <p>Anyone got any idea about what might be the problem (other than a bug in the DocX library)? I am opening the document in Word 2010, so one theory I have is that there is some incompatability with DocX and Word > 2007. If that is the case, I probably have to do something with the XML after generating the document..</p>