WebQuiz: on-line quizzes using LaTeX
WebQuiz makes it possible to use LaTeX to write interactive web based quizzes. The quizzes are first written in LaTeX and then converted into HTML files using WebQuiz, which is written in python. The conversion from LaTeX to HTML is done behind the scenes using TeX4ht.
To use WebQuiz you need to have the following programs installed:
Once the system is installed, WebQuiz is used directly from the command line. For example, if quiz1.tex is a latex file for a quiz then:
- latex quiz1 produces a "readable" dvi file for the quiz
- pdflatex quiz1 produces a "readable" pdf file for the quiz
- webquiz quiz1 creates the web page quiz1.html
WebQuiz has three different components that need to be installed:
- LaTeX files: webquiz.cls and webquiz.cfg need to be in the LaTeX search path
- python files: the main python is webquiz.py. On unix systems create
a link to it using something like
ln -s <path to webquiz directory>/webquiz.py /usr/local/bin/webquiz
- web files: although not strictly necessary, the files in the scripts web directory www should be put on the local web server
Once WebQuiz is available from ctan only the web files will need to be installed and this can be done using the command:
WebQuiz will still work if the web files are not installed locally, however, the quiz pages will display a warning message. For more details about installation, configuration and use please see the WebQuiz manual and the WebQuiz on-line manual.
To organisation of the the code in the WebQuiz repository is not suitable for distribution. To upload the package to ctan use:
python3 setup.py ctan
Copyright (C) 2013-2017
GNU General Public License, Version 3, 29 June 2007
This program is free software: you can redistribute it and/or modify it under the terms of the GNU_General Public License GPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.