Table of Content empty

Bug #991389 reported by Max Sadrieh
6
This bug affects 1 person
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-2.3-1.40.12 (TeX Live 2012/dev/Debian) and or
- LuaTeX, Version beta-0.70.1-2012033000

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{toc}{\\contentsline\s*\zs.*\ze}\s*$')

vs

\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.1}Topic}{4}{subsubsection.2.1.1}}
\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2}Structure}{4}{subsubsection.2.1.2}}

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[10pt]{article}
\usepackage{biblatex}
\begin{document}
 \section{hello} % (fold)

 \section{hi} % (fold)

\end{document}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.