TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to track changes of equations using the changes package? Here is a small example of what I mean:

\documentclass{article}
\usepackage{changes}
\begin{document}
\noindent Using the changes package is it possible not only to delete \deleted{text}, but
also equations? For instance this one:
%\deleted{\protect
\begin{equation}
x = 1
\end{equation}
%}
\end{document}

When removing the commented text I get a compilation error, even when using "\protect" as suggested here when the same question was answered using a different package.

share|improve this question
    
It seems \deleted cannot take a long argument (one that contains paragraphs, line breaks and the like.) The documentation states "You cannot markup more than one paragraph at a time. You cannot markup figures or tables as well." – moewe Mar 19 '14 at 14:50
2  
Delete the equation text, not environment: \begin{equation}\deleted{x=1}\end{equation}. – Claudio Fiandrino Mar 19 '14 at 14:51
    
@moewe I read that part, but I thought you could delete equations since it didn't mention this explicitly. – user35027 Mar 20 '14 at 7:56
    
@ClaudioFiandrino Thank you for your suggestion. However, the changes package has a nice property in that when you are done modfying your text you can use "final" as an argument and \usepackage[final]{changes} will remove all the deleted or highlighted text. If you only delete the equation text, the equation number will still be there with the "final" argument. – user35027 Mar 20 '14 at 8:11
1  
Well, I suppose the documentation just forgot to mention that basically almost all environments are problematic for \deleted. – moewe Mar 20 '14 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.