Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,9 @@ $options{PGCodeMirror} = 1;
$options{PGMathView} = 0;
# This sets if WirisEditor is available on the PG editor for use as a minimal latex equation editor
$options{PGWirisEditor}= 0;
# This sets if MathQuill is available on the PG editor for use as a minimal latex equation editor
$options{PGMathQuill}= 0;


###########################################################################################
#### Default settings for the PG translator
Expand All @@ -959,6 +962,10 @@ $pg{options}{mathViewLocale} = "mv_locale_us.js";
# Default for showing the WirisEditor preview system. To completely disable WirisEditor you need to change the PG special environment variable.
$pg{options}{useWirisEditor} = 1;


# Default for showing the MathQuill preview system. To completely disable MathQuill you need to change the PG special environment variable.
$pg{options}{useMathQuill} = 1;

# Show correct answers (when allowed) by default?
$pg{options}{showCorrectAnswers} = 0; # this is a backup value use when nothing else has been set. I can think of no case where it should anything but zero.

Expand Down Expand Up @@ -1379,7 +1386,7 @@ $webservices = {
$pg{specialPGEnvironmentVars}{DragMath} = 0;
$pg{specialPGEnvironmentVars}{MathView} = 0;
$pg{specialPGEnvironmentVars}{WirisEditor} = 0;

$pg{specialPGEnvironmentVars}{MathQuill} = 0;
###############################################################################
# default Homework Config settings
###############################################################################
Expand Down Expand Up @@ -1668,6 +1675,12 @@ $ConfigValues = [
You can use a large collection of icons nicely organized in thematic tabs in order to create formulas. Handwriting input also available for touchable devices. Fully featured equation editor including accessibility features.',
type => 'boolean'
},

{ var => 'pg{specialPGEnvironmentVars}{MathQuill}',
doc => 'Use MathQuill to live-render responses (proof of concept)',
doc2 => 'MathQuill effectively renders student responses into display-math without the need for Preview Answer. Open source.',
type => 'boolean'
},
{ var => 'pg{options}{showEvaluatedAnswers}',
doc => 'Display the evaluated student answer',
doc2 => 'Set to true to display the "Entered" column which automatically shows the evaluated student answer, e.g. 1 if student input is sin(pi/2). If this is set to false, e.g. to save space in the response area, the student can still see their evaluated answer by hovering the mouse pointer over the typeset version of their answer.',
Expand Down
1 change: 1 addition & 0 deletions conf/localOverrides.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ $options{PGCodeMirror} = 1;
# This sets if mathview is available on the PG editor for use as a minimal latex equation editor
$options{PGMathView} = 0;
$options{PGWirisEditor} = 0;
$options{PGMathQuill} = 0;

################################################################################
# PG subsystem options
Expand Down
Binary file added htdocs/js/apps/MathQuill/font/Symbola-basic.eot
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola-basic.ttf
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola-basic.woff
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola-basic.woff2
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola.eot
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola.otf
Binary file not shown.
5,102 changes: 5,102 additions & 0 deletions htdocs/js/apps/MathQuill/font/Symbola.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added htdocs/js/apps/MathQuill/font/Symbola.ttf
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola.woff
Binary file not shown.
Binary file added htdocs/js/apps/MathQuill/font/Symbola.woff2
Binary file not shown.
Loading