Incomprehensible error with babel and isodate

Clash Royale CLAN TAG#URR8PPP
up vote
10
down vote
favorite
The error in question is:
! Undefined control sequence.
ifthenelse #1#2#3->let bbl@temp@pref
pageref let pageref org@pageref
...
l.19 datetoday
Code:
documentclassmemoir
usepackage[english]babel
usepackage[english]isodate
begindocument
isodate
datetoday
enddocument
Intention:
I would like for thedate to not print e.g. September 10. 2018 but rather 2018-09-10.
memoir babel date isodate
add a comment |Â
up vote
10
down vote
favorite
The error in question is:
! Undefined control sequence.
ifthenelse #1#2#3->let bbl@temp@pref
pageref let pageref org@pageref
...
l.19 datetoday
Code:
documentclassmemoir
usepackage[english]babel
usepackage[english]isodate
begindocument
isodate
datetoday
enddocument
Intention:
I would like for thedate to not print e.g. September 10. 2018 but rather 2018-09-10.
memoir babel date isodate
add a comment |Â
up vote
10
down vote
favorite
up vote
10
down vote
favorite
The error in question is:
! Undefined control sequence.
ifthenelse #1#2#3->let bbl@temp@pref
pageref let pageref org@pageref
...
l.19 datetoday
Code:
documentclassmemoir
usepackage[english]babel
usepackage[english]isodate
begindocument
isodate
datetoday
enddocument
Intention:
I would like for thedate to not print e.g. September 10. 2018 but rather 2018-09-10.
memoir babel date isodate
The error in question is:
! Undefined control sequence.
ifthenelse #1#2#3->let bbl@temp@pref
pageref let pageref org@pageref
...
l.19 datetoday
Code:
documentclassmemoir
usepackage[english]babel
usepackage[english]isodate
begindocument
isodate
datetoday
enddocument
Intention:
I would like for thedate to not print e.g. September 10. 2018 but rather 2018-09-10.
memoir babel date isodate
memoir babel date isodate
asked Sep 10 at 12:53
Karl Damgaard Asmussen
1907
1907
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
9
down vote
accepted
I tested your example with all versions of TeX Live from 2012 to 2018. Up to 2014 the error is different, but still the code doesn't work.
This is because memoir has a different definition of date than the standard classes. It performs protected@xdef on the argument to date in order to define thedate so that footnotes or thanks commands disappear from it and this is the problem: isodate redefines today in such a way that it doesn't survive protected@xdef.
You solve the issue with
dateprotecttoday
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
9
down vote
accepted
I tested your example with all versions of TeX Live from 2012 to 2018. Up to 2014 the error is different, but still the code doesn't work.
This is because memoir has a different definition of date than the standard classes. It performs protected@xdef on the argument to date in order to define thedate so that footnotes or thanks commands disappear from it and this is the problem: isodate redefines today in such a way that it doesn't survive protected@xdef.
You solve the issue with
dateprotecttoday
add a comment |Â
up vote
9
down vote
accepted
I tested your example with all versions of TeX Live from 2012 to 2018. Up to 2014 the error is different, but still the code doesn't work.
This is because memoir has a different definition of date than the standard classes. It performs protected@xdef on the argument to date in order to define thedate so that footnotes or thanks commands disappear from it and this is the problem: isodate redefines today in such a way that it doesn't survive protected@xdef.
You solve the issue with
dateprotecttoday
add a comment |Â
up vote
9
down vote
accepted
up vote
9
down vote
accepted
I tested your example with all versions of TeX Live from 2012 to 2018. Up to 2014 the error is different, but still the code doesn't work.
This is because memoir has a different definition of date than the standard classes. It performs protected@xdef on the argument to date in order to define thedate so that footnotes or thanks commands disappear from it and this is the problem: isodate redefines today in such a way that it doesn't survive protected@xdef.
You solve the issue with
dateprotecttoday
I tested your example with all versions of TeX Live from 2012 to 2018. Up to 2014 the error is different, but still the code doesn't work.
This is because memoir has a different definition of date than the standard classes. It performs protected@xdef on the argument to date in order to define thedate so that footnotes or thanks commands disappear from it and this is the problem: isodate redefines today in such a way that it doesn't survive protected@xdef.
You solve the issue with
dateprotecttoday
edited Sep 10 at 13:13
answered Sep 10 at 13:02
egreg
685k8418273077
685k8418273077
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f450244%2fincomprehensible-error-with-babel-and-isodate%23new-answer', 'question_page');
);
Post as a guest
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
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
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