使用 Overleaf 生成索引页失败

使用 Overleaf 生成索引页失败

我想在我的项目中添加一个索引页,所以我尝试按照例子在 Overleaf 的网站上。他们的示例运行良好,但当我在我的项目中尝试它时,没有生成索引页,条目没有出现在目录中,并且编译时没有收到任何错误。

这是我的项目代码 -

\documentclass[12pt,a4paper,english,final,twoside]{report}
\usepackage[margin=3cm]{geometry}
% Supplementry Packages
\usepackage{graphicx,xcolor,amsmath,ulem,listings}
\usepackage[utf8x]{inputenc}
\usepackage[english,hebrew]{babel}
\usepackage{tocbibind}
\usepackage[colorlinks = true,              
 urlcolor=blue,citecolor =    red]{hyperref}
\usepackage{amssymb}

\hypersetup{
colorlinks=true,
linkcolor=blue,
citecolor=red,
filecolor=magenta,
urlcolor=blue,
}
% Supplementry Setup
\usepackage{imakeidx}
\makeindex[columns=3, title=Index, intoc]
\usepackage{abstract}

\renewcommand{\abstractnamefont}{\normalfont\Huge\bfseries}
\renewcommand{\absnamepos}{flushleft}
\setlength{\absleftindent}{0pt}
\setlength{\absrightindent}{0pt}


\begin{document}

\setcounter{tocdepth}{0}
\pagenumbering{Roman}
\selectlanguage{english}


\setcounter{tocdepth}{1}
\pagenumbering{gobble}
\tableofcontents
\newpage

\listoffigures
\listoftables

\newpage

\begin{abstract}
\thispagestyle{plain}
\pagenumbering{arabic}
Words words words
\addcontentsline{toc}{chapter}{Abstract}
\end{abstract}

\chapter{Introduction}


What are fractons\index{Fracton} 
Quantum computing - stability to thermal noise - topological order\index{Topological order} 

Gauss laws\index{Gauss Laws} Haah's code\index{Haah's code}    

\chapter{Stabilizer codes and linear algebra}
\section{Pauli operators and linear algebra}
\section{Stabilizer codes and Hamiltonians}
What are stabilizer codes, stabilizer group, logical operators, Yoshida's classification, binary vector representation, geometric algebra stuff from
Also a bit about error correction.

\chapter{Topological order}


\chapter{Logical operators}
\section{Equivalence of logical operators}


\chapter{Discussion}

\clearpage
\printindex

\end{document}

相关内容