message: Fix Ignore sections after `\end{document}`
diff: @@ -58,7 +58,12 @@ export class SectionNodeProvider implements vscode.TreeDataProvider<Section> {
  }
  this.extension.logger.addLogMessage(`Parsing ${filePath} for outline`)
  - const content = fs.readFileSync(filePath, 'utf-8')
  + let content = fs.readFileSync(filePath, 'utf-8')
  + const endPos = content.search(/^(?!%)\s*\\end{document}/gm)
  + console.log(endPos)
  + if (endPos > -1) {
  + content = content.substr(0, endPos)
  + }
  let pattern = '^(?!%)\\s*((?:\\\\(?:input|include|subfile)(?:\\[[^\\[\\]\\{\\}]*\\])?){([^}]*)})|((?:\\\\('
  this.hierarchy.forEach((section, index) => {
  