0

i'm having trouble with my glossaries library.

I declare the acronym DA as \newacronym{DA}{DA}{Demandes d'Achats} but when i write émission des \gls{DA} et it give me the following result in the glossary and in the text too. (I need a quick answer)

Demandandes d'Achats (DA)

  • What are you expecting to see? I imagine \gls{DA} gives the full name followed by the acronym on the first usage and just prints DA on future usages. Perhaps you want Glossaries Package: No long form the first time using an acronym – Dai Bowen Sep 15 '16 at 15:41
  • alright but it is supoposed to print "Demandes d'Achat" and not "Demandandes d'Achat" – Biboozz Sep 15 '16 at 15:46
  • welcome to tex.sx. please provide a small example that can be compiled, that shows the problem. to help, we need something we can cut and paste to be able to experiment. – barbara beeton Sep 15 '16 at 15:47
  • Ah, I hadn't noticed that! Can you post an MWE which we can use to replicate this? I.e. something compilable running from \documentclass to \end{document} – Dai Bowen Sep 15 '16 at 15:48
  • 1
    Without a MWE this is just guesswork, but do you have a file with the extension .glsdefs? If you do, it's possible you might have had a typo that you fixed but the original misspelling is still in the .glsdefs file. In which case, delete the .glsdefs file and retry. – Nicola Talbot Sep 15 '16 at 18:17
1

Without an MWE it's hard to confirm, but I would suspect you have a typo somewhere. I get the expected result:

\documentclass{article}

% Abbreviations
\usepackage[acronym,nonumberlist,toc]{glossaries}

\newacronym{DA}{DA}{Demandes d'Achats}

\makeglossaries

\begin{document}

% Use the acronyms
\'{e}mission des \gls{DA} et

\end{document}

Gives

émission des Demandes d'Achats (DA) et

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.