IEEEtran and glossaries-extra: glslink problems











up vote
1
down vote

favorite












I am having troubles with getting glossaries-extra running when using glslink command. For example when trying to compile



% !TeX TS-program = pdflatex
% !BIB TS-program = bibtex
documentclass[journal]{IEEEtran}
usepackage{mathtools,xparse}

usepackage[xindy,symbols,nomain]{glossaries-extra}
makeglossaries

DeclarePairedDelimiterparens{lparen}{rparen}

glsxtrnewsymbol[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ aa | bb } }}

NewDocumentCommandpdf{moo}{%
glslink{symb:pdf}{p_{#3}parens*{#1 ,middle|, #2}}%
}

begin{document}
asd
begin{align}
pdf{ a }[b]
end{align}
printglossaries
end{document}


I get the error message



! Undefined control sequence.
l.11 glsxtrnewsymbol
[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ a...


What am I doing wrong here?



Edit:



Surprisingly, it works when adding gls{symb:pdf} e.g. before begin{align}. And it does not work when adding it after the first use pdf. Why is that?










share|improve this question
















bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
    – Nicola Talbot
    Jun 21 at 13:33










  • @NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
    – Peter
    Aug 11 at 3:17






  • 1




    This bug should now be fixed in version 1.35 (2018-08-13).
    – Nicola Talbot
    Aug 13 at 18:34















up vote
1
down vote

favorite












I am having troubles with getting glossaries-extra running when using glslink command. For example when trying to compile



% !TeX TS-program = pdflatex
% !BIB TS-program = bibtex
documentclass[journal]{IEEEtran}
usepackage{mathtools,xparse}

usepackage[xindy,symbols,nomain]{glossaries-extra}
makeglossaries

DeclarePairedDelimiterparens{lparen}{rparen}

glsxtrnewsymbol[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ aa | bb } }}

NewDocumentCommandpdf{moo}{%
glslink{symb:pdf}{p_{#3}parens*{#1 ,middle|, #2}}%
}

begin{document}
asd
begin{align}
pdf{ a }[b]
end{align}
printglossaries
end{document}


I get the error message



! Undefined control sequence.
l.11 glsxtrnewsymbol
[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ a...


What am I doing wrong here?



Edit:



Surprisingly, it works when adding gls{symb:pdf} e.g. before begin{align}. And it does not work when adding it after the first use pdf. Why is that?










share|improve this question
















bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
    – Nicola Talbot
    Jun 21 at 13:33










  • @NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
    – Peter
    Aug 11 at 3:17






  • 1




    This bug should now be fixed in version 1.35 (2018-08-13).
    – Nicola Talbot
    Aug 13 at 18:34













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am having troubles with getting glossaries-extra running when using glslink command. For example when trying to compile



% !TeX TS-program = pdflatex
% !BIB TS-program = bibtex
documentclass[journal]{IEEEtran}
usepackage{mathtools,xparse}

usepackage[xindy,symbols,nomain]{glossaries-extra}
makeglossaries

DeclarePairedDelimiterparens{lparen}{rparen}

glsxtrnewsymbol[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ aa | bb } }}

NewDocumentCommandpdf{moo}{%
glslink{symb:pdf}{p_{#3}parens*{#1 ,middle|, #2}}%
}

begin{document}
asd
begin{align}
pdf{ a }[b]
end{align}
printglossaries
end{document}


I get the error message



! Undefined control sequence.
l.11 glsxtrnewsymbol
[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ a...


What am I doing wrong here?



Edit:



Surprisingly, it works when adding gls{symb:pdf} e.g. before begin{align}. And it does not work when adding it after the first use pdf. Why is that?










share|improve this question















I am having troubles with getting glossaries-extra running when using glslink command. For example when trying to compile



% !TeX TS-program = pdflatex
% !BIB TS-program = bibtex
documentclass[journal]{IEEEtran}
usepackage{mathtools,xparse}

usepackage[xindy,symbols,nomain]{glossaries-extra}
makeglossaries

DeclarePairedDelimiterparens{lparen}{rparen}

glsxtrnewsymbol[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ aa | bb } }}

NewDocumentCommandpdf{moo}{%
glslink{symb:pdf}{p_{#3}parens*{#1 ,middle|, #2}}%
}

begin{document}
asd
begin{align}
pdf{ a }[b]
end{align}
printglossaries
end{document}


I get the error message



! Undefined control sequence.
l.11 glsxtrnewsymbol
[description={xxx}]{symb:pdf}{ensuremath{ pparens*{ a...


What am I doing wrong here?



Edit:



Surprisingly, it works when adding gls{symb:pdf} e.g. before begin{align}. And it does not work when adding it after the first use pdf. Why is that?







glossaries ieeetran glossaries-extra






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 21 at 7:30

























asked Jun 20 at 13:22









bonanza

7521324




7521324





bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
    – Nicola Talbot
    Jun 21 at 13:33










  • @NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
    – Peter
    Aug 11 at 3:17






  • 1




    This bug should now be fixed in version 1.35 (2018-08-13).
    – Nicola Talbot
    Aug 13 at 18:34














  • 1




    There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
    – Nicola Talbot
    Jun 21 at 13:33










  • @NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
    – Peter
    Aug 11 at 3:17






  • 1




    This bug should now be fixed in version 1.35 (2018-08-13).
    – Nicola Talbot
    Aug 13 at 18:34








1




1




There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
– Nicola Talbot
Jun 21 at 13:33




There seems to be a problem with glslink (which I'll investigate). Try using glsdisp instead. (I don't know why you're getting that undefined control sequence error. I can't reproduce that with your MWE.)
– Nicola Talbot
Jun 21 at 13:33












@NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
– Peter
Aug 11 at 3:17




@NicolaTalbot I encountered similar error using MiKTeX on Windows. Simplified MWE added below.
– Peter
Aug 11 at 3:17




1




1




This bug should now be fixed in version 1.35 (2018-08-13).
– Nicola Talbot
Aug 13 at 18:34




This bug should now be fixed in version 1.35 (2018-08-13).
– Nicola Talbot
Aug 13 at 18:34










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10).



Simplified MWE:



documentclass{article}

%usepackage[automake=true]{glossaries}
usepackage[automake=true]{glossaries-extra}
makeglossaries

newglossaryentry{a}{
name={name},
description={desc}
}

begin{document}

% glsdisp{a}{disp}
glslink{a}{link}

printglossaries

end{document}



! Undefined control sequence.

glsxtrdiscardperiod #1#2#3->glsxtrifwasfirstuse

                                                  {glsifattribute {#1}{reta...

l.15  glslink{a}{link}




Changing glossaries-extra to glossaries or uncommenting glsdisp{a}{disp} before glslink{a}{link} causes the document to compile without errors.






share|improve this answer























    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',
    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%2f437208%2fieeetran-and-glossaries-extra-glslink-problems%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








    up vote
    0
    down vote













    The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10).



    Simplified MWE:



    documentclass{article}

    %usepackage[automake=true]{glossaries}
    usepackage[automake=true]{glossaries-extra}
    makeglossaries

    newglossaryentry{a}{
    name={name},
    description={desc}
    }

    begin{document}

    % glsdisp{a}{disp}
    glslink{a}{link}

    printglossaries

    end{document}



    ! Undefined control sequence.

    glsxtrdiscardperiod #1#2#3->glsxtrifwasfirstuse

                                                      {glsifattribute {#1}{reta...

    l.15  glslink{a}{link}




    Changing glossaries-extra to glossaries or uncommenting glsdisp{a}{disp} before glslink{a}{link} causes the document to compile without errors.






    share|improve this answer



























      up vote
      0
      down vote













      The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10).



      Simplified MWE:



      documentclass{article}

      %usepackage[automake=true]{glossaries}
      usepackage[automake=true]{glossaries-extra}
      makeglossaries

      newglossaryentry{a}{
      name={name},
      description={desc}
      }

      begin{document}

      % glsdisp{a}{disp}
      glslink{a}{link}

      printglossaries

      end{document}



      ! Undefined control sequence.

      glsxtrdiscardperiod #1#2#3->glsxtrifwasfirstuse

                                                        {glsifattribute {#1}{reta...

      l.15  glslink{a}{link}




      Changing glossaries-extra to glossaries or uncommenting glsdisp{a}{disp} before glslink{a}{link} causes the document to compile without errors.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10).



        Simplified MWE:



        documentclass{article}

        %usepackage[automake=true]{glossaries}
        usepackage[automake=true]{glossaries-extra}
        makeglossaries

        newglossaryentry{a}{
        name={name},
        description={desc}
        }

        begin{document}

        % glsdisp{a}{disp}
        glslink{a}{link}

        printglossaries

        end{document}



        ! Undefined control sequence.

        glsxtrdiscardperiod #1#2#3->glsxtrifwasfirstuse

                                                          {glsifattribute {#1}{reta...

        l.15  glslink{a}{link}




        Changing glossaries-extra to glossaries or uncommenting glsdisp{a}{disp} before glslink{a}{link} causes the document to compile without errors.






        share|improve this answer














        The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10).



        Simplified MWE:



        documentclass{article}

        %usepackage[automake=true]{glossaries}
        usepackage[automake=true]{glossaries-extra}
        makeglossaries

        newglossaryentry{a}{
        name={name},
        description={desc}
        }

        begin{document}

        % glsdisp{a}{disp}
        glslink{a}{link}

        printglossaries

        end{document}



        ! Undefined control sequence.

        glsxtrdiscardperiod #1#2#3->glsxtrifwasfirstuse

                                                          {glsifattribute {#1}{reta...

        l.15  glslink{a}{link}




        Changing glossaries-extra to glossaries or uncommenting glsdisp{a}{disp} before glslink{a}{link} causes the document to compile without errors.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 11 at 3:27

























        answered Aug 11 at 3:16









        Peter

        358110




        358110






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f437208%2fieeetran-and-glossaries-extra-glslink-problems%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

            サソリ

            広島県道265号伴広島線

            Accessing regular linux commands in Huawei's Dopra Linux