Forums » Installing AMC (english) »
Different versions between AMC and LaTeX style file version, any solution?
Added by FF S about 6 years ago
I installed AMC from this PPA on my machine which is running Ubuntu 18.04LTS.
However, when I update documents from inside AMC GUI I get this WARNING message (see attachment). It tells me that the AMC version is different from the LaTeX style file version. The automultiplechoice.sty is located in this path:/usr/local/texlive/texmf-local/tex/latex/AMC/. I think that it is installed when I already installed AMC using the above PPA repo.
So how did I get into this warning message in the first place? What went wrong with my installation. Please help me, I must prepare the sheets the next exam in two days and I am afraid as this WARNING message also points out that I may run into issues later on using AMC when I do capturing and scoring. The documents were otherwise updated successfully, but I won't print the sheets (anonymous 75 copies with different ID) until someone helps me out to clear up this WARNING message and how I can fix it. I don't want to take the risk of printing the sheets and then running into troubles after the exam. I look forward to your help soon.
AMC.png (39.9 kB)
Replies (2)
RE: Different versions between AMC and LaTeX style file version, any solution? - Added by Alexis Bienvenüe about 6 years ago
The style file installed with the package from the PPA is in the folder /usr/share/texmf/tex/latex/AMC/
.
You can remove (or move away) the one in /usr/local/texlive/texmf-local/tex/latex/AMC/
.
RE: Different versions between AMC and LaTeX style file version, any solution? - Added by FF S about 6 years ago
Thank you for your timely help. That resolved the issue. First, I moved away the old sty file from /usr/local/texlive/texmf-local/tex/latex/AMC. I fired up AMC and updated my documents an error was thrown complaining of not finding the sty file. So I realized that AMC still looks for the sty in that old path, so I did a symlink like that from the terminal:
sudo ln -s /usr/share/texmf/tex/latex/AMC/automultiplechoice.sty /usr/local/texlive/texmf-local/tex/latex/AMC/
would that be safe in future? How can I make AMC lookup the sty file in the path of its installation by default i.e. in /usr/share/texmf/tex/latex/AMC/?
best regards,
(1-2/2)