Skip to content

Table of contents failing to display #158

@jrestes

Description

@jrestes

Hi, I am writing a document using the latex extension in Jupyter lab and the tableofcontents, listoffigures, and listoftables commands are failing to display any content. See the image below.

The beginning of my code is also shown below. I have checked that the compiler is generating the .toc, .lof and .lot files, I also checked by opening those files that their content is at it should be. It looks like each time I compile, these files appear for a few seconds in the project directory, before disappearing as the preview is updated. Is this what's supposed to happen? Has anyone dealt with this issue before?

Code:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{mathtools}
\usepackage{float}
\usepackage{hyperref}


\title{\textbf{Experimental Investigations of Donor-Acceptor Pairs in Diamond} \\
\large A summary of work done from January 2020 to June 2021}
\author{Jeremy Estes}
\date{\today}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\listoffigures
\listoftables
\clearpage

\section{Introduction, Theoretical Model, Experimental Goals}

\subsection{Introduction}

This document provides a detailed summary of the work

Screen Shot 2021-05-06 at 16 36 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions