-
Notifications
You must be signed in to change notification settings - Fork 21
46 fixecdata calltoc1membershipwcp #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
See #47 for review over this changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM mostly, but would request a couple of changes
- the
\locPXCubestuff looks valid - convert all macros in
pkg/precompiles.stytoxkeyval
pkg/precompiles.sty
Outdated
| \utt{x coord. hi:} & #3 \\ | ||
| \utt{x coord. lo:} & #4 \\ | ||
| \utt{y coord. hi:} & #5 \\ | ||
| \utt{y coord. lo:} & #6 \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not convert this to xkeyval too ? The whole point of xkeyval is to get rid of numbered arguments.
| ySquareLo = \locPYSquareLo , | ||
| xCubePlusThreeHi = \locPXCubePlusThreeHi , | ||
| xCubePlusThreeLo = \locPXCubePlusThreeLo , | ||
| } \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Macro Calls Variables Before Definition
The callToCOneMembershipWCP macro uses \locPYSquareHi, \locPYSquareLo, \locPXCubePlusThreeHi, and \locPXCubePlusThreeLo as arguments before they are defined. These variables are only defined later, after the callToCOneMembershipEXT call, which results in an undefined reference error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Note
Migrates EC-data LaTeX macros to xkeyval key–value arguments and updates all usages, adding explicit fields and minor label tweaks.
ECDATAkey set (anchorRow,relOffset,xHi,xLo,yHi,yLo,xSquare*,xCube*,xIm*,xRe*,yIm*,yRe*).\callToCOneMembership*and\callToWellFormedCoordinatesto accept a single key–value arg; update displayed labels (e.g.,x coord. hi).ySquare*,xCubePlusThree*,xSquare*,xCube*).prc/ecdata/specialized/{ecadd,ecmul,ecpairing}.texand utils (c1_membership.tex,well_formed_coordinates.tex), wiring new fields to shorthands.pkg/xkeyval_macros/ext_calls.sty, simplify argument labels (e.g.,First argument hi/lo)._all_prc.mtc{2,3,4}entries inprc/_all_prc.maf.Written by Cursor Bugbot for commit 637bd3c. This will update automatically on new commits. Configure here.