diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-01 21:07:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-01 21:07:31 +0000 |
commit | ca790e6da556783aa072a2b1d21eee01b100ec32 (patch) | |
tree | 226da3ee026929e682fb4f71fa403a42487ae758 /Master/texmf-dist/scripts/webquiz/webquiz_templates.py | |
parent | b9279e1b4ddf93b0d93a9f62ba3335fc2386cebb (diff) |
webquiz (1apr19)
git-svn-id: svn://tug.org/texlive/trunk@50694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/webquiz/webquiz_templates.py')
-rwxr-xr-x | Master/texmf-dist/scripts/webquiz/webquiz_templates.py | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/Master/texmf-dist/scripts/webquiz/webquiz_templates.py b/Master/texmf-dist/scripts/webquiz/webquiz_templates.py index a3c8f849945..ea86df20391 100755 --- a/Master/texmf-dist/scripts/webquiz/webquiz_templates.py +++ b/Master/texmf-dist/scripts/webquiz/webquiz_templates.py @@ -195,12 +195,6 @@ multiple_feedback_correct = r''' </div>''' multiple_feedback_answer = ' <li><em>{correct_answer}</em> {reason}</li>' -initialise_invite = r'''WebQuiz needs to be initialised. In order to display quiz web pages -WebQuiz needs to copy some css and javascript files into a directory -that is accessible from your webserver. - -Do you want to initialise WebQuiz now [Y/n]? ''' - # no script error when javascript is not enabled no_script = r'''<noscript> <div class="warning"> @@ -211,9 +205,39 @@ no_script = r'''<noscript> </noscript>''' ###################################################################### +# missing webquiz.ini file +###################################################################### + +missing_webquiz_ini = r''' +webquiz installation error: unable to find webquiz.ini -> {} + +If you believe that WebQuiz has been installed correctly then please try +rebuilding the TeX filename database. On TeXLive systems this can be done +using the command mktexlsl, or using the TeXLive gui. On MiKTEX you can +rebuild the database from the Tasks menu on the MiKTeX console. You may +need to run this command using an administrator account or sudo, on unix +systems. + +''' + +###################################################################### # the remaining templates prompt the user when initialising webquiz ###################################################################### +initialise_invite = r'''WebQuiz needs to be initialised. + +Before WebQuiz can display quiz web pages on your system it first needs to +copy some css and javascript files into a directory that is accessible from +your webserver. + +Do you want to initialise WebQuiz now [Y/n]? ''' + +initialise_before_settings = r''' +Before you can view the webquiz settings you need to initialise WebQuiz +using the command: + webquiz --initialise +''' + initialise_introduction = r''' WebQuiz Initialisation ====================== @@ -290,13 +314,6 @@ If you want to change the default webquiz settings please use: webquiz --edit-settings ''' -webquiz_url_warning = r''' -WebQuiz has not been initialised. To remove the warning message from -the web page please use - webquiz --initialise -to install the WebQuiz javascript and css files. -''' - text_initialise_warning = r''' WebQuiz has not yet been initialised. To remove this warning please use webquiz --initialise |