pgfkeys argument parsing does not work as expected #22
Labels
No labels
breaking
component
memoize
component
tagging
effort
high
effort
low
effort
mid
moscow
could have
moscow
must have
moscow
should have
outcome
done
outcome
not planned
type
bug
type
chore
type
docs
type
enhancement
type
org
type
refactor
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lukas/kata#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
delegate common/.style={contains
color/.style = {/kata/color,##1},then this is used in a command/env
\pgfkeys{/kata/step,#1}%with the following declared arguments/options
\pgfkeys{/kata/step,first step/.is if = kata@step@first,first step/.default = true,phantom/.is if = kata@step@phantom,phantom/.default = true,phantom = false,phantom/.append code={\ifkata@step@phantom\pgfkeysalso{/kata/style/step phantom}\fi},/kata/forward/delegate common,/kata/forward/append common,}when calling
this leads to
apparently, the
/kata/colorwhich implicitly performs/kata/color/.cdleaks and the remaining arguments are parsed in that space as well.Even
is not working. Instead
works (which is not to be expected as a user).
The interesting part is how to fix this? How can I
cdback to where I came from? And/Or scope thecdproperly?