xparse: Starred commands and IfBooleanTF The Next CEO of Stack Overflowxparse recursion and/or special numeric specificationsWeird xparse issue involving splitlistReusing the current argument's number with xparseBehavior of xparse and “token”-type argumentTransforming a list with xparseDefining a command to define commands where the name uses the argument using xparseConverting xparse commands to htmlProblem with subscripts in custom xparse commands from foreign filesxparse SplitList parameter expansionPrevent xparse from stripping braces?
What happens if you roll doubles 3 times then land on "Go to jail?"
Is there a good way to store credentials outside of a password manager?
How should I support this large drywall patch?
Why is there a PLL in CPU?
What is meant by a M next to a roman numeral?
Opposite of a diet
Where to find order of arguments for default functions
Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?
Anatomically Correct Mesopelagic Aves
How long to clear the 'suck zone' of a turbofan after start is initiated?
Removing read access from a file
The King's new dress
How easy is it to start Magic from scratch?
Does the Brexit deal have to be agreed by both Houses?
Why here is plural "We went to the movies last night."
A pseudo-riley?
How do scammers retract money, while you can’t?
How to make a software documentation "officially" citable?
What is the point of a new vote on May's deal when the indicative votes suggest she will not win?
Visit to the USA with ESTA approved before trip to Iran
When did Lisp start using symbols for arithmetic?
How to start emacs in "nothing" mode (`fundamental-mode`)
Why is Miller's case titled R (Miller)?
Is a stroke of luck acceptable after a series of unfavorable events?
xparse: Starred commands and IfBooleanTF
The Next CEO of Stack Overflowxparse recursion and/or special numeric specificationsWeird xparse issue involving splitlistReusing the current argument's number with xparseBehavior of xparse and “token”-type argumentTransforming a list with xparseDefining a command to define commands where the name uses the argument using xparseConverting xparse commands to htmlProblem with subscripts in custom xparse commands from foreign filesxparse SplitList parameter expansionPrevent xparse from stripping braces?
In some longer redefinition of existing code I am using a construct like
documentclassbook
usepackagexparse
makeatletter
NewDocumentCommandmymacrosmOm
defblabla#1%
% several lines later in another macro I use
IfBooleanTFblabla
makeatother
begindocument
mymacro*
enddocument
which works fine with texlive 2018 (xparse 2018-10-17) and lualatex.
However, when trying with texlive 2019 (xparse 2019-03-05)
I get the following error
! Undefined control sequence.
<argument> LaTeX3 error:
Invalid use IfBooleanTF blabla
l.15 mymacro*
What would be the correct way of doing something like this with the new xparse version?
xparse
add a comment |
In some longer redefinition of existing code I am using a construct like
documentclassbook
usepackagexparse
makeatletter
NewDocumentCommandmymacrosmOm
defblabla#1%
% several lines later in another macro I use
IfBooleanTFblabla
makeatother
begindocument
mymacro*
enddocument
which works fine with texlive 2018 (xparse 2018-10-17) and lualatex.
However, when trying with texlive 2019 (xparse 2019-03-05)
I get the following error
! Undefined control sequence.
<argument> LaTeX3 error:
Invalid use IfBooleanTF blabla
l.15 mymacro*
What would be the correct way of doing something like this with the new xparse version?
xparse
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
@JosephWright I later redefine another macro where I useblabla. I did not know another way of doing something like this.
– bonanza
6 mins ago
add a comment |
In some longer redefinition of existing code I am using a construct like
documentclassbook
usepackagexparse
makeatletter
NewDocumentCommandmymacrosmOm
defblabla#1%
% several lines later in another macro I use
IfBooleanTFblabla
makeatother
begindocument
mymacro*
enddocument
which works fine with texlive 2018 (xparse 2018-10-17) and lualatex.
However, when trying with texlive 2019 (xparse 2019-03-05)
I get the following error
! Undefined control sequence.
<argument> LaTeX3 error:
Invalid use IfBooleanTF blabla
l.15 mymacro*
What would be the correct way of doing something like this with the new xparse version?
xparse
In some longer redefinition of existing code I am using a construct like
documentclassbook
usepackagexparse
makeatletter
NewDocumentCommandmymacrosmOm
defblabla#1%
% several lines later in another macro I use
IfBooleanTFblabla
makeatother
begindocument
mymacro*
enddocument
which works fine with texlive 2018 (xparse 2018-10-17) and lualatex.
However, when trying with texlive 2019 (xparse 2019-03-05)
I get the following error
! Undefined control sequence.
<argument> LaTeX3 error:
Invalid use IfBooleanTF blabla
l.15 mymacro*
What would be the correct way of doing something like this with the new xparse version?
xparse
xparse
edited 10 mins ago
Bernard
174k776207
174k776207
asked 12 mins ago
bonanzabonanza
7421625
7421625
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
@JosephWright I later redefine another macro where I useblabla. I did not know another way of doing something like this.
– bonanza
6 mins ago
add a comment |
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
@JosephWright I later redefine another macro where I useblabla. I did not know another way of doing something like this.
– bonanza
6 mins ago
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
@JosephWright I later redefine another macro where I use
blabla. I did not know another way of doing something like this.– bonanza
6 mins ago
@JosephWright I later redefine another macro where I use
blabla. I did not know another way of doing something like this.– bonanza
6 mins ago
add a comment |
0
active
oldest
votes
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%2f482003%2fxparse-starred-commands-and-ifbooleantf%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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%2f482003%2fxparse-starred-commands-and-ifbooleantf%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
Why were you saving the argument in a macro in the first place?
– Joseph Wright♦
8 mins ago
@JosephWright I later redefine another macro where I use
blabla. I did not know another way of doing something like this.– bonanza
6 mins ago