Add an option to enable double compilation. This will permit to expand `\tableofcontents{}` and other commands that need double compilation to be expanded. ```js latexStream.pipe(pdflatex({ doubleCompilation: true })) ```