1

I am writing a scientif paper (Patter recognition Letter template) and for the revision, I am using the package changes. In the below code, the list of changes are not generated: I used texStudio and texShop.

 \documentclass{article}

\usepackage{changes}
\usepackage{lipsum}% <- For dummy text
\definechangesauthor[name={R G}, color=red]{rg}
\setremarkmarkup{(#2)}


    \begin{document}
    \lipsum[2-3]

    I eat \added[id=rg,remark={we need a preposition an}]{an} apple
    I buy \deleted[id=rg,remark={don't use a with plural}]{a} books.
    I buy \replaced[id=rg, remark={be positive}]{nice}{bad} car.


    \listofchanges[style=<list|summary>]
    \end{document}
  • This code, as is, does produce a list of changes for me. Did you compile twice? – Michael Palmer Nov 2 '16 at 17:08
  • @MichaelPalmer, I am using the pattern recognition letter template, so I don't know what is the problem? yes I compile twice and deleted the log and aux files but it does not work! I am using texStudio – BetterEnglish Nov 2 '16 at 17:09
  • @MichaelPalmer, the problem seems from the template – BetterEnglish Nov 2 '16 at 17:16
  • If you delete the auxiliary files it can't work. – Ulrike Fischer Nov 2 '16 at 17:17
  • @UlrikeFischer, I mean: I delete it and I recompile again! – BetterEnglish Nov 2 '16 at 17:17
10

A wild guess: are you using the final option?

\documentclass[
%   final,
]{elsarticle}

\usepackage{changes}
\definechangesauthor[name={R G}, color=red]{rg}
\setremarkmarkup{(#2)}

\begin{document}

I eat \added[id=rg,remark={we need a preposition an}]{an} apple
I buy \deleted[id=rg,remark={don't use a with plural}]{a} books.
I buy \replaced[id=rg, remark={be positive}]{nice}{bad} car.

\listofchanges[style=<list|summary>]

\end{document}

enter image description here

  • Perfect! that's the problem. – BetterEnglish Nov 2 '16 at 17:50
  • 4
    @BetterEnglish I bet that with a MWE that shows your problem, you would have received an answer much faster. – user36296 Nov 2 '16 at 17:54
  • 2
    @samcarter: There was a MWE but it looks as if the claim of the question that it shows the problem was a bland lie. – Ulrike Fischer Nov 2 '16 at 19:16
  • 1
    +1 for deep insight into what the OP wanted to express... – Mico Nov 3 '16 at 2:24
  • 2
    @Mico Thanks! Crystal balls can sometimes be very helpful -- Stackexchange should send one to every user! – user36296 Nov 3 '16 at 2:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.