Menu

#9 \add confuses the \ref counter

open
nobody
5
2009-12-10
2009-12-10
Tobias
No

I had something like the following:

\section{A}
\subsection{B}
See Section \ref{Csection}.

\subsection{C}
\add[...]{...}
\add[...]{...}
\add[...]{...}
\label{Csection}

The code should render something like "See Section 1.2". However, it rendered "See Section 3".

I found out that this number is depending on the number of annoations that are put in front of the \label. I tested it only with \add. This Bug only occurrs, if \usepackage[margins]{trackchanges} is set, not if \usepackage[margins, final]{trackchanges} is set. I did not test it without margins.

This is quite bad. I suppose that the internal implementation for these small numbers at the annotations use the label counter thing and thus, cause confusion.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB