Skip to content

Conversation

@drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Mar 7, 2025

None of these are generally valid for answers in PG problem and having them conflicts with units and string answers. So now there are no autoOperatorNames set by default (same as autoCommands). They can still be added if desired, and will continue to function as before if added.

The LaTeX commands are now created from the BuiltInOpNames constant instead of constructing a new Options object and getting the default autoOperatorNames from there. That should never have been done that way anyway, and was a hack that goes back to the upstream MathQuill code.

This addresses openwebwork/webwork2#2203 and openwebwork/webwork2#2681.

None of these are generally valid for answers in PG problem and having
them conflicts with units and string answers.  So now there are no
autoOperatorNames set by default (same as autoCommands).  They can still
be added if desired, and will continue to function as before if added.

The LaTeX commands are now created from the `BuiltInOpNames` constant
instead of constructing a new `Options` object and getting the default
`autoOperatorNames` from there.  That should never have been done that
way anyway, and was a hack that goes back to the upstream MathQuill
code.

This addresses openwebwork/webwork2#2203 and
openwebwork/webwork2#2681.
drgrice1 added a commit to drgrice1/pg that referenced this pull request Mar 7, 2025
…OperatorNames`.

See openwebwork/mathquill#37.

All default `autoOperatorNames` are removed to address
openwebwork/webwork2#2203 and
openwebwork/webwork2#2681.

Any of those operators can be added back if desired, but having them
by default continues to cause issues with typing other things.
drgrice1 added a commit to drgrice1/pg that referenced this pull request Mar 7, 2025
…OperatorNames`.

See openwebwork/mathquill#37.

All default `autoOperatorNames` are removed to address
openwebwork/webwork2#2203 and
openwebwork/webwork2#2681.

Any of those operators can be added back if desired, but having them
by default continues to cause issues with typing other things.
drgrice1 added a commit to drgrice1/pg that referenced this pull request Mar 12, 2025
…OperatorNames`.

See openwebwork/mathquill#37.

All default `autoOperatorNames` are removed to address
openwebwork/webwork2#2203 and
openwebwork/webwork2#2681.

Any of those operators can be added back if desired, but having them
by default continues to cause issues with typing other things.
@Alex-Jordan Alex-Jordan merged commit 9c9f16c into openwebwork:main Mar 18, 2025
2 checks passed
@drgrice1 drgrice1 deleted the no-default-auto-operators branch April 25, 2025 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants