forked from vim-scripts/LaTeX-Box
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Here is a working minimal example
\documentclass{amsart}
\input{/home/arjun/Templates/preamble.tex}
\usepackage{natbib}
\usepackage{todonotes}
\usepackage[normalem]{ulem}
%% some custom commands
\newcommand{\K}{\mathbb{K}}
\newcommand{\lions}{Lions and Souganides}
\newcommand{\SET}{subadditive ergodic theorem}
\newcommand{\FPP}{first-passage percolation}
\newcommand{\FPT}{first-passage time}
%\newcommand{\tr}{\textrm{tr}} % for writing trace inside equations
\renewcommand{\limsup}{\overline{\lim}}
\renewcommand{\liminf}{\underline{\lim}}
\newcommand{\deltaapprox}{$\delta$-approximation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Working Document for FPP Limit Shape}
\usepackage[urlcolor=blue,colorlinks=true,linkcolor=red]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\tableofcontents
\section{To do}
This section is in my notes document.
%%%%%%%%%%%%%%%%%%%%%
\subsection*{Notes}
\subsection*{Problem Definition}
\begin{enumerate}
\item Wed 01/02/2013 \label{item:generalized-discrete-problem} Write down the version of the problem that you want to deal with. It needs to have a natural subadditive structure at the core of the problem.
\begin{itemize}
\item What are the assumptions on the weights $l(x,\alpha)$. It seems that one needs to have weights bounded below (not necessarily nonnegative).
\item Penalization should work. The assumptions might not be uniform in delta, in this case.
\end{itemize}
\end{enumerate}
\end{document}
The TOC window shows
1 \tocsection{To do
\tocsubsection{}{Notes
\tocsubsection{}{Problem Definition
<Esc>/q: close
<Space>: jump
<Enter>: jump and close
s: hide numbering
But it cannot jump to any of the subsections. It gives the following error:
Error detected while processing function <SNR>47_TOCActivate..<SNR>47_TOCFindMatch..<SNR>47_TOCFindMatch
..<SNR>47_TOCFindMatch:
line 2:
Could not find: \\subsection\_\s*{.*{Notes}
Is it the amsart class that's giving these issues? I saw a similar issue with beamer
The issue is fixed completely by using \documentclass{article} and recompiling.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels