Skip to content

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

@alefa

Description

@alefa

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions