LaTeX-Box-Team / LaTeX-Box

Lightweight Toolbox for LaTeX - New Official repository
http://www.vim.org/scripts/script.php?script_id=3109
GNU General Public License v3.0
396 stars 66 forks source link

Empty TOC with non-numbered (starred) sections #246

Open alefa opened 9 years ago

alefa commented 9 years ago

When I use :LatexTOC on a LaTeX document with numbered sections, it works fine, but when the sections are not numbered (i.e., using the starred version of the "\section" command) the TOC window is empty except for the keyboard shortcut help at the bottom. Is this the intended behaviour?

Here's a minimal example to reproduce the issue:

\documentclass[a4paper, 12pt]{article}

\begin{document}

 \section*{Section One}

 \section*{Section Two}

\end{document}