Table of Content empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vim LaTeX Box |
New
|
Undecided
|
Unassigned |
Bug Description
Using the latest revision (59), the table of content is empty.
I am on Debian sid using:
- pdfTeX 3.1415926-
- LuaTeX, Version beta-0.
It seems to me that the problem stems from the fact that the .aux file does not have the format expected by LaTeX-box. I motion.vim line 236, the regex does not match the lines in my .aux:
let line = matchstr(line, '^\\@writefile{
vs
\@writefile{
\@writefile{
for example.
This different output seems to be due to the biblatex package (version 1.7 on my machine). Simply loading it (without loading a bib file or citing anything), modifies the line and makes the TOC generated empty.
Minimal example:
\documentclass[
\usepackage{
\begin{document}
\section{hello} % (fold)
\section{hi} % (fold)
\end{document}