IEEEtran and glossaries-extra: glslink problems
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
add a comment |
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
1
There seems to be a problem withglslink
(which I'll investigate). Try usingglsdisp
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
add a comment |
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
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
glossaries ieeetran glossaries-extra
edited Jun 21 at 7:30
asked Jun 20 at 13:22
bonanza
7671324
7671324
1
There seems to be a problem withglslink
(which I'll investigate). Try usingglsdisp
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
add a comment |
1
There seems to be a problem withglslink
(which I'll investigate). Try usingglsdisp
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited Aug 11 at 3:27
answered Aug 11 at 3:16
Peter
395110
395110
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
There seems to be a problem with
glslink
(which I'll investigate). Try usingglsdisp
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