Open
Description
This is related to openwebwork/mathquill#5
There are a number of PCC problems that ask for set builder notation, and include the instruction "The | symbol is above the keyboard's Enter key." (e.g. Library/PCC/BasicAlgebra/LinearInequalities/GraphToSetAndIntervalNotation10.pg).
If MathQuill is enabled then typing the pipe character on the keyboard will default to absolute value and autocomplete a closing magnitude bar. This gets marked wrong, so these instructions will lead students astray.
There are a few possible remedies:
- Update MathQuill so that the pipe key on the keyboard can be used for
vert
. I suspect that this isn't easy, as in most cases the desired behaviour for pipe is absolute value. Can it do both, or would it need to default to one or the other? Can that default be changed on a question-by-question basis? - Disable MathQuill for these questions. That also seems less than ideal since students might need help with other symbols (e.g. \geq).
- Change the instructions. This is also problematic as the correct instructions depend on whether MathQuill is enabled. If MQ is active then students need to either type
vert
or use the toolbar. If MQ is disabled then they can simply type |. Maybe just delete that line altogether? Can there be a conditional in the code that checks if MQ is enabled and displays the appropriate instructions? Is that a bad idea?
Metadata
Metadata
Assignees
Labels
No labels