Closed pereimer closed 3 years ago
The problem here is that in \item{...}
the part between the braces is interpreted by latexdiff to be the argument of \item
while to latex it is \item
+ {...}
. The braces are not needed, and I would argue the more canonical way is to write it without the braces. Alternatively, introduce a space between the item and the brace.
So either of these variants work (just shown for the old file):
\begin{enumerate}
\item Main Item
\begin{itemize}
\item {First sub-item}
\end{itemize}
\end{enumerate}
or
\begin{enumerate}
\item {Main Item
\begin{itemize}
\item {First sub-item}
\end{itemize} }
\end{enumerate}
latexdiff seems to not handle nested list environments. Here are two very simple .tex files for which latexdiff produces code that will not latex because of a \begin{itemize}...\end{itemize} pair with no \items
and
I am using
Thanks in advance