I'm writing a thesis using latex. My supervisor asked me to make few changes so, after checking this site, I found several solutions to track them, and finally decided to use the changes package.
I sent him my document with more than 100 changes. He approved almost all them, and then he suggested several new ones.... and asked me to send a new document with ONLY the new changes.
I know that using changes package I can use 'final' option to disable markup of changes, but my latex code still has all the \added{} \replaced{}{} and \deleted{}, so my question is:
Is there any easy way to hide changes from revision 1, and show new ones I'll add now?
EDIT: As suggested, I'm adding an example that shows what I've, and another one of what I'm looking for.
This is what my first revised text may look like:
\documentclass{article}
\usepackage{changes}
% Example of what first revision may be
\begin{document}
This is \added{new} text.
This is \deleted{unnecessary}text.
This is \replaced{nice}{bad} text.
\end{document}
And this is what my second revised text I want to look like (of course, I don't want to manually remove the \added, \deleted, \replaced commands, just want the changes package to ignore them)
\documentclass{article}
\usepackage{changes}
% Example of what second revision should look like
\begin{document}
This is new text.
This is text.
This is nice text.
\added{This should be seen as a change in revision 2 of document}
\end{document}
So, if you compile both documents, you'll see what I want to achieve, but, obviously, without having to manually remove the \added, \deleted, \replaced commands.
I'm using Miktex+Texmaker (windows port), and it defaults to pdflatex to compile.
Thanks in advance
\documentclass{...}
and ending with\end{document}
. You might also want to add to your question how you're including the pdfs etc.latexdiff
or similar.awk
(orperl
orpython
) script to expand those three macros in your source. Then just go ahead with new changes.