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?
glossaries ieeetran glossaries-extra
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.
add a comment |
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?
glossaries ieeetran glossaries-extra
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 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 |
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?
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
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 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
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.
add a comment |
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.
add a comment |
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.
add a comment |
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.
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
358110
358110
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