From ca790e6da556783aa072a2b1d21eee01b100ec32 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 1 Apr 2019 21:07:31 +0000 Subject: webquiz (1apr19) git-svn-id: svn://tug.org/texlive/trunk@50694 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/webquiz/README.rst | 71 ++++++++++----------- .../doc/latex/webquiz/examples/README-examples | 4 +- .../doc/latex/webquiz/examples/answer-complex.png | Bin 99557 -> 99557 bytes .../doc/latex/webquiz/examples/answer-integer.png | Bin 62058 -> 62058 bytes .../latex/webquiz/examples/answer-lowercase.png | Bin 110351 -> 110351 bytes .../doc/latex/webquiz/examples/answer-number.png | Bin 95333 -> 95333 bytes .../doc/latex/webquiz/examples/answer-star.png | Bin 123364 -> 123364 bytes .../doc/latex/webquiz/examples/answer-string.png | Bin 68023 -> 68023 bytes .../doc/latex/webquiz/examples/breadcrumbs.png | Bin 37678 -> 37678 bytes .../doc/latex/webquiz/examples/choice-multiple.png | Bin 76590 -> 76590 bytes .../doc/latex/webquiz/examples/choice-single.png | Bin 65989 -> 65989 bytes .../doc/latex/webquiz/examples/ctanLion.png | Bin 103994 -> 103994 bytes .../doc/latex/webquiz/examples/discussion-Qref.png | Bin 34269 -> 34269 bytes .../doc/latex/webquiz/examples/discussion-ref.png | Bin 84118 -> 84118 bytes .../doc/latex/webquiz/examples/discussion.png | Bin 157520 -> 157520 bytes .../latex/webquiz/examples/display-as-image.png | Bin 92928 -> 92928 bytes .../doc/latex/webquiz/examples/french.png | Bin 90407 -> 90407 bytes .../doc/latex/webquiz/examples/index-cz.png | Bin 60597 -> 60597 bytes .../doc/latex/webquiz/examples/index-en.png | Bin 63504 -> 63504 bytes .../doc/latex/webquiz/examples/montypython.png | Bin 45495 -> 45495 bytes .../doc/latex/webquiz/examples/nounits.png | Bin 13972 -> 13972 bytes .../doc/latex/webquiz/examples/onepage.png | Bin 153578 -> 153578 bytes .../doc/latex/webquiz/examples/pst2pdf.png | Bin 152800 -> 45832 bytes .../doc/latex/webquiz/examples/pstricks-ex.png | Bin 119053 -> 119053 bytes .../doc/latex/webquiz/examples/quiz-page.png | Bin 151626 -> 144742 bytes .../doc/latex/webquiz/examples/quiz-page.tex | 3 +- .../latex/webquiz/examples/quizindex-dropdown.png | Bin 37678 -> 37678 bytes .../doc/latex/webquiz/examples/random.png | Bin 74129 -> 73601 bytes .../doc/latex/webquiz/examples/simple-html.png | Bin 98108 -> 98108 bytes .../doc/latex/webquiz/examples/simple-pdf.png | Bin 12342 -> 12342 bytes .../doc/latex/webquiz/examples/theme-blue.png | Bin 142758 -> 142758 bytes .../doc/latex/webquiz/examples/theme-darkblue.png | Bin 147537 -> 147537 bytes .../doc/latex/webquiz/examples/theme-darkred.png | Bin 145332 -> 145332 bytes .../doc/latex/webquiz/examples/theme-default.png | Bin 145410 -> 145410 bytes .../doc/latex/webquiz/examples/theme-earthy.png | Bin 148481 -> 148481 bytes .../doc/latex/webquiz/examples/theme-fresh.png | Bin 144392 -> 144392 bytes .../doc/latex/webquiz/examples/theme-light.png | Bin 143177 -> 143177 bytes .../doc/latex/webquiz/examples/theme-lively.png | Bin 136481 -> 136481 bytes .../doc/latex/webquiz/examples/theme-muted.png | Bin 142632 -> 142632 bytes .../doc/latex/webquiz/examples/theme-sleek.png | Bin 141155 -> 141155 bytes .../doc/latex/webquiz/examples/theme-spring.png | Bin 137510 -> 137510 bytes .../doc/latex/webquiz/examples/theme-vibrant.png | Bin 145965 -> 145965 bytes .../doc/latex/webquiz/examples/tikz-ex.png | Bin 68561 -> 68561 bytes .../doc/latex/webquiz/webquiz-online-manual.pdf | Bin 149401 -> 149401 bytes .../texmf-dist/doc/latex/webquiz/webquiz.languages | 2 +- Master/texmf-dist/doc/latex/webquiz/webquiz.pdf | Bin 3594920 -> 3534688 bytes .../texmf-dist/doc/latex/webquiz/webquiz.settings | 14 ++-- Master/texmf-dist/doc/latex/webquiz/webquiz.tex | 49 +++++++++++--- Master/texmf-dist/doc/latex/webquiz/webquiz.themes | 2 +- Master/texmf-dist/doc/latex/webquiz/webquiz.usage | 3 +- 50 files changed, 90 insertions(+), 58 deletions(-) (limited to 'Master/texmf-dist/doc/latex/webquiz') diff --git a/Master/texmf-dist/doc/latex/webquiz/README.rst b/Master/texmf-dist/doc/latex/webquiz/README.rst index 60d0f52181f..dd8efda77e7 100644 --- a/Master/texmf-dist/doc/latex/webquiz/README.rst +++ b/Master/texmf-dist/doc/latex/webquiz/README.rst @@ -44,7 +44,8 @@ optional arguments: -x, --xelatex Use xelatex to compile the quiz -r RCFILE, --rcfile RCFILE Specify location of the webquiz rc-file - -i, --initialise Install web components of webquiz + -i, --initialise, --initialize + Install web components of webquiz -e, --edit-settings Edit default settings for webquiz --settings List default settings for webquiz @@ -61,40 +62,33 @@ If you want to install the web components of WebQuiz_ into a system directory th Please see the manual for more details about initialising and using WebQuiz_. -Installation from ctan ----------------------- -If you are installing WebQuiz using the zip file from ctan, as opposed to -installing the package from TeX distribution like TeXLive, then the following -steps are recommended: - -- Create a symbolic link, or equivalent, to the main WebQuiz executable, which - is the file webquiz.py in the scripts directory -- Copy the latex directory to somewhere in TeX search path, or set your - TEXINPUTS environment variable appropriately, and then run `mktexlsr` or - equivalent so that LaTeX and WebQuiz can find these files. -- Ideally the doc subdirectory should be copied into the doc/layetx subdirecory - of the main TeX distribution. - -If you are using a unix system, or macosx, there is an (undocumented) -command-line option `--tex-install` that installs the three different -components of WebQuiz_ into the standard locations in the TeXLive -tree: - -- $TEXMFMAIN/tex/latex/webquiz all LaTeX files -- $TEXMFMAIN/scripts/webquiz the python programs -- $TEXMFMAIN/doc/latex/webquiz the documentation and web components -- A symbolic link is made from the TeX bin directory to the main - WebQuiz executable $TEXMFMAIN/scripts/webquiz/webquiz.py - -To install these files in TEXMFMAIN you will almost certainly need -adminsistrator or root privledges, so on a unix-like system you will -need to use: - -> sudo webquiz/scripts/webquiz --tex-install - -In principle, this command may also work on a windows computer, -provided that the command `kpsewhich` is available, but this is -untested. +Installation from the ctan zipfile +---------------------------------- +On both unix-like systems (including macosx), and windows systems (using +either TeXLive or MiKTeX), you can install WebQuiz by downloading the +WebQuiz zip file from: + + http://mirrors.ctan.org/macros/latex/contrib/webquiz.zip + +To install the package, unzip this file and change directory to the +webquiz/scripts subdirectory run: + +> webquiz --tex-install + +(or webquiz.bat --text-install on windows). This commands unpacks the webquiz +files into their standard locations in the TeX install tree to it should be +run from an administrators account, or using sudo on a unix-like system. +Roughly what this command does is the following: + +- It creates a symbolic link, or equivalent, to the main WebQuiz executable, + which is the file webquiz.py in the scripts directory +- Copies the latex directory to somewhere in the TeX search path and then + runs `mktexlsr` so that LaTeX and WebQuiz can find these files. +- Copies the python code into the TeX scripts subdirectory +- Copies the WebQuiz doc subdirectory into the TeX doc/latex subdirectory. + +If you are using MiKTeX you may need to open the MiKTeX console, go to +the Tasks menu and then rebuild the TeX filename database. Once the files above are in place initialise WebQuiz by following the installation instructions above. @@ -135,7 +129,12 @@ system: Authors ------- -The LaTeX component of WebQuiz_ was written by Andrew Mathas and the python, css and javascript code was written by Andrew Mathas (and Don Taylor), based on an initial protype of Don Taylor's from 2001. Since 2004 the program has been maintained and developed by Andrew Mathas. Although the program has changed substantially since 2004 Don's idea of using TeX 4ht, and some of his code, is still very much in use. +The LaTeX component of WebQuiz_ was written by Andrew Mathas and the python, +css and javascript code was written by Andrew Mathas (and Don Taylor), based on +an initial protype of Don Taylor's from 2001. Since 2004 the program has been +maintained and developed by Andrew Mathas. Although the program has changed +substantially since 2004 Don's idea of using TeX4ht_, and some of his code, is +still very much in use. Copyright (C) 2004-2019 diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/README-examples b/Master/texmf-dist/doc/latex/webquiz/examples/README-examples index 42a73d3bf05..01e2455e279 100644 --- a/Master/texmf-dist/doc/latex/webquiz/examples/README-examples +++ b/Master/texmf-dist/doc/latex/webquiz/examples/README-examples @@ -1,2 +1,2 @@ -The tex and png files in this directory are used to build the WebQuiz manual. -Each tex file can be compiled using (pdf)latex and webquiz. +The TeX and png files in this directory are used to generate images in the +WebQuiz manual. Each TeX file can be compiled using (pdf)latex and webquiz. diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png index 12ae5938a08..841c81085f8 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png index d3da5be8e31..dc6113b9573 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png index 71a39e4cc42..a31d7049f3b 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png index 8dcbfd40988..14c3a9bed84 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png index af5936d3f7e..08528274087 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png index a88fa003072..affdf18f6f4 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png index 7ebf52b0d35..2c2a8175ea5 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png and b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png index 8f5cd6ca5f9..127f5d956cd 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png and b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png index e6828effa48..eda5fd9634e 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png and b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png index ab58f5e534d..0d711070149 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png and b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png index cd20eb79d2c..eafbab53ded 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png index d5b12cdc49f..a37f9526481 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png index 3e8bcd79f89..1b327072a3f 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png index 062a0f4edfa..ce76cb11193 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png and b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/french.png b/Master/texmf-dist/doc/latex/webquiz/examples/french.png index 0d038e7fbc1..42038b36939 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/french.png and b/Master/texmf-dist/doc/latex/webquiz/examples/french.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png index 874b857a9b0..e9d6a49ee05 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png and b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png index d3cc14ed55b..5d474581e0f 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png and b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png index 3352fb8c70a..e924e43d8c7 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png and b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png index 505e0fd6cd0..a504a247dfa 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png and b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png index 3609a37023d..880a1990ae7 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png and b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png index c678150ba18..b47fd703252 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png and b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png index 5f2709dc3be..1fe9bc19797 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png and b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png index 3bba2b8e6d6..82cb0dc9738 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png and b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex index d4436fc5fa4..9bc0740db1d 100644 --- a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex +++ b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex @@ -1,6 +1,5 @@ \documentclass[]{webquiz} -\usepackage[MATH1001]{sms-uos} -\BreadCrumbs{department | unitcode | quizindex | title} +\BreadCrumbs{quizindex | title} \DeclareMathOperator{\cis}{cis} \newcommand{\R}{\mathbb R} \newcommand{\C}{\mathbb C} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png b/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png index 7fbfa8e699a..2207f3a54b3 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png and b/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/random.png b/Master/texmf-dist/doc/latex/webquiz/examples/random.png index ca8157db498..592091f5a71 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/random.png and b/Master/texmf-dist/doc/latex/webquiz/examples/random.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png b/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png index 3d11b132175..f4c03dd0552 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png and b/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png index f875e93c578..1d1a6090d79 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png and b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png index deeff1ba3d2..cb36293d768 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png index 681cfb99e31..57001cf4375 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png index 76ea13e5184..d47c50c1b38 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png index 7807ba8a18a..10ad1a00c39 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png index 94607d0cdf8..f8e65c2b75e 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png index 2c4d7d81b01..b3690d85498 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png index 46cc7aa3e2f..3282223e063 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png index 278f3eca4b1..c750615fe87 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png index 88beac86865..9151228073e 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png index 89a4226edfc..c2c3f1c153e 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png index 57cc0aa6352..8efc7a99240 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png index 7ccc8888dbf..fa1cdb3367a 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png index 87bc1c0a8ab..5b51c8b24a7 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png and b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz-online-manual.pdf b/Master/texmf-dist/doc/latex/webquiz/webquiz-online-manual.pdf index 8d3a9d4815b..64dbf041864 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/webquiz-online-manual.pdf and b/Master/texmf-dist/doc/latex/webquiz/webquiz-online-manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.languages b/Master/texmf-dist/doc/latex/webquiz/webquiz.languages index 9b188c48a92..ebfe2505330 100644 --- a/Master/texmf-dist/doc/latex/webquiz/webquiz.languages +++ b/Master/texmf-dist/doc/latex/webquiz/webquiz.languages @@ -1,3 +1,3 @@ % List of languages currently supported by WebQuiz -% Generated using 'makedoc --languages' on 2019-03-10 +% Generated using 'makedoc --languages' on 2019-04-01 \newcommand\WebQuizLanguages{Czech, English, French, German, Greek, Italian, Japanese, Mandarin, Russian, Spanish,, Swedish} diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.pdf b/Master/texmf-dist/doc/latex/webquiz/webquiz.pdf index 10d7036c0b2..358637b1b0f 100644 Binary files a/Master/texmf-dist/doc/latex/webquiz/webquiz.pdf and b/Master/texmf-dist/doc/latex/webquiz/webquiz.pdf differ diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.settings b/Master/texmf-dist/doc/latex/webquiz/webquiz.settings index bee51d3ccb7..47dee55754d 100644 --- a/Master/texmf-dist/doc/latex/webquiz/webquiz.settings +++ b/Master/texmf-dist/doc/latex/webquiz/webquiz.settings @@ -1,6 +1,6 @@ ---------------------------------------------------------- -WebQuiz rc-file: /Users/andrew/.dotfiles/config/webquizrc ---------------------------------------------------------- +--------------------------------------------------------------------------- +WebQuiz rc-file: /usr/local/texlive/texmf-local/tex/latex/webquiz/webquizrc +--------------------------------------------------------------------------- breadcrumbs = department = department-url = / @@ -12,10 +12,10 @@ language = english one-page = false random-order = false theme = default -version = 5.1 -webquiz-url = /~andrew/Webby -webquiz-www = /Users/andrew/Sites/Webby +version = 5.2 +webquiz-url = /WebQuiz +webquiz-www = /Library/WebServer/Documents/WebQuiz make4ht = mathjax = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js webquiz-layout = webquiz_layout ---------------------------------------------------------- +--------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.tex b/Master/texmf-dist/doc/latex/webquiz/webquiz.tex index f0b63b41a05..808c7f032a4 100644 --- a/Master/texmf-dist/doc/latex/webquiz/webquiz.tex +++ b/Master/texmf-dist/doc/latex/webquiz/webquiz.tex @@ -85,16 +85,16 @@ \renewcommand*\contentsname{\relax} % hyperref links to ctan -\newcommand\TeXLive{\ctan[/]{\TeX Live}\xspace} +\newcommand\TeXLive{\href{https://www.tug.org/texlive/}{\TeX Live}\xspace} \newcommand\Ctan{\ctan[]{ctan}\xspace} \newcommand\ddash{\texttt{\textemdash\textemdash}} \NewDocumentCommand\webquizrc{s}{\index{webquizrc}% \BashCode|webquizrc| file\IfBooleanF{#1}{ (\autoref{SS:rcfile})}\xspace% } - +\newcommand\MiKTeX{\href{https://miktex.org/}{MiK\TeX}\xspace} \NewDocumentCommand\OnlineManual{s}{% \href{http://www.maths.usyd.edu.au/u/mathas/WebQuiz/webquiz-online-manual.html}{Online manual}% - \IfBooleanF{#1}{ (\hyperref[S:online]{Appendix B})}\xspace% + \IfBooleanF{#1}{ (\hyperref[S:online]{Appendix~B})}\xspace% } \indexprologue{% @@ -423,7 +423,7 @@ are due to Thomas Cailleteau Michael Palmer and - Hendrik Suess, + Hendrik Suess for helpful feedback on the package. \section{The \WebQuiz document class --- \hologo{LaTeX}{} commands} @@ -1548,7 +1548,7 @@ In order to work \WebQuiz needs the following programs to be installed on your system: - \begin{itemize} + \begin{itemize}[nosep] \item An up-to-date \LaTeX{} distribution, such as that provided by \TeXLive. In particular, you need to have \TeXfht{} and \ctan{make4ht} installed. @@ -1569,6 +1569,39 @@ will need to install the web components of \WebQuiz. \end{itemize} + \subsection{Installing + \WebQuiz}\label{SS:Install}\index{install}\index{miktex@Mik\TeX}\index{texlive@\TeXLive} + \WebQuiz will be included as a package in \TeXLive 2019 and, once a + packaging issue is sorted out, it will be included in \MiKTeX. If + \WebQuiz is available as a package from either of these distributions + then it can be installed in the usual way. + + Alternatively, it is possible to download the + \href{http://mirrors.ctan.org/macros/latex/contrib/webquiz.zip}{WebQuiz zipfile} from \Ctan. + To install \WebQuiz from the zipfile you should: + \begin{enumerate}[nosep] + \item Download the + \href{http://mirrors.ctan.org/macros/latex/contrib/webquiz.zip}{WebQuiz zipfile} from \Ctan. + \item Unzip the file + \item Change directory of the \BashCode|webquiz/scripts| subdirectory from the zipfile + \item From an administrators account, or using \BashCode|sudo| on a + unix-like system, run he command: + \begin{bashcode} + > webquiz --tex-install + \end{bashcode} + On windows, use: + \begin{bashcode} + > webquiz.bat --tex-install + \end{bashcode} + \end{enumerate} + This will install the different components of \WebQuiz to their + ``standard'' locations in he \TeX\ search tree. If you are using + \MiKTeX you may need to open the \MiKTeX console, go to the Tasks menu + and then rebuild the TeX filename database. + + Once the \WebQuiz package is installed you should initialise thew + package, following the steps given in \autoref{SS:Initialise}. + \subsection{Initialising \WebQuiz}\label{SS:Initialise} \CrossIndex{command-line option}{initialise} \index{initialisation} @@ -1681,7 +1714,7 @@ \href{https://en.wikipedia.org/wiki/Scalable_Vector_Graphics}{Scalable Vector Graphics} (SVG). This is done using his is done using \ctan{dvisvgm}. At first sight this is OK because \ctan{dvisvgm} is - included in \TeXLive and Mik\TeX, however, \ctan{dvisvgm} uses + included in \TeXLive and \MiKTeX, however, \ctan{dvisvgm} uses \Ghostscript and this needs to be correctly configured and, as outlined in \href{http://dvisvgm.bplaced.net/FAQ}{FAQ}, \ctan{dvisvgm} needs to know where to find the \Ghostscript libraries. For example, @@ -1901,8 +1934,8 @@ exit (currently \webquiz{version}) \item[\ddash tex-install] Use this command-line option if - are are installing the \LaTeX{} components of - \WebQuiz from the \Ctan zip-file. It will install the different + you are installing the \LaTeX{} components of + \WebQuiz from the \Ctan zip-filei (see \autoref{SS:Install}). It will install the different \LaTeX{} components of \WebQuiz into \BashCode|TEXMFMAIN|. If you installed \WebQuiz as part of a \TeX{} distribution, such as \TeXLive, then you do not need to use this option. diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.themes b/Master/texmf-dist/doc/latex/webquiz/webquiz.themes index 0a840a7e047..ef4329b8f9c 100644 --- a/Master/texmf-dist/doc/latex/webquiz/webquiz.themes +++ b/Master/texmf-dist/doc/latex/webquiz/webquiz.themes @@ -1,2 +1,2 @@ -% List of themes supported by WebQuiz -- generated 2019-03-10 +% List of themes supported by WebQuiz -- generated 2019-04-01 \newcommand\WebQuizThemes{blue, darkblue, darkred, default, earthy, fresh, light, lively, muted, sleek, spring,, vibrant} diff --git a/Master/texmf-dist/doc/latex/webquiz/webquiz.usage b/Master/texmf-dist/doc/latex/webquiz/webquiz.usage index 955740c95cb..76c28a4a6b4 100644 --- a/Master/texmf-dist/doc/latex/webquiz/webquiz.usage +++ b/Master/texmf-dist/doc/latex/webquiz/webquiz.usage @@ -17,7 +17,8 @@ optional arguments: -x, --xelatex Use xelatex to compile the quiz -r RCFILE, --rcfile RCFILE Specify location of the webquiz rc-file - -i, --initialise Install web components of webquiz + -i, --initialise, --initialize + Install web components of webquiz -e, --edit-settings Edit default settings for webquiz --settings [SETTINGS] List default settings for webquiz -- cgit v1.2.3