How to use `glossaries` together with `ProvidesPackage` Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)TeXLive/PDFTeX fonts loading problemErrors when using glossaries packageMy glossary won't printUnderstanding messages in my consoletexlive-fonts-extra + ssfamily + microtype + [T1]fontenc = pdflatex crash?Is it possible to customize the long3col glossaries style?Exporting .org files to LaTeX - ErrorLaTeX can't find .cls filesGlossary per chapter (not by section)How to Import Images into Anki with LaTeX?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Simple Http Server

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Resize vertical bars (absolute-value symbols)

Why are vacuum tubes still used in amateur radios?

How to write capital alpha?

Why datecode is SO IMPORTANT to chip manufacturers?

what is the log of the PDF for a Normal Distribution?

Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?

two integers one line calculator

Was Kant an Intuitionist about mathematical objects?

Universal covering space of the real projective line?

Mounting TV on a weird wall that has some material between the drywall and stud

Sally's older brother

Can an iPhone 7 be made to function as a NFC Tag?

A `coordinate` command ignored

Monty Hall Problem-Probability Paradox

Can two person see the same photon?

What does 丫 mean? 丫是什么意思?

Getting out of while loop on console

Tips to organize LaTeX presentations for a semester

What is the difference between CTSS and ITS?

How to change the tick of the color bar legend to black

How many time has Arya actually used Needle?



How to use `glossaries` together with `ProvidesPackage`



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)TeXLive/PDFTeX fonts loading problemErrors when using glossaries packageMy glossary won't printUnderstanding messages in my consoletexlive-fonts-extra + ssfamily + microtype + [T1]fontenc = pdflatex crash?Is it possible to customize the long3col glossaries style?Exporting .org files to LaTeX - ErrorLaTeX can't find .cls filesGlossary per chapter (not by section)How to Import Images into Anki with LaTeX?










2















I can use glossaries, I mean compile and generate PDF of first example from http://mirrors.cqu.edu.cn/CTAN/macros/latex/contrib/glossaries/glossariesbegin.pdf:



documentclassarticle
usepackageglossaries
newglossaryentryexname=sample,description=an example
begindocument
Here's my glsex term.
enddocument


But I would like to use glossaries from the package I provide. I mean I would like to have doc.tex:



documentclassarticle
usepackagedoc
newglossaryentryexname=sample,description=an example
begindocument
Here's my glsex term.
enddocument


and doc.sty:



ProvidesPackagedoc
usepackageglossaries


That's what I got:



$ pdflatex doc.tex 
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
restricted write18 enabled.
entering extended mode
(./doc.tex
LaTeX2e <2018-04-01> patch level 2
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (./doc.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/glossaries/base/glossaries.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2018/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
(/usr/local/texlive/2018/texmf-dist/tex/latex/textcase/textcase.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/xfor/xfor.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-base.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2018/texmf-dist/tex/latex/substr/substr.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-fp.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp.sty
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/defpattern.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-basic.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-addons.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-snap.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-exp.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-trigo.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-pas.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-random.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eqn.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-upn.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eval.sty))))

! LaTeX Error: PrintChanges undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.64 renewcommandPrintChanges
{%
?


I actually found a reference to that PrintChanges in http://mirrors-wan.geekpie.club/CTAN/macros/latex/contrib/glossaries/glossaries-code.pdf page 5 but even so I don't know. What can I do?










share|improve this question


























    2















    I can use glossaries, I mean compile and generate PDF of first example from http://mirrors.cqu.edu.cn/CTAN/macros/latex/contrib/glossaries/glossariesbegin.pdf:



    documentclassarticle
    usepackageglossaries
    newglossaryentryexname=sample,description=an example
    begindocument
    Here's my glsex term.
    enddocument


    But I would like to use glossaries from the package I provide. I mean I would like to have doc.tex:



    documentclassarticle
    usepackagedoc
    newglossaryentryexname=sample,description=an example
    begindocument
    Here's my glsex term.
    enddocument


    and doc.sty:



    ProvidesPackagedoc
    usepackageglossaries


    That's what I got:



    $ pdflatex doc.tex 
    This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
    restricted write18 enabled.
    entering extended mode
    (./doc.tex
    LaTeX2e <2018-04-01> patch level 2
    Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
    (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
    (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (./doc.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/glossaries/base/glossaries.sty
    (/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
    (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
    (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
    (/usr/local/texlive/2018/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
    (/usr/local/texlive/2018/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
    (/usr/local/texlive/2018/texmf-dist/tex/latex/textcase/textcase.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/xfor/xfor.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-base.sty
    (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsmath.sty
    For additional information on amsmath, use the `?' option.
    (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amstext.sty
    (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsgen.sty))
    (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsbsy.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsopn.sty))
    (/usr/local/texlive/2018/texmf-dist/tex/latex/substr/substr.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-fp.sty
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp.sty
    `Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/defpattern.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-basic.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-addons.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-snap.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-exp.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-trigo.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-pas.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-random.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eqn.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-upn.sty)
    (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eval.sty))))

    ! LaTeX Error: PrintChanges undefined.

    See the LaTeX manual or LaTeX Companion for explanation.
    Type H <return> for immediate help.
    ...

    l.64 renewcommandPrintChanges
    {%
    ?


    I actually found a reference to that PrintChanges in http://mirrors-wan.geekpie.club/CTAN/macros/latex/contrib/glossaries/glossaries-code.pdf page 5 but even so I don't know. What can I do?










    share|improve this question
























      2












      2








      2








      I can use glossaries, I mean compile and generate PDF of first example from http://mirrors.cqu.edu.cn/CTAN/macros/latex/contrib/glossaries/glossariesbegin.pdf:



      documentclassarticle
      usepackageglossaries
      newglossaryentryexname=sample,description=an example
      begindocument
      Here's my glsex term.
      enddocument


      But I would like to use glossaries from the package I provide. I mean I would like to have doc.tex:



      documentclassarticle
      usepackagedoc
      newglossaryentryexname=sample,description=an example
      begindocument
      Here's my glsex term.
      enddocument


      and doc.sty:



      ProvidesPackagedoc
      usepackageglossaries


      That's what I got:



      $ pdflatex doc.tex 
      This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
      restricted write18 enabled.
      entering extended mode
      (./doc.tex
      LaTeX2e <2018-04-01> patch level 2
      Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
      Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (./doc.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/glossaries/base/glossaries.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/textcase/textcase.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/xfor/xfor.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-base.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsmath.sty
      For additional information on amsmath, use the `?' option.
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amstext.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsgen.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsbsy.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsopn.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/substr/substr.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-fp.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp.sty
      `Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/defpattern.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-basic.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-addons.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-snap.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-exp.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-trigo.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-pas.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-random.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eqn.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-upn.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eval.sty))))

      ! LaTeX Error: PrintChanges undefined.

      See the LaTeX manual or LaTeX Companion for explanation.
      Type H <return> for immediate help.
      ...

      l.64 renewcommandPrintChanges
      {%
      ?


      I actually found a reference to that PrintChanges in http://mirrors-wan.geekpie.club/CTAN/macros/latex/contrib/glossaries/glossaries-code.pdf page 5 but even so I don't know. What can I do?










      share|improve this question














      I can use glossaries, I mean compile and generate PDF of first example from http://mirrors.cqu.edu.cn/CTAN/macros/latex/contrib/glossaries/glossariesbegin.pdf:



      documentclassarticle
      usepackageglossaries
      newglossaryentryexname=sample,description=an example
      begindocument
      Here's my glsex term.
      enddocument


      But I would like to use glossaries from the package I provide. I mean I would like to have doc.tex:



      documentclassarticle
      usepackagedoc
      newglossaryentryexname=sample,description=an example
      begindocument
      Here's my glsex term.
      enddocument


      and doc.sty:



      ProvidesPackagedoc
      usepackageglossaries


      That's what I got:



      $ pdflatex doc.tex 
      This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
      restricted write18 enabled.
      entering extended mode
      (./doc.tex
      LaTeX2e <2018-04-01> patch level 2
      Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
      Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (./doc.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/glossaries/base/glossaries.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
      (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/textcase/textcase.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/xfor/xfor.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-base.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsmath.sty
      For additional information on amsmath, use the `?' option.
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amstext.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsgen.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsbsy.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/amsmath/amsopn.sty))
      (/usr/local/texlive/2018/texmf-dist/tex/latex/substr/substr.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/datatool/datatool-fp.sty
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp.sty
      `Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/defpattern.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-basic.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-addons.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-snap.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-exp.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-trigo.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-pas.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-random.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eqn.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-upn.sty)
      (/usr/local/texlive/2018/texmf-dist/tex/latex/fp/fp-eval.sty))))

      ! LaTeX Error: PrintChanges undefined.

      See the LaTeX manual or LaTeX Companion for explanation.
      Type H <return> for immediate help.
      ...

      l.64 renewcommandPrintChanges
      {%
      ?


      I actually found a reference to that PrintChanges in http://mirrors-wan.geekpie.club/CTAN/macros/latex/contrib/glossaries/glossaries-code.pdf page 5 but even so I don't know. What can I do?







      pdftex glossaries glossaries-extra






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 2 at 6:59









      KcFnMiKcFnMi

      391313




      391313




















          1 Answer
          1






          active

          oldest

          votes


















          8














          Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used:



          @ifpackageloadeddoc%
          %
          @gls@docloadedtrue
          %
          %
          @ifclassloadednlctdoc@gls@docloadedtrue@gls@docloadedfalse%

          if@gls@docloaded
          letglsorg@theglossarytheglossary
          letglsorg@endtheglossaryendtheglossary
          letglsorg@PrintChangesPrintChanges
          renewcommandPrintChanges%
          begingroup
          lettheglossaryglsorg@theglossary
          letendtheglossaryglsorg@endtheglossary
          glsorg@PrintChanges
          endgroup

          fi





          share|improve this answer























          • In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

            – daleif
            Apr 2 at 8:40











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482711%2fhow-to-use-glossaries-together-with-providespackage%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          8














          Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used:



          @ifpackageloadeddoc%
          %
          @gls@docloadedtrue
          %
          %
          @ifclassloadednlctdoc@gls@docloadedtrue@gls@docloadedfalse%

          if@gls@docloaded
          letglsorg@theglossarytheglossary
          letglsorg@endtheglossaryendtheglossary
          letglsorg@PrintChangesPrintChanges
          renewcommandPrintChanges%
          begingroup
          lettheglossaryglsorg@theglossary
          letendtheglossaryglsorg@endtheglossary
          glsorg@PrintChanges
          endgroup

          fi





          share|improve this answer























          • In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

            – daleif
            Apr 2 at 8:40















          8














          Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used:



          @ifpackageloadeddoc%
          %
          @gls@docloadedtrue
          %
          %
          @ifclassloadednlctdoc@gls@docloadedtrue@gls@docloadedfalse%

          if@gls@docloaded
          letglsorg@theglossarytheglossary
          letglsorg@endtheglossaryendtheglossary
          letglsorg@PrintChangesPrintChanges
          renewcommandPrintChanges%
          begingroup
          lettheglossaryglsorg@theglossary
          letendtheglossaryglsorg@endtheglossary
          glsorg@PrintChanges
          endgroup

          fi





          share|improve this answer























          • In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

            – daleif
            Apr 2 at 8:40













          8












          8








          8







          Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used:



          @ifpackageloadeddoc%
          %
          @gls@docloadedtrue
          %
          %
          @ifclassloadednlctdoc@gls@docloadedtrue@gls@docloadedfalse%

          if@gls@docloaded
          letglsorg@theglossarytheglossary
          letglsorg@endtheglossaryendtheglossary
          letglsorg@PrintChangesPrintChanges
          renewcommandPrintChanges%
          begingroup
          lettheglossaryglsorg@theglossary
          letendtheglossaryglsorg@endtheglossary
          glsorg@PrintChanges
          endgroup

          fi





          share|improve this answer













          Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used:



          @ifpackageloadeddoc%
          %
          @gls@docloadedtrue
          %
          %
          @ifclassloadednlctdoc@gls@docloadedtrue@gls@docloadedfalse%

          if@gls@docloaded
          letglsorg@theglossarytheglossary
          letglsorg@endtheglossaryendtheglossary
          letglsorg@PrintChangesPrintChanges
          renewcommandPrintChanges%
          begingroup
          lettheglossaryglsorg@theglossary
          letendtheglossaryglsorg@endtheglossary
          glsorg@PrintChanges
          endgroup

          fi






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 2 at 7:48









          Ulrike FischerUlrike Fischer

          200k9306693




          200k9306693












          • In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

            – daleif
            Apr 2 at 8:40

















          • In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

            – daleif
            Apr 2 at 8:40
















          In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

          – daleif
          Apr 2 at 8:40





          In addition, one can check package existence on the command line via kpsewhich file.sty (don't do it from the folder where doc.sty already existed)

          – daleif
          Apr 2 at 8:40

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482711%2fhow-to-use-glossaries-together-with-providespackage%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

          Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

          Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ