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}
8
  • This code, as is, does produce a list of changes for me. Did you compile twice? Nov 2, 2016 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 Nov 2, 2016 at 17:09
  • @MichaelPalmer, the problem seems from the template Nov 2, 2016 at 17:16
  • If you delete the auxiliary files it can't work. Nov 2, 2016 at 17:17
  • @UlrikeFischer, I mean: I delete it and I recompile again! Nov 2, 2016 at 17:17

1 Answer 1

11

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

7
  • 1
    Perfect! that's the problem. Nov 2, 2016 at 17:50
  • 4
    @BetterEnglish I bet that with a MWE that shows your problem, you would have received an answer much faster. Nov 2, 2016 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. Nov 2, 2016 at 19:16
  • 1
    +1 for deep insight into what the OP wanted to express...
    – Mico
    Nov 3, 2016 at 2:24
  • 2
    @Mico Thanks! Crystal balls can sometimes be very helpful -- Stackexchange should send one to every user! Nov 3, 2016 at 2:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .