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
11 changes: 11 additions & 0 deletions conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,8 @@ $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 +961,9 @@ $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,6 +1384,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 @@ -1667,6 +1673,11 @@ $ConfigValues = [
doc2 => 'WIRIS EDITOR is a commercial software. Using it in WebWork requires a valid license. Please contact sales@wiris.com for further information or visit www.wiris.com/solutions/webwork. Visual math editor (WYSIWYG) that allows inserting mathematical and chemistry equations. Based on JavaScript technology. It runs on any browser, including the ones in tablet PCs.
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',
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