summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/moodle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-08 21:58:24 +0000
committerKarl Berry <karl@freefriends.org>2021-02-08 21:58:24 +0000
commitb689b082c823fcce490e8231b4eff18837a5b2d3 (patch)
tree4c946e14963478600e21baf3a92b253dcb415e58 /Master/texmf-dist/doc/latex/moodle
parent642941ac6911ff4f07f939e330eff1b4bf18e63a (diff)
moodle (8feb21)
git-svn-id: svn://tug.org/texlive/trunk@57683 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/moodle')
-rw-r--r--Master/texmf-dist/doc/latex/moodle/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/moodle/moodle.pdfbin241634 -> 260933 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.pngbin0 -> 4119 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.svg12
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_allornothing-moodle.ref153
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_autopoints-moodle.ref6
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_calculated_python-moodle.ref3
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_multi-moodle.ref3
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_numerical-moodle.ref1
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_shortanswer-moodle.ref1
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_commands-moodle.ref8
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_environments-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_escaping_right_braces_in_cloze-moodle.ref3
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_essay-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_french-moodle.ref4
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_generalfeedback-moodle.ref7
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_german-moodle.ref34
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_handout-moodle.ref15
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_htmlonly-moodle.ref36
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_macros-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_math-moodle.ref47
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_mathenv-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_paragraph_breaks-moodle.ref68
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_shortanswer-moodle.ref48
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_special_characters-moodle.ref12
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tags-moodle.ref47
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz_with_svg-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tolerance-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_allornothing.tex74
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_essay.tex4
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_german.tex51
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_htmlonly.tex35
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_math.tex44
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_paragraph_breaks.tex47
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_shortanswer.tex38
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_special_characters.tex16
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_tags.tex41
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_allornothing-moodle.ref153
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_autopoints-moodle.ref6
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_lua-moodle.ref9
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_python-moodle.ref3
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_multi-moodle.ref4
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_numerical-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_shortanswer-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_commands-moodle.ref8
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_environments-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_escaping_right_braces_in_cloze-moodle.ref3
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_essay-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_french-moodle.ref4
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_generalfeedback-moodle.ref8
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_german-moodle.ref34
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_handout-moodle.ref15
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_htmlonly-moodle.ref36
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_macros-moodle.ref2
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_math-moodle.ref47
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_mathenv-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_paragraph_breaks-moodle.ref68
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_shortanswer-moodle.ref48
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_special_characters-moodle.ref24
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tags-moodle.ref48
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz_with_svg-moodle.ref5
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tolerance-moodle.ref2
64 files changed, 1284 insertions, 148 deletions
diff --git a/Master/texmf-dist/doc/latex/moodle/README.md b/Master/texmf-dist/doc/latex/moodle/README.md
index 83eb22b4bf8..30e1b4a9761 100644
--- a/Master/texmf-dist/doc/latex/moodle/README.md
+++ b/Master/texmf-dist/doc/latex/moodle/README.md
@@ -10,7 +10,7 @@ part of all distributions of LaTeX version 2005/12/01 or later.
Original contents (2016): [Anders O.F. Hendrickson](/author/hendrickson) ([contact](mailto:anders.o.f.hendricksonATgmail.com))
-2019-2021: [Matthieu Guerquin-Kern](author/guerquin-kern) ([contact](mailto:guerquin-kernATcrans.org))
+2019-2021: [Matthieu Guerquin-Kern](/author/guerquin-kern) ([contact](mailto:guerquin-kernATcrans.org))
# Contents
@@ -19,6 +19,9 @@ This work, under version number 0.8, consists of the files
[`moodle.ins`](/tex-archive/macros/latex/contrib/moodle/moodle.ins), and the derived documentation
file [`moodle.pdf`](/tex-archive/macros/latex/contrib/moodle/moodle.pdf).
+The derived file `moodle.sty` can be downloaded from [here](https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/moodle/moodle.sty?view=co).
+Details on how to generate derived files from the sources are given in Section "Building" at the end of this document.
+
A TDS archive [moodle.tds.zip](http://mirrors.ctan.org/install/macros/latex/contrib/moodle.tds.zip) is
also available to be conveniently expanded in your local texmf directory.
It contains the derived file `moodle.sty` and a set of test files.
@@ -65,3 +68,4 @@ The documentation file `moodle.pdf` can be generated by running twice the comman
```bash
lualatex -shell-escape moodle.dtx
```
+(n.b. the requirements in the previous section)
diff --git a/Master/texmf-dist/doc/latex/moodle/moodle.pdf b/Master/texmf-dist/doc/latex/moodle/moodle.pdf
index 1c047103cd7..47a4c2ecca1 100644
--- a/Master/texmf-dist/doc/latex/moodle/moodle.pdf
+++ b/Master/texmf-dist/doc/latex/moodle/moodle.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.png b/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.png
new file mode 100644
index 00000000000..cd4218f0bc6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.svg b/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.svg
new file mode 100644
index 00000000000..73066e6956b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/fig/NoodlE_logo.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.1" viewBox="0 0 299.7 99.977" xmlns="http://www.w3.org/2000/svg">
+<g fill="#f98012">
+<path d="m108.79 22.756-3.094-2.117-7.492 12.05c-5.375-1.792-10.59-1.792-11.56-1.792-17.1 0-26.55 10.59-26.55 24.43 0 6.351 2.443 14.98 11.73 19.87l-7.328 11.89 3.095 1.954 7.653-12.21c5.212 1.792 10.1 1.792 11.4 1.792 17.43 0 26.55-10.59 26.55-23.29 0-7.98-3.421-16.45-11.73-20.85zm-33.71 47.23c-3.095-3.746-3.095-9.609-3.095-14.82 0-7.817 0-20.52 14.66-20.52 3.095 0 6.189 0.651 8.794 2.443zm23.13-30.29c2.932 4.072 3.095 9.772 3.095 15.47 0 7.816 0 19.71-14.66 19.71-1.302 0-5.211 0-8.631-2.28z"/>
+<path d="m138.29 78.556c-6.975 0-12.75-2.224-17.3-6.65-4.551-4.424-6.826-10.12-6.826-17.12 0-6.975 2.275-12.67 6.826-17.1 4.549-4.424 10.32-6.65 17.3-6.65s12.77 2.225 17.35 6.65c4.6 4.426 6.899 10.15 6.899 17.1 0 6.975-2.299 12.68-6.899 17.12-4.6 4.426-10.37 6.65-17.35 6.65zm0-36.45c-3.324 0-5.875 1.25-7.674 3.775-1.775 2.525-2.676 5.5-2.676 8.975s0.8256 6.4 2.5 8.774c1.901 2.725 4.526 4.076 7.85 4.076 3.326 0 5.926-1.35 7.85-4.076 1.75-2.4 2.625-5.326 2.625-8.774 0-3.475-0.8256-6.4-2.5-8.774-1.924-2.651-4.576-3.975-7.975-3.975z"/>
+<path d="m199.89 77.326v-4.551c-1.225 1.65-3.326 2.951-6.276 3.951-2.625 0.8996-5.125 1.35-7.5 1.35-6.574 0-11.85-2.25-15.82-6.776-3.975-4.5-5.975-10.1-5.975-16.75 0-6.574 1.951-12.07 5.85-16.5 3.449-3.924 9.1-6.65 15.57-6.65 7.301 0 11.58 2.75 14.15 5.9v-37.3h13.42v77.32zm0-25.75c0-2.451-1.176-4.826-3.5-7.075-2.326-2.25-4.75-3.375-7.2-3.375-3.525 0-6.326 1.451-8.375 4.299-1.799 2.551-2.701 5.676-2.701 9.35 0 3.625 0.9013 6.7 2.701 9.225 2.049 2.951 4.85 4.424 8.375 4.424 2.125 0 4.451-1 6.95-3.025 2.5-2 3.75-4.074 3.75-6.225z"/>
+<path d="m217.49 6e-3h13.8v77.32h-13.8z"/>
+<path d="m299.69 73.836h-2.774c-2.772 15.57-5.324 23-24.29 23h-14.64c-5.212 0-5.435-0.712-5.435-4.07v-27.07h9.872c10.76 0 11.98 3.257 11.98 11.91h2.773v-26.87h-2.773c0 8.649-1.22 11.8-11.98 11.8h-9.872v-24.32c0-3.358 0.2227-4.072 5.435-4.072h14.2c16.97 0 19.85 5.598 21.63 19.74h2.773l-3.105-22.8h-62.11v3.053h2.552c8.539 0 8.762 1.12 8.762 4.783v53.12c0 3.663-0.2216 4.782-8.762 4.782h-2.552v3.155h63.67l4.659-26.15z"/>
+<path d="m58.372 48.433v29.07h-13.77v-27.07c0-5.65-2.301-8.5-6.899-8.5-4.676 0-7 2.826-7 8.5v27.07h-13.78v-28.68c0-5.9 2.051-10.37 6.151-13.4 3.599-2.701 8.5-4.076 14.65-4.076 6.225 0 10.046 1.6771 13.77 4.801 3.5957 3.016 6.9631 7.0008 6.878 12.285z"/>
+</g>
+<path d="m43.666 29.273 13.68-10-0.176-0.6003c-24.67 3.025-35.9 5.174-57.17 17.5l0.2007 0.5493 1.699 0.0263c-0.1497 1.699-0.4243 5.9-0.074 12.25-2.35 6.824-0.051 11.47 2.099 16.52 0.3503-5.25 0.301-11-1.299-16.72-0.3257-6.275-0.0493-10.42 0.1003-12.02l14.1 0.125s-0.1003 4.25 0.4243 8.274c12.6 4.424 25.27-0.0247 32-10.92-1.9-2.125-5.576-4.975-5.576-4.975z" fill="#333"/>
+</svg>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_allornothing-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_allornothing-moodle.ref
new file mode 100644
index 00000000000..c3806dce58f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_allornothing-moodle.ref
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/All Or Nothing</text>
+ </category>
+</question>
+
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 1]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 2]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 3]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 4]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text {1:MULTICHOICE_S:=a~%20%b~%-30%c~d}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_autopoints-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_autopoints-moodle.ref
index e562720d20b..6d75fecd5cc 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_autopoints-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_autopoints-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[All correct]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>100\% is distributed uniformly. </p>]]></text>
+ <text><![CDATA[<p>100% is distributed uniformly. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -37,7 +37,7 @@
<text><![CDATA[Auto sanction]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Without the star, an error shall be issued because correct answers should sum up to 100\%. </p>]]></text>
+ <text><![CDATA[<p>Without the star, an error shall be issued because correct answers should sum up to 100%. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -61,7 +61,7 @@
<text><![CDATA[All correct but sum \(\geq 100\)]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>A warning shall be issued because correct answers must sum up to 100\%. </p>]]></text>
+ <text><![CDATA[<p>A warning shall be issued because correct answers must sum up to 100%. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_calculated_python-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_calculated_python-moodle.ref
index c3f6cb45560..4ba7844f476 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_calculated_python-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_calculated_python-moodle.ref
@@ -15,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(3 + 2 =\){1:NUMERICAL:=5:0}\(3 - 2 =\){1:NUMERICAL:=1:0}\(3 * 2 =\){1:NUMERICAL:=6:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -30,7 +29,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 2 =\){1:NUMERICAL:=6:0}\(4 - 2 =\){1:NUMERICAL:=2:0}\(4 * 2 =\){1:NUMERICAL:=8:0}\(4 : 2 =\){1:NUMERICAL:=2:0}</p>]]></text>
</questiontext>
- <defaultgrade>4</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -45,7 +43,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 3 =\){1:NUMERICAL:=7:0}\(4 - 3 =\){1:NUMERICAL:=1:0}\(4 * 3 =\){1:NUMERICAL:=12:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_multi-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_multi-moodle.ref
index 41e56f930bd..352db7b5bd6 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_multi-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_multi-moodle.ref
@@ -13,9 +13,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Regular, single, no shuffle {1:MULTICHOICE:=chip#yes~%10%<I>chop</I>~%-30%<B>chap</B>#no.}</P><P>Vertical, single, no shuffle {1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>Horizontal, single, no shuffle {1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P>Regular, single, shuffle {1:MULTICHOICE_S:=chip~chop#yes~chap#no.}</P><P>Vertical, single, shuffle {1:MULTICHOICE_VS:=chip#yes~%10%chop~chap#no.}</P><P>Horizontal, single, shuffle {1:MULTICHOICE_HS:=chip#yes~chop~chap#no.}</P><P>Regular, multiple, no shuffle {1:MULTIRESPONSE:=chip~=chop#yes~chap#no.}</P><P></P><P>Horizontal, multiple, no shuffle {1:MULTIRESPONSE_H:=chip#yes~=chop~chap#no.}</P><P>Regular, multiple, shuffle {1:MULTIRESPONSE_S:=chip~=chop#yes~chap#no.}Horizontal, multiple, shuffle {1:MULTIRESPONSE_HS:=chip#yes~=chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>Regular, single, no shuffle {1:MULTICHOICE:=chip#yes~%10%<I>chop</I>~%-30%<B>chap</B>#no.}<BR/>Vertical, single, no shuffle {1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>Horizontal, single, no shuffle {1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/>Regular, single, shuffle {1:MULTICHOICE_S:=chip~chop#yes~chap#no.}<BR/>Vertical, single, shuffle {1:MULTICHOICE_VS:=chip#yes~%10%chop~chap#no.}<BR/>Horizontal, single, shuffle {1:MULTICHOICE_HS:=chip#yes~chop~chap#no.}<BR/>Regular, multiple, no shuffle {1:MULTIRESPONSE:=chip~=chop#yes~chap#no.}<BR/><BR/>Horizontal, multiple, no shuffle {1:MULTIRESPONSE_H:=chip#yes~=chop~chap#no.}<BR/>Regular, multiple, shuffle {1:MULTIRESPONSE_S:=chip~=chop#yes~chap#no.}Horizontal, multiple, shuffle {1:MULTIRESPONSE_HS:=chip#yes~=chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_numerical-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_numerical-moodle.ref
index 857887aa2ab..c847212b08d 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_numerical-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_numerical-moodle.ref
@@ -15,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Enter an integer \(n\) such that \(0&lt; n\leq 2\). {1:NUMERICAL:%10%0:0.001#study difference between \(&lt;\) and \(\leq \)~=1:0.01#good!~=2:0.1#OK}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_shortanswer-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_shortanswer-moodle.ref
index e15cdf9c6a3..5e92a903e6b 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_shortanswer-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_cloze_shortanswer-moodle.ref
@@ -15,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Who? {1:SHORTANSWER_C:=chip~%10%chop#yes~%-30%chap#no.}what? {1:SHORTANSWER:=chip~%10%chop#yes~%-30%chap#no.}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_commands-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_commands-moodle.ref
index 19055488acd..2e556796495 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_commands-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_commands-moodle.ref
@@ -35,10 +35,10 @@
<text><![CDATA[<p><CODE>typewriter</CODE></p>]]></text>
</answer>
<answer fraction="100" format="html">
- <text><![CDATA[<p><SPAN STYLE=&#34;font-variant: small-caps;&#34;>Small Capitals</SPAN></p>]]></text>
+ <text><![CDATA[<p><SPAN STYLE="font-variant: small-caps;">Small Capitals</SPAN></p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><SPAN STYLE=&#34;text-decoration: underline;&#34;>underlined</SPAN></p>]]></text>
+ <text><![CDATA[<p><SPAN STYLE="text-decoration: underline;">underlined</SPAN></p>]]></text>
</answer>
<answer fraction="0" format="html">
<text><![CDATA[<p>M<SUP>me</SUP></p>]]></text>
@@ -47,10 +47,10 @@
<text><![CDATA[<p>H<SUB>2</SUB>O</p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><A href=&#34;http://192.0.0.256&#34;>http://192.0.0.256</A></p>]]></text>
+ <text><![CDATA[<p><A href="http://192.0.0.256">http://192.0.0.256</A></p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><A href=&#34;mailto:name@server.com&#34;>Contact me</A></p>]]></text>
+ <text><![CDATA[<p><A href="mailto:name@server.com">Contact me</A></p>]]></text>
</answer>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_environments-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_environments-moodle.ref
index 4fa9cf95910..b379287f0de 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_environments-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_environments-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[LaTeX Environments]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p><CENTER><SPAN STYLE=&#34;font-variant: small-caps;&#34;>This is a question</SPAN></CENTER> Select the numbered list </p>]]></text>
+ <text><![CDATA[<p><CENTER><SPAN STYLE="font-variant: small-caps;">This is a question</SPAN></CENTER> Select the numbered list </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_escaping_right_braces_in_cloze-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_escaping_right_braces_in_cloze-moodle.ref
index 8903c9ce654..69d3b33c04b 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_escaping_right_braces_in_cloze-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_escaping_right_braces_in_cloze-moodle.ref
@@ -13,9 +13,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>No escaping here: \(y=a\sqrt {x}/2+{b}\) </P><P>No escaping here: <CODE>text</CODE> \(y=a\sqrt {x}/2+{b}\) {4:MULTICHOICE_V:=\(\lbrace A\rbrace \)~{B\}}</P><P>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:SHORTANSWER:=chip#nip~%10%nop#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}</P><P>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:NUMERICAL:=0:0#nip~%10%1:0#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}</P><P></p>]]></text>
+ <text><![CDATA[<p>No escaping here: \(y=a\sqrt {x}/2+{b}\) <BR/>No escaping here: <CODE>text</CODE> \(y=a\sqrt {x}/2+{b}\) {4:MULTICHOICE_V:=\(\lbrace A\rbrace \)~{B\}}<BR/>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:SHORTANSWER:=chip#nip~%10%nop#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}<BR/>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:NUMERICAL:=0:0#nip~%10%1:0#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>2</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_essay-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_essay-moodle.ref
index 7b025148644..873fc732879 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_essay-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_essay-moodle.ref
@@ -33,7 +33,7 @@
</ul>
]]></text></graderinfo>
<responsetemplate format="html">
- <text><![CDATA[Type you answer here]]></text>
+ <text><![CDATA[Type your answer here]]></text>
</responsetemplate>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_french-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_french-moodle.ref
index 7a88aba6bda..6de854506c0 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_french-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_french-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[Test french]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p> <SPAN STYLE=&#34;text-decoration: underline;&#34;>Pangramme</SPAN> con&ccedil;u par Gilles <SPAN STYLE=&#34;font-variant: small-caps;&#34;>Esposito-Far&egrave;se</SPAN>&#8239;:</p>]]></text>
+ <text><![CDATA[<p> <SPAN STYLE="text-decoration: underline;">Pangramme</SPAN> con&ccedil;u par Gilles <SPAN STYLE="font-variant: small-caps;">Esposito-Far&egrave;se</SPAN>&#8239;:</p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html">
@@ -26,7 +26,7 @@
<answernumbering>abc</answernumbering>
<answer fraction="100" format="html">
<text><![CDATA[<p>D&egrave;s No&euml;l o&ugrave; un z&eacute;phyr ha&iuml; me v&ecirc;t de gla&ccedil;ons w&uuml;rmiens je d&icirc;ne d&rsquo;exquis r&ocirc;tis de b&oelig;uf au kir &agrave; l&rsquo;a&yuml; d&rsquo;&acirc;ge m&ucirc;r & c&aelig;tera&#8239;!</p>]]></text>
- <feedback format="html"><text><![CDATA[<p>cit&eacute; dans &laquo;&#8239;&#8239;<A href=&#34;https://jacques-andre.fr/faqtypo/lessons.pdf&#34;>Petites le&ccedil;ons de typographie</A>&#8239;&#8239;&raquo; de Jacques <SPAN STYLE=&#34;font-variant: small-caps;&#34;>Andr&eacute;</SPAN>.</p>]]></text></feedback>
+ <feedback format="html"><text><![CDATA[<p>cit&eacute; dans &laquo;&#8239;&#8239;<A href="https://jacques-andre.fr/faqtypo/lessons.pdf">Petites le&ccedil;ons de typographie</A>&#8239;&#8239;&raquo; de Jacques <SPAN STYLE="font-variant: small-caps;">Andr&eacute;</SPAN>.</p>]]></text></feedback>
</answer>
<answer fraction="0" format="html">
<text><![CDATA[<p>Portez ce vieux whisky au juge blond qui fume.</p>]]></text>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_generalfeedback-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_generalfeedback-moodle.ref
index 61e9145d1cc..8ed9c288f40 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_generalfeedback-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_generalfeedback-moodle.ref
@@ -103,11 +103,11 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>&aelig;</p>]]></text>
- <answer><text>oui</text></answer>
+ <answer><text>oui </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>&oelig;</p>]]></text>
- <answer><text>non</text></answer>
+ <answer><text>non </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -145,9 +145,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html">
<text><![CDATA[<p>54</p>]]></text>
</generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_german-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_german-moodle.ref
new file mode 100644
index 00000000000..a10c8440972
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_german-moodle.ref
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/German Issues</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Test German]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p> <SPAN STYLE="text-decoration: underline;">Pangramm</SPAN> :</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>&bdquo;Fix, Schwyz!&ldquo;, qu&auml;kt J&uuml;rgen bl&ouml;d vom Pa&szlig;.</p>]]></text>
+ <feedback format="html"><text><![CDATA[<p></p>]]></text></feedback>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>Wie schon Carl-Friedrich Gau&szlig; sagte: &bdquo;Nicht alles &Uuml;ble in &Ouml;sterreich ist &ouml;sterreichischer Herkunft &ndash; aber manches, was als &sbquo;&uuml;bel&lsquo; empfunden wird, k&ouml;nnte durch entsprechende &Auml;nderungen zum Guten ver&auml;ndert werden&ldquo;.</p>]]></text>
+ </answer>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_handout-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_handout-moodle.ref
index 47a62893013..65586574f12 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_handout-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_handout-moodle.ref
@@ -263,15 +263,15 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>A</p>]]></text>
- <answer format="html"><text><![CDATA[<p>1</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>1 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>B</p>]]></text>
- <answer format="html"><text><![CDATA[<p>2</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>2 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>C</p>]]></text>
- <answer format="html"><text><![CDATA[<p>3</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>3 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -297,15 +297,15 @@
<shuffleanswers>0</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>A</p>]]></text>
- <answer><text>1</text></answer>
+ <answer><text>1 </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>B</p>]]></text>
- <answer><text>2</text></answer>
+ <answer><text>2 </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>C</p>]]></text>
- <answer><text>3</text></answer>
+ <answer><text>3 </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -320,9 +320,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p></P><P>Question text {1:MULTICHOICE_H:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_V:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_HS:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_VS:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_S:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:NUMERICAL:=1:1#1~3:1#3}</P><P>Question text {1:SHORTANSWER:=aaa#1~bbb#3}</P><P></p>]]></text>
+ <text><![CDATA[<p><BR/>Question text {1:MULTICHOICE_H:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_V:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_HS:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_VS:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_S:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:NUMERICAL:=1:1#1~3:1#3}<BR/>Question text {1:SHORTANSWER:=aaa#1~bbb#3}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html">
<text><![CDATA[<p>General feedback</p>]]></text>
</generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_htmlonly-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_htmlonly-moodle.ref
new file mode 100644
index 00000000000..d8c4be6be2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_htmlonly-moodle.ref
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/HTML Only</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[HTML code]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A <a href="www.com">$_`'</a> </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p><div style="border: 1px solid green; display: inline-block;">HTML contents</div></p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>C</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>D</p>]]></text>
+ </answer>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_macros-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_macros-moodle.ref
index a67df4abbc7..ab526086c96 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_macros-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_macros-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[LaTeX Macros]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>The following commands should not be placed in items: <BR/> and </P><P>Find the \(\rm\LaTeX\) logo </p>]]></text>
+ <text><![CDATA[<p>The following commands should not be placed in items: <BR/> and <BR/>Find the \(\rm\LaTeX\) logo </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_math-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_math-moodle.ref
new file mode 100644
index 00000000000..162aade867b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_math-moodle.ref
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Math Notations</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Derivative]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>\[\frac {\partial ^{3} f}{\partial ^{3} x}(x).\] </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>\(f&rsquo;(x)\)</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>\(f&rsquo;&rsquo;(x)\)</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>\(f&rsquo;&rsquo;&rsquo;(x)\)</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Other derivatives]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>\[\frac {\partial ^{2} g}{\partial ^{2} t}(t).\] {1:MULTICHOICE_VS:\(g&rsquo;(t)\)~=\(g&rsquo;&rsquo;(t)\)~\(g&rsquo;&rsquo;&rsquo;(t)\)}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_mathenv-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_mathenv-moodle.ref
index 0f2fc15de0d..b4644105fed 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_mathenv-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_mathenv-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[Multiple Choice]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\(\begin {array}{c}$1\\2\end {array}\) </p>]]></text>
+ <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\(\begin {array}{c}$1\\2\end {array}\) </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -41,9 +41,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\(\begin {array}{c}$1\\2\end {array}\) {1:MULTICHOICE_VS:=\($\sqrt {25\}\)~6~=7#\[$\sqrt {25\}\]~%10%8}</p>]]></text>
+ <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\(\begin {array}{c}$1\\2\end {array}\) {1:MULTICHOICE_VS:=\($\sqrt {25\}\)~6~=7#\[$\sqrt {25\}\]~%10%8}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_paragraph_breaks-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_paragraph_breaks-moodle.ref
new file mode 100644
index 00000000000..e993109d60d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_paragraph_breaks-moodle.ref
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Paragraph Breaks</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Multi]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A </p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>B <BR/>C</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>D</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Close-multi]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A {1:MULTICHOICE_VS:=B <BR/>C~D}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+<question type="essay">
+ <name format="html">
+ <text><![CDATA[Essay]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A </p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <responserequired>0</responserequired>
+ <responseformat>editor</responseformat>
+ <responsefieldlines>15</responsefieldlines>
+ <attachments>0</attachments>
+ <attachmentsrequired>0</attachmentsrequired>
+ <graderinfo format="html"><text><![CDATA[
+ <ul>
+ <li>B <BR/>C </li>
+ <li>D</li>
+ </ul>
+ ]]></text></graderinfo>
+ <responsetemplate format="html"><text/></responsetemplate>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_shortanswer-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_shortanswer-moodle.ref
new file mode 100644
index 00000000000..8fa5c9ebd30
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_shortanswer-moodle.ref
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Example Quiz</text>
+ </category>
+</question>
+
+<question type="shortanswer">
+ <name format="html">
+ <text><![CDATA[Short Answer]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Enter the string <CODE>&rdquo;40%&rdquo;</CODE>. </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <usecase>0</usecase>
+ <answer fraction="100" format="plain_text">
+ <text>40%</text>
+ <feedback format="html"><text><![CDATA[<p>correct \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+ <answer fraction="50" format="plain_text">
+ <text>40</text>
+ <feedback format="html"><text><![CDATA[<p>incomplete \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+ <answer fraction="50" format="plain_text">
+ <text>%</text>
+ <feedback format="html"><text><![CDATA[<p>incomplete \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Short Answer in Cloze]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Enter the string <CODE>&rdquo;40%&rdquo;</CODE>. {1:SHORTANSWER:=40%#correct \((1+\sqrt {5\})/2\)~%50%40#incomplete \((1+\sqrt {5\})/2\)~%50%%#incomplete \((1+\sqrt {5\})/2\)}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_special_characters-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_special_characters-moodle.ref
index 71ad7010c69..89c3ed81d39 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_special_characters-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_special_characters-moodle.ref
@@ -33,10 +33,10 @@
</question>
<question type="multichoice">
<name format="html">
- <text><![CDATA[&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; ]]></text>
+ <text><![CDATA[&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; ]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; <BR/> &Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; <BR/> &oelig; &aelig; &szlig; &OElig; &AElig; &#7838; &Oslash; &Lstrok; &laquo;&#8239; &oslash; &lstrok; &#8239;&raquo; &iquest; &iexcl; </p>]]></text>
+ <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; <BR/> &Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; <BR/> &oelig; &aelig; &szlig; &OElig; &AElig; &#7838; &Oslash; &Lstrok; &laquo;&#8239; &oslash; &lstrok; &#8239;&raquo; &iquest; &iexcl; </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -46,12 +46,12 @@
<shuffleanswers>1</shuffleanswers>
<answernumbering>abc</answernumbering>
<answer fraction="0" format="html">
- <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text></feedback>
+ <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text></feedback>
</answer>
<answer fraction="100" format="html">
- <text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text></feedback>
+ <text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text></feedback>
</answer>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tags-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tags-moodle.ref
index 6e42286d332..b71a7d33ad6 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tags-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tags-moodle.ref
@@ -32,6 +32,7 @@
</answer>
<tags>
<tag><text><![CDATA[multi]]></text></tag>
+ <tag><text><![CDATA[&Aring;&aelig;&oelig;]]></text></tag>
</tags>
</question>
<question type="shortanswer">
@@ -59,6 +60,8 @@
</answer>
<tags>
<tag><text><![CDATA[quizz-level]]></text></tag>
+ <tag><text><![CDATA[ leading whitespace]]></text></tag>
+ <tag><text><![CDATA[with, comma]]></text></tag>
</tags>
</question>
<question type="numerical">
@@ -101,11 +104,11 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>&aelig;</p>]]></text>
- <answer><text>oui</text></answer>
+ <answer><text>oui </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>&oelig;</p>]]></text>
- <answer><text>non</text></answer>
+ <answer><text>non </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -142,14 +145,50 @@
<tag><text><![CDATA[essay]]></text></tag>
</tags>
</question>
+<question type="description">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Text</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <tags>
+ <tag><text><![CDATA[desc]]></text></tag>
+ </tags>
+</question>
+<question type="truefalse">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>&Aring;</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>1</penalty>
+ <hidden>0</hidden>
+ <answer fraction="100" format="plain_text">
+ <text>true</text>
+ <feedback format="html"><text><![CDATA[<p> &aelig;yo </p>]]></text></feedback>
+ </answer>
+ <answer fraction="0" format="plain_text">
+ <text>false</text>
+ </answer>
+ <tags>
+ <tag><text><![CDATA[TF]]></text></tag>
+ </tags>
+</question>
<question type="cloze">
<name format="html">
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz-moodle.ref
index bd76f582f93..539c50deb23 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz-moodle.ref
@@ -195,7 +195,7 @@ cwFEchUwcB1g4DBg0E1gYGh3XQ5UwVQqgMUmALNqEhN3PGWqAAAAAElFTkSuQmCC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
3e5GKvWZAAAAU0lEQVQI12NgQIAICLUTTDJ+BVNsD8AUVwOY0lcAU50QFZfAFCdEypsDRDNu5EsA
UtIG9kCVjKcc64Ac7pDMO+VgNS8cQCTzZzCH/QKY4mhgQAMAKiMPa9oLlkgAAAAASUVORK5CYII=
-">}</P><P><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAIVBMVEX///8AAAAAAAAAAAAAAAAA
+">}<BR/><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAIVBMVEX///8AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAADdcGRXAAAACnRSTlMAESIziJm7zN3u5dSV+AAAACNJREFUCNdjYMAC
RIGYybUKSDIaeIFFyCQVgETarDYHBhwAAGGpBhwPdrFnAAAAAElFTkSuQmCC
"> {1:SHORTANSWER:=3#<IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVBAMAAABiXgn+AAAALVBMVEX///8AAAAAAAAAAAAAAAAA
@@ -207,7 +207,7 @@ TkSuQmCC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
3e5GKvWZAAAAU0lEQVQI12NgQIAICLUTTDJ+BVNsD8AUVwOY0lcAU50QFZfAFCdEypsDRDNu5EsA
UtIG9kCVjKcc64Ac7pDMO+VgNS8cQCTzZzCH/QKY4mhgQAMAKiMPa9oLlkgAAAAASUVORK5CYII=
-">}</P><P><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAIVBMVEX///8AAAAAAAAAAAAAAAAA
+">}<BR/><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAIVBMVEX///8AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAADdcGRXAAAACnRSTlMAESIziJm7zN3u5dSV+AAAACNJREFUCNdjYMAC
RIGYybUKSDIaeIFFyCQVgETarDYHBhwAAGGpBhwPdrFnAAAAAElFTkSuQmCC
"> {1:NUMERICAL:=3:0#<IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVBAMAAABiXgn+AAAALVBMVEX///8AAAAAAAAAAAAAAAAA
@@ -221,7 +221,6 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
UtIG9kCVjKcc64Ac7pDMO+VgNS8cQCTzZzCH/QKY4mhgQAMAKiMPa9oLlkgAAAAASUVORK5CYII=
">}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz_with_svg-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz_with_svg-moodle.ref
index aa1e98ab2cc..c3b5d27a81d 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz_with_svg-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tikz_with_svg-moodle.ref
@@ -311,7 +311,7 @@ Mi41NDUsLTIuNDkxKSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwtMi42KSI+PHRleHQgdHJh
bnNmb3JtPSJtYXRyaXgoMSwwLDAsLTEsMCwyLjg2NCkiIGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFt
aWx5PSJTRlRJMTAwMCIgZm9udC1zaXplPSI5Ljk2MjZweCI+PHRzcGFuIHg9IjAiIHk9IjAiPjQ8
L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+Cg==
-">}</P><P><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NCIg
+">}<BR/><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NCIg
aGVpZ2h0PSIxMy4yOCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNi42NCAxMy4yOCIgeG1s
OnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0
cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMgMCAwIC0xLjMzMzMgMCAxMy4yOCkiPjxnIHRyYW5zZm9y
@@ -338,7 +338,7 @@ Mi41NDUsLTIuNDkxKSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwtMi42KSI+PHRleHQgdHJh
bnNmb3JtPSJtYXRyaXgoMSwwLDAsLTEsMCwyLjg2NCkiIGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFt
aWx5PSJTRlRJMTAwMCIgZm9udC1zaXplPSI5Ljk2MjZweCI+PHRzcGFuIHg9IjAiIHk9IjAiPjQ8
L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+Cg==
-">}</P><P><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NCIg
+">}<BR/><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NCIg
aGVpZ2h0PSIxMy4yOCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNi42NCAxMy4yOCIgeG1s
OnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0
cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMgMCAwIC0xLjMzMzMgMCAxMy4yOCkiPjxnIHRyYW5zZm9y
@@ -367,7 +367,6 @@ aWx5PSJTRlRJMTAwMCIgZm9udC1zaXplPSI5Ljk2MjZweCI+PHRzcGFuIHg9IjAiIHk9IjAiPjQ8
L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+Cg==
">}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tolerance-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tolerance-moodle.ref
index 5319491210c..0ddfa509de6 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tolerance-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/latin1ref/test_tolerance-moodle.ref
@@ -63,7 +63,6 @@
<questiontext format="html">
<text><![CDATA[<p>Give a number {1:NUMERICAL:=1:4~=0:3~*#nope}Give a number {1:NUMERICAL:=1:4~=0:2~*#nope}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -75,7 +74,6 @@
<questiontext format="html">
<text><![CDATA[<p>Give a number {1:NUMERICAL:=1,45e-3:1,65E-4~=0:0~*#nope}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_allornothing.tex b/Master/texmf-dist/doc/latex/moodle/test/test_allornothing.tex
new file mode 100644
index 00000000000..67651f03096
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_allornothing.tex
@@ -0,0 +1,74 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = lualatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+\fi
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of the \texttt{allornothing}
+option for multiple choice questions.
+
+\begin{quiz}[]{All Or Nothing}
+%\begin{quiz}[allornothing]{All Or Nothing}
+
+\begin{multi}[allornothing]{All Or Nothing}%
+text
+\item* a
+\item[fraction=20] b
+\item[fraction=-30] c
+\item d
+\end{multi}
+
+\begin{multi}[allornothing,multiple]{All Or Nothing Wins Conflict 1}%
+text
+\item* a
+\item* b
+\item c
+\item d
+\end{multi}
+
+\begin{multi}[multiple,allornothing]{All Or Nothing Wins Conflict 2}%
+text
+\item* a
+\item* b
+\item c
+\item d
+\end{multi}
+
+\begin{multi}[allornothing,single=false]{All Or Nothing Wins Conflict 3}%
+text
+\item* a
+\item* b
+\item c
+\item d
+\end{multi}
+
+\begin{multi}[single=false,allornothing]{All Or Nothing Wins Conflict 4}%
+text
+\item* a
+\item* b
+\item c
+\item d
+\end{multi}
+
+\begin{cloze}{Title}
+\begin{multi}[allornothing=false] % <- true results in an error issued
+text
+\item* a
+\item[fraction=20] b
+\item[fraction=-30] c
+\item d
+\end{multi}
+\end{cloze}
+
+\end{quiz}
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_essay.tex b/Master/texmf-dist/doc/latex/moodle/test/test_essay.tex
index 21524bb5c53..3b047954cbc 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/test_essay.tex
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_essay.tex
@@ -17,8 +17,8 @@ This document is intended to check the support of essay questions.
\begin{quiz}[points=1]{Essay Test}
-\begin{essay}[feedback={feedback for essay},template={Type you answer
-here}]{Title}
+\begin{essay}[feedback={feedback for essay},template={Type your answer
+here},response field lines=14]{Title}
A
\item B
\item C
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_german.tex b/Master/texmf-dist/doc/latex/moodle/test/test_german.tex
new file mode 100644
index 00000000000..0f2058871b0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_german.tex
@@ -0,0 +1,51 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = lualatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+ \usepackage{babel}
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+ \usepackage[ngerman]{babel}
+\fi
+
+\ifPDFTeX
+ \def\myquestiontext{ \underline{Pangramm} :}
+ \def\pangramme{\glqq Fix, Schwyz!\grqq, qu\"akt J\"urgen bl\"od vom Pa\ss.}
+ \def\pangrammeother{Wie schon Carl-Friedrich Gau\ss\ sagte: \glqq Nicht
+ alles \"Uble in \"Osterreich ist \"osterreichischer Herkunft -- aber
+ manches, was als \glq \"ubel\grq\ empfunden wird, k\"onnte durch
+ entsprechende \"Anderungen zum Guten ver\"andert werden\grqq.}
+ \def\myfeedback{}
+\else % assuming XELATEX or LUALATEX
+ \def\myquestiontext{ \underline{Pangramm} :}
+ \def\pangramme{„Fix, Schwyz!“, quäkt Jürgen blöd vom Paß.}
+ \def\pangrammeother{Wie schon Carl-Friedrich Gauß sagte: „Nicht alles Üble in
+ Österreich ist österreichischer Herkunft – aber manches, was als ‚übel‘
+ empfunden wird, könnte durch entsprechende Änderungen zum Guten verändert
+ werden“.}
+ \def\myfeedback{}
+\fi
+\htmlregister{\myquestiontext}
+\htmlregister{\pangramme}
+\htmlregister{\pangrammeother}
+\htmlregister{\myfeedback}
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of the \texttt{babel} package
+with option \texttt{ngerman} that causes problems during \texttt{pdfLaTeX}
+compilation, due to the special meaning given to \verb|"|.
+
+\begin{quiz}[points=1]{German Issues}
+\begin{multi}[feedback={}]{Test German}
+\myquestiontext
+\item[feedback={\myfeedback}]* \pangramme
+\item \pangrammeother
+\end{multi}
+\end{quiz}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_htmlonly.tex b/Master/texmf-dist/doc/latex/moodle/test/test_htmlonly.tex
new file mode 100644
index 00000000000..ba35d5e8c55
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_htmlonly.tex
@@ -0,0 +1,35 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = lualatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+\fi
+
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of the command
+\verb|\htmlonly{...}|.
+
+\begin{quiz}{HTML Only}
+
+\begin{multi}{HTML code}
+A \htmlonly[place holder]{<a href="www.com">$_`'</a>} %%,#,\ breaking
+%compilation
+\item \htmlonly[\fbox{PDF contents}]{<div style="border: 1px solid green;
+display: inline-block;">HTML contents</div>}
+\item C
+\item* D
+\end{multi}
+
+\end{quiz}
+
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_math.tex b/Master/texmf-dist/doc/latex/moodle/test/test_math.tex
new file mode 100644
index 00000000000..54ba1a37833
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_math.tex
@@ -0,0 +1,44 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = lualatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+\fi
+
+\moodleregisternewcommands
+\newcommand{\derivative}[3]{\frac{\partial^{#3} #1}{\partial^{#3} #2}(#2)}
+
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of \LaTeX\ math notations.
+
+\begin{quiz}{Math Notations}
+
+\begin{multi}{Derivative}
+\[\derivative{f}{x}{3}.\]
+\item $f'(x)$
+\item $f''(x)$
+\item* $f'''(x)$
+\end{multi}
+
+\begin{cloze}{Other derivatives}
+\begin{multi}[vertical]
+\[\derivative{g}{t}{2}.\]
+\item $g'(t)$
+\item* $g''(t)$
+\item $g'''(t)$
+\end{multi}
+\end{cloze}
+
+\end{quiz}
+
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_paragraph_breaks.tex b/Master/texmf-dist/doc/latex/moodle/test/test_paragraph_breaks.tex
new file mode 100644
index 00000000000..d5f46d01edb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_paragraph_breaks.tex
@@ -0,0 +1,47 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = lualatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+\fi
+
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of paragraph breaks in the items
+of essay and multi questions.
+
+\begin{quiz}[points=1]{Paragraph Breaks}
+\begin{multi}{Multi}
+A
+\item* B
+
+C
+\item D
+\end{multi}
+
+\begin{cloze}{Close-multi}
+\begin{multi}[vertical]
+A
+\item* B
+
+C
+\item D
+\end{multi}
+\end{cloze}
+
+\begin{essay}{Essay}
+A
+\item B
+
+C
+\item D
+\end{essay}
+\end{quiz}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_shortanswer.tex b/Master/texmf-dist/doc/latex/moodle/test/test_shortanswer.tex
new file mode 100644
index 00000000000..152c5060ffc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_shortanswer.tex
@@ -0,0 +1,38 @@
+% !TeX encoding = UTF-8
+% !TeX spellcheck = en_US
+% !TEX TS-program = pdflatex
+\documentclass{article}
+\usepackage[nostamp]{moodle}
+\ifPDFTeX % FOR LATEX and PDFLATEX
+ \usepackage[utf8]{inputenc} % necessary
+ \usepackage[T1]{fontenc} % necessary
+\else % assuming XELATEX or LUALATEX
+ \usepackage{fontspec}
+\fi
+\def\myequation{$(1+\sqrt{5})/2$}
+\htmlregister{\myequation}
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of shortanswer questions.
+
+\begin{quiz}{Example Quiz}
+
+\begin{shortanswer}{Short Answer}
+Enter the string \texttt{"40\%"}.
+\item[fraction=100,feedback={correct \myequation}] 40\%
+\item[fraction=50,feedback={incomplete \myequation}] 40
+\item[fraction=50,feedback={incomplete \myequation}] \%
+\end{shortanswer}
+\begin{cloze}{Short Answer in Cloze}
+\begin{shortanswer}
+Enter the string \texttt{"40\%"}.
+\item[fraction=100,feedback={correct \myequation}] 40\%
+\item[fraction=50,feedback={incomplete \myequation}] 40
+\item[fraction=50,feedback={incomplete \myequation}] \%
+\end{shortanswer}
+\end{cloze}
+
+\end{quiz}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_special_characters.tex b/Master/texmf-dist/doc/latex/moodle/test/test_special_characters.tex
index 557c0642c36..4d0cf4940de 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/test_special_characters.tex
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_special_characters.tex
@@ -19,8 +19,10 @@
\def\UTFotherUC{}
\def\UFTextend{
\newcommand\addtomacro[2]{\expandafter\def\expandafter##1\expandafter{##1##2}}%
- \addtomacro{\UTFdiacriticLC}{ş ţ ő ű ÿ ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž }%
- \addtomacro{\UTFdiacriticUC}{Ş Ţ Ő Ű Ÿ Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž }%
+ \addtomacro{\UTFdiacriticLC}{ş ţ ő ű ÿ ą ę į ǫ ų ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť
+ ž }%
+ \addtomacro{\UTFdiacriticUC}{Ş Ţ Ő Ű Ÿ Ą Ę Į Ǫ Ų Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť
+ Ž }%
\addtomacro{\UTFligaturesLC}{œ æ ß }%
\addtomacro{\UTFligaturesUC}{Œ Æ ẞ }%
\addtomacro{\UTFotherLC}{« ø ł » ¿ ¡ }%
@@ -31,12 +33,12 @@
\fi
\def\LaTeXdiacriticLC
{\aa\ \`a \^a \~a \'e \`e \"e \^e \^i \"i \~n \~o \"o \^o \`u \"u \^u \c{c}
-\c{s} \c{t} \H{o} \H{u} \"y \u{a} \u{e} \u{g} \u{i} \u{\i} \u{o} \u{u} \v{c}
-\v{d} \v{e} \v{l} \v{n} \v{r} \v{s} \v{t} \v{z} }
+\c{s} \c{t} \H{o} \H{u} \"y \k{a} \k{e} \k{i} \k{o} \k{u} \u{a} \u{e} \u{g}
+\u{i} \u{\i} \u{o} \u{u} \v{c} \v{d} \v{e} \v{l} \v{n} \v{r} \v{s} \v{t} \v{z} }
\def\LaTeXdiacriticUC
{\AA\ \`A \^A \~A \'E \`E \"E \^E \^I \"I \~N \~O \"O \^O \`U \"U \^U \c{C}
-\c{S} \c{T} \H{O} \H{U} \"Y \u{A} \u{E} \u{G} \u{I} \u{O} \u{U} \v{C} \v{D}
-\v{E} \v{L} \v{N} \v{R} \v{S} \v{T} \v{Z} }
+\c{S} \c{T} \H{O} \H{U} \"Y \k{A} \k{E} \k{I} \k{O} \k{U} \u{A} \u{E} \u{G}
+\u{I} \u{O} \u{U} \v{C} \v{D} \v{E} \v{L} \v{N} \v{R} \v{S} \v{T} \v{Z} }
\def\LaTeXligaturesLC{\oe\ \ae\ \ss\ }
\def\LaTeXligaturesUC{\OE\ \AE\ \SS\ }
\def\LaTeXotherLC{\guillemotleft\ \o\ \l\ \guillemotright\ \textquestiondown\ %
@@ -61,7 +63,7 @@
\section*{Introduction}
This document is intended to check the support of diacritical marks (accents)
-and ligatures found in different languages written with the latin alphabet.
+and ligatures found in different languages written with the Latin alphabet.
For most of them, two ways of encoding are tested: UTF8 et \LaTeX{} syntax.
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_tags.tex b/Master/texmf-dist/doc/latex/moodle/test/test_tags.tex
index 870827431e1..5cb9e144c98 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/test_tags.tex
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_tags.tex
@@ -9,41 +9,36 @@
\else % assuming XELATEX or LUALATEX
\usepackage{fontspec}
\fi
-\usepackage[french]{babel} % for french quotes
\begin{document}
\section*{Introduction}
-This document is intended to check the support of tags (i.e. keywords). The
-definition of multiple tags per question is currently unsupported.
+This document is intended to check the support of tags (i.e. keywords).
-\begin{quiz}[points=1,tags={quizz-level}]{Moodle Tags}
-
- \begin{multi}[tags={multiéàî}]{Title}
- %\og abc\fg%\ae%\oe%
+\begin{quiz}[points=1,tags={quizz-level,{ leading whitespace},{with,
+comma}}]{Moodle Tags}
+
+ \begin{multi}[tags={multiéàî,\AA\ae\oe}]{Title}%
\AA
\item[feedback={tic}] \ae
\item[feedback={tac}]* \oe
\end{multi}
\begin{shortanswer}[]{Title}
- % %\og abc\fg%\ae%\oe
\AA
\item[feedback={toc}] B
- \item[feedback={\og\fg}] C
+ \item[feedback={\guillemotleft\guillemotright}] C
\item[fraction=0] *
\end{shortanswer}
\begin{numerical}[tags={}]{Title}
- % %\og abc\fg%\ae%\oe
\AA
\item[feedback={toc}] 1
- \item[feedback={\og\fg}] 2
+ \item[feedback={\guillemotleft\guillemotright}] 2
\item[fraction=0] 3
\end{numerical}
\begin{matching}[tags={m\aa tch\"ing}]{Title}
- %\og abc\fg%\ae%\oe%
\AA
\item \ae \answer oui
\item \oe \answer non
@@ -51,12 +46,22 @@ definition of multiple tags per question is currently unsupported.
\end{matching}
\begin{essay}[tags={essay}]{Title}
- %\og abc\fg%\ae%\oe%
\AA
\item \ae yo
\item \oe
\end{essay}
+ \begin{description}[tags={desc}]{Title}%
+ Text
+ \end{description}
+
+
+ \begin{truefalse}[tags={TF}]{Title}
+ \AA
+ \item* \ae yo
+ \item \oe
+ \end{truefalse}
+
\begin{cloze}[tags={cloze}]{Cloze}
\AA
\begin{multi}[shuffle=false]
@@ -65,18 +70,18 @@ definition of multiple tags per question is currently unsupported.
\item[feedback={yes},fraction=10] chop
\item[feedback={no.}] chap
\end{multi}
- \fg
+ \guillemotright
\begin{shortanswer}
\AA
\item[feedback={toc}] B
- \item[feedback={\og\fg}] C
+ \item[feedback={\guillemotleft\guillemotright}] C
\item[fraction=0] *
\end{shortanswer}
- \og
+ \guillemotleft
\begin{numerical}
\AA
\item[] 1
- \item[feedback={\og\fg}] 2
+ \item[feedback={\guillemotleft\guillemotright}] 2
\item[fraction=0] 3
\end{numerical}
\begin{multi}[shuffle=false,vertical]
@@ -94,7 +99,7 @@ definition of multiple tags per question is currently unsupported.
\end{multi}
\end{cloze}
-
+
\end{quiz}
\end{document}
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_allornothing-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_allornothing-moodle.ref
new file mode 100644
index 00000000000..ff497563438
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_allornothing-moodle.ref
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/All Or Nothing</text>
+ </category>
+</question>
+
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 1]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 2]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 3]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="multichoiceset">
+ <name format="html">
+ <text><![CDATA[All Or Nothing Wins Conflict 4]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>a</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>b</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>c</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>d</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>text {1:MULTICHOICE_S:=a~%20%b~%-30%c~d}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_autopoints-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_autopoints-moodle.ref
index 5d8f4bd6f74..c31ee8ad13c 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_autopoints-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_autopoints-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[All correct]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>100\% is distributed uniformly. </p>]]></text>
+ <text><![CDATA[<p>100% is distributed uniformly. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -37,7 +37,7 @@
<text><![CDATA[Auto sanction]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Without the star, an error shall be issued because correct answers should sum up to 100\%. </p>]]></text>
+ <text><![CDATA[<p>Without the star, an error shall be issued because correct answers should sum up to 100%. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -61,7 +61,7 @@
<text><![CDATA[All correct but sum \(\geq 100\)]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>A warning shall be issued because correct answers must sum up to 100\%. </p>]]></text>
+ <text><![CDATA[<p>A warning shall be issued because correct answers must sum up to 100%. </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_lua-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_lua-moodle.ref
index ac0d1123b74..4cb53c521f5 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_lua-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_lua-moodle.ref
@@ -13,9 +13,8 @@
<text><![CDATA[Arithmetic Quiz (3, 2)]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Solve the following tasks!<BR/> \(3 + 2 =\){1:NUMERICAL:=5:0}\(3 - 2 =\){1:NUMERICAL:=1:0}\(3 * 2 =\){1:NUMERICAL:=6:0}</p>]]></text>
+ <text><![CDATA[<p>Solve the following tasks!<BR/> \(3 + 2 = \){1:NUMERICAL:=5:0}\(3 - 2 = \){1:NUMERICAL:=1:0}\(3 * 2 = \){1:NUMERICAL:=6:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -28,9 +27,8 @@
<text><![CDATA[Arithmetic Quiz (4, 2)]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 2 =\){1:NUMERICAL:=6:0}\(4 - 2 =\){1:NUMERICAL:=2:0}\(4 * 2 =\){1:NUMERICAL:=8:0}\(4 : 2 =\){1:NUMERICAL:=2:0}</p>]]></text>
+ <text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 2 = \){1:NUMERICAL:=6:0}\(4 - 2 = \){1:NUMERICAL:=2:0}\(4 * 2 = \){1:NUMERICAL:=8:0}\(4 : 2 = \){1:NUMERICAL:=2:0}</p>]]></text>
</questiontext>
- <defaultgrade>4</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -43,9 +41,8 @@
<text><![CDATA[Arithmetic Quiz (4, 3)]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 3 =\){1:NUMERICAL:=7:0}\(4 - 3 =\){1:NUMERICAL:=1:0}\(4 * 3 =\){1:NUMERICAL:=12:0}</p>]]></text>
+ <text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 3 = \){1:NUMERICAL:=7:0}\(4 - 3 = \){1:NUMERICAL:=1:0}\(4 * 3 = \){1:NUMERICAL:=12:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_python-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_python-moodle.ref
index ac0d1123b74..ac6dcaae343 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_python-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_calculated_python-moodle.ref
@@ -15,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(3 + 2 =\){1:NUMERICAL:=5:0}\(3 - 2 =\){1:NUMERICAL:=1:0}\(3 * 2 =\){1:NUMERICAL:=6:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -30,7 +29,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 2 =\){1:NUMERICAL:=6:0}\(4 - 2 =\){1:NUMERICAL:=2:0}\(4 * 2 =\){1:NUMERICAL:=8:0}\(4 : 2 =\){1:NUMERICAL:=2:0}</p>]]></text>
</questiontext>
- <defaultgrade>4</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -45,7 +43,6 @@
<questiontext format="html">
<text><![CDATA[<p>Solve the following tasks!<BR/> \(4 + 3 =\){1:NUMERICAL:=7:0}\(4 - 3 =\){1:NUMERICAL:=1:0}\(4 * 3 =\){1:NUMERICAL:=12:0}</p>]]></text>
</questiontext>
- <defaultgrade>3</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_multi-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_multi-moodle.ref
index 3cfe0c1f3f7..9ef6a1fdabb 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_multi-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_multi-moodle.ref
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<quiz>
<question type="category">
@@ -12,9 +13,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>Regular, single, no shuffle {1:MULTICHOICE:=chip#yes~%10%<I>chop</I>~%-30%<B>chap</B>#no.}</P><P>Vertical, single, no shuffle {1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>Horizontal, single, no shuffle {1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P>Regular, single, shuffle {1:MULTICHOICE_S:=chip~chop#yes~chap#no.}</P><P>Vertical, single, shuffle {1:MULTICHOICE_VS:=chip#yes~%10%chop~chap#no.}</P><P>Horizontal, single, shuffle {1:MULTICHOICE_HS:=chip#yes~chop~chap#no.}</P><P>Regular, multiple, no shuffle {1:MULTIRESPONSE:=chip~=chop#yes~chap#no.}</P><P></P><P>Horizontal, multiple, no shuffle {1:MULTIRESPONSE_H:=chip#yes~=chop~chap#no.}</P><P>Regular, multiple, shuffle {1:MULTIRESPONSE_S:=chip~=chop#yes~chap#no.}Horizontal, multiple, shuffle {1:MULTIRESPONSE_HS:=chip#yes~=chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>Regular, single, no shuffle {1:MULTICHOICE:=chip#yes~%10%<I>chop</I>~%-30%<B>chap</B>#no.}<BR/>Vertical, single, no shuffle {1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>Horizontal, single, no shuffle {1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/>Regular, single, shuffle {1:MULTICHOICE_S:=chip~chop#yes~chap#no.}<BR/>Vertical, single, shuffle {1:MULTICHOICE_VS:=chip#yes~%10%chop~chap#no.}<BR/>Horizontal, single, shuffle {1:MULTICHOICE_HS:=chip#yes~chop~chap#no.}<BR/>Regular, multiple, no shuffle {1:MULTIRESPONSE:=chip~=chop#yes~chap#no.}<BR/><BR/>Horizontal, multiple, no shuffle {1:MULTIRESPONSE_H:=chip#yes~=chop~chap#no.}<BR/>Regular, multiple, shuffle {1:MULTIRESPONSE_S:=chip~=chop#yes~chap#no.}Horizontal, multiple, shuffle {1:MULTIRESPONSE_HS:=chip#yes~=chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_numerical-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_numerical-moodle.ref
index 7e05e9ef63e..d0a7eb67452 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_numerical-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_numerical-moodle.ref
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<quiz>
<question type="category">
@@ -14,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Enter an integer \(n\) such that \(0&lt; n\leq 2\). {1:NUMERICAL:%10%0:0.001#study difference between \(&lt;\) and \(\leq \)~=1:0.01#good!~=2:0.1#OK}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_shortanswer-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_shortanswer-moodle.ref
index 97fd0bf6f63..1e3f3485f39 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_shortanswer-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_cloze_shortanswer-moodle.ref
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<quiz>
<question type="category">
@@ -14,7 +15,6 @@
<questiontext format="html">
<text><![CDATA[<p>Who? {1:SHORTANSWER_C:=chip~%10%chop#yes~%-30%chap#no.}what? {1:SHORTANSWER:=chip~%10%chop#yes~%-30%chap#no.}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_commands-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_commands-moodle.ref
index 3183131dfe7..a1d30f5d952 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_commands-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_commands-moodle.ref
@@ -35,10 +35,10 @@
<text><![CDATA[<p><CODE>typewriter</CODE></p>]]></text>
</answer>
<answer fraction="100" format="html">
- <text><![CDATA[<p><SPAN STYLE=&#34;font-variant: small-caps;&#34;>Small Capitals</SPAN></p>]]></text>
+ <text><![CDATA[<p><SPAN STYLE="font-variant: small-caps;">Small Capitals</SPAN></p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><SPAN STYLE=&#34;text-decoration: underline;&#34;>underlined</SPAN></p>]]></text>
+ <text><![CDATA[<p><SPAN STYLE="text-decoration: underline;">underlined</SPAN></p>]]></text>
</answer>
<answer fraction="0" format="html">
<text><![CDATA[<p>M<SUP>me</SUP></p>]]></text>
@@ -47,10 +47,10 @@
<text><![CDATA[<p>H<SUB>2</SUB>O</p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><A href=&#34;http://192.0.0.256&#34;>http://192.0.0.256</A></p>]]></text>
+ <text><![CDATA[<p><A href="http://192.0.0.256">http://192.0.0.256</A></p>]]></text>
</answer>
<answer fraction="0" format="html">
- <text><![CDATA[<p><A href=&#34;mailto:name@server.com&#34;>Contact me</A></p>]]></text>
+ <text><![CDATA[<p><A href="mailto:name@server.com">Contact me</A></p>]]></text>
</answer>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_environments-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_environments-moodle.ref
index 5eee6a48e41..cb18639d2cd 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_environments-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_environments-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[LaTeX Environments]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p><CENTER><SPAN STYLE=&#34;font-variant: small-caps;&#34;>This is a question</SPAN></CENTER> Select the numbered list </p>]]></text>
+ <text><![CDATA[<p><CENTER><SPAN STYLE="font-variant: small-caps;">This is a question</SPAN></CENTER> Select the numbered list </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_escaping_right_braces_in_cloze-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_escaping_right_braces_in_cloze-moodle.ref
index 2d6f9d99d6a..5fde8567fd1 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_escaping_right_braces_in_cloze-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_escaping_right_braces_in_cloze-moodle.ref
@@ -13,9 +13,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>No escaping here: \(y=a\sqrt {x}/2+{b}\) </P><P>No escaping here: <CODE>text</CODE> \(y=a\sqrt {x}/2+{b}\) {4:MULTICHOICE_V:=\(\lbrace A\rbrace \)~{B\}}</P><P>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:SHORTANSWER:=chip#nip~%10%nop#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}</P><P>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:NUMERICAL:=0:0#nip~%10%1:0#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}</P><P></p>]]></text>
+ <text><![CDATA[<p>No escaping here: \(y=a\sqrt {x}/2+{b}\) <BR/>No escaping here: <CODE>text</CODE> \(y=a\sqrt {x}/2+{b}\) {4:MULTICHOICE_V:=\(\lbrace A\rbrace \)~{B\}}<BR/>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:SHORTANSWER:=chip#nip~%10%nop#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}<BR/>{No escaping here: } \(y=a\sqrt {x}/2+{b}\) {1:NUMERICAL:=0:0#nip~%10%1:0#that must be escaped: \(y=a\sqrt {x\}/2+{b\}\)}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>2</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_essay-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_essay-moodle.ref
index 2caadf5297f..369e0b66387 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_essay-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_essay-moodle.ref
@@ -33,7 +33,7 @@
</ul>
]]></text></graderinfo>
<responsetemplate format="html">
- <text><![CDATA[Type you answer here]]></text>
+ <text><![CDATA[Type your answer here]]></text>
</responsetemplate>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_french-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_french-moodle.ref
index 61895de7164..4a92a0aa6ec 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_french-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_french-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[Test french]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p> <SPAN STYLE=&#34;text-decoration: underline;&#34;>Pangramme</SPAN> conçu par Gilles <SPAN STYLE=&#34;font-variant: small-caps;&#34;>Esposito-Farèse</SPAN>:</p>]]></text>
+ <text><![CDATA[<p> <SPAN STYLE="text-decoration: underline;">Pangramme</SPAN> conçu par Gilles <SPAN STYLE="font-variant: small-caps;">Esposito-Farèse</SPAN>:</p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html">
@@ -26,7 +26,7 @@
<answernumbering>abc</answernumbering>
<answer fraction="100" format="html">
<text><![CDATA[<p>Dès Noël où un zéphyr haï me vêt de glaçons würmiens je dîne d’exquis rôtis de bœuf au kir à l’aÿ d’âge mûr & cætera&#8239;!</p>]]></text>
- <feedback format="html"><text><![CDATA[<p>cité dans &laquo;&#8239;<A href=&#34;https://jacques-andre.fr/faqtypo/lessons.pdf&#34;>Petites leçons de typographie</A>&#8239;&raquo; de Jacques <SPAN STYLE=&#34;font-variant: small-caps;&#34;>André</SPAN>.</p>]]></text></feedback>
+ <feedback format="html"><text><![CDATA[<p>cité dans &laquo;&#8239;<A href="https://jacques-andre.fr/faqtypo/lessons.pdf">Petites leçons de typographie</A>&#8239;&raquo; de Jacques <SPAN STYLE="font-variant: small-caps;">André</SPAN>.</p>]]></text></feedback>
</answer>
<answer fraction="0" format="html">
<text><![CDATA[<p>Portez ce vieux whisky au juge blond qui fume.</p>]]></text>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_generalfeedback-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_generalfeedback-moodle.ref
index b4ded056bc5..49bbe689bf6 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_generalfeedback-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_generalfeedback-moodle.ref
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<quiz>
<question type="category">
@@ -102,11 +103,11 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>&aelig;</p>]]></text>
- <answer><text>oui</text></answer>
+ <answer><text>oui </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>&oelig;</p>]]></text>
- <answer><text>non</text></answer>
+ <answer><text>non </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -144,9 +145,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html">
<text><![CDATA[<p>54</p>]]></text>
</generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_german-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_german-moodle.ref
new file mode 100644
index 00000000000..c43f9dd2847
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_german-moodle.ref
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/German Issues</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Test German]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p> <SPAN STYLE="text-decoration: underline;">Pangramm</SPAN> :</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>„Fix, Schwyz!“, quäkt Jürgen blöd vom Paß.</p>]]></text>
+ <feedback format="html"><text><![CDATA[<p></p>]]></text></feedback>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>Wie schon Carl-Friedrich Gauß sagte: „Nicht alles Üble in Österreich ist österreichischer Herkunft – aber manches, was als ‚übel‘ empfunden wird, könnte durch entsprechende Änderungen zum Guten verändert werden“.</p>]]></text>
+ </answer>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_handout-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_handout-moodle.ref
index f6bf07339ce..d9a6a1fd097 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_handout-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_handout-moodle.ref
@@ -263,15 +263,15 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>A</p>]]></text>
- <answer format="html"><text><![CDATA[<p>1</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>1 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>B</p>]]></text>
- <answer format="html"><text><![CDATA[<p>2</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>2 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>C</p>]]></text>
- <answer format="html"><text><![CDATA[<p>3</p>]]></text></answer>
+ <answer format="html"><text><![CDATA[<p>3 </p>]]></text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -297,15 +297,15 @@
<shuffleanswers>0</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>A</p>]]></text>
- <answer><text>1</text></answer>
+ <answer><text>1 </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>B</p>]]></text>
- <answer><text>2</text></answer>
+ <answer><text>2 </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>C</p>]]></text>
- <answer><text>3</text></answer>
+ <answer><text>3 </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -320,9 +320,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p></P><P>Question text {1:MULTICHOICE_H:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_V:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_HS:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_VS:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:MULTICHOICE_S:=A#AAA~%10%B#BBB~C#CCC}</P><P>Question text {1:NUMERICAL:=1:1#1~3:1#3}</P><P>Question text {1:SHORTANSWER:=aaa#1~bbb#3}</P><P></p>]]></text>
+ <text><![CDATA[<p><BR/>Question text {1:MULTICHOICE_H:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_V:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_HS:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_VS:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:MULTICHOICE_S:=A#AAA~%10%B#BBB~C#CCC}<BR/>Question text {1:NUMERICAL:=1:1#1~3:1#3}<BR/>Question text {1:SHORTANSWER:=aaa#1~bbb#3}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html">
<text><![CDATA[<p>General feedback</p>]]></text>
</generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_htmlonly-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_htmlonly-moodle.ref
new file mode 100644
index 00000000000..437ba5ab122
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_htmlonly-moodle.ref
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/HTML Only</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[HTML code]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A <a href="www.com">$_`'</a> </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p><div style="border: 1px solid green; display: inline-block;">HTML contents</div></p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>C</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>D</p>]]></text>
+ </answer>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_macros-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_macros-moodle.ref
index a87551d8fd8..77047c0bc75 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_macros-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_macros-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[LaTeX Macros]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>The following commands should not be placed in items: <BR/> and </P><P>Find the \(\rm\LaTeX\) logo </p>]]></text>
+ <text><![CDATA[<p>The following commands should not be placed in items: <BR/> and <BR/>Find the \(\rm\LaTeX\) logo </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_math-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_math-moodle.ref
new file mode 100644
index 00000000000..9625ae49a7f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_math-moodle.ref
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Math Notations</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Derivative]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>\[\frac {\partial ^{3} f}{\partial ^{3} x}(x).\] </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>\(f&rsquo;(x)\)</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>\(f&rsquo;&rsquo;(x)\)</p>]]></text>
+ </answer>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>\(f&rsquo;&rsquo;&rsquo;(x)\)</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Other derivatives]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>\[\frac {\partial ^{2} g}{\partial ^{2} t}(t).\] {1:MULTICHOICE_VS:\(g&rsquo;(t)\)~=\(g&rsquo;&rsquo;(t)\)~\(g&rsquo;&rsquo;&rsquo;(t)\)}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_mathenv-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_mathenv-moodle.ref
index a4e53f8f971..e70f3155a87 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_mathenv-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_mathenv-moodle.ref
@@ -13,7 +13,7 @@
<text><![CDATA[Multiple Choice]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\(\begin {array}{c}$1\\2\end {array}\) </p>]]></text>
+ <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\(\begin {array}{c}$1\\2\end {array}\) </p>]]></text>
</questiontext>
<defaultgrade>1.0</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -41,9 +41,8 @@
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\[\begin {array}{c}$1\\2\end {array}\] </P><P>\(\begin {array}{c}$1\\2\end {array}\) {1:MULTICHOICE_VS:=\($\sqrt {25\}\)~6~=7#\[$\sqrt {25\}\]~%10%8}</p>]]></text>
+ <text><![CDATA[<p>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\[\begin {array}{c}$1\\2\end {array}\] <BR/>\(\begin {array}{c}$1\\2\end {array}\) {1:MULTICHOICE_VS:=\($\sqrt {25\}\)~6~=7#\[$\sqrt {25\}\]~%10%8}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_paragraph_breaks-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_paragraph_breaks-moodle.ref
new file mode 100644
index 00000000000..dfe5e349d8f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_paragraph_breaks-moodle.ref
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Paragraph Breaks</text>
+ </category>
+</question>
+
+<question type="multichoice">
+ <name format="html">
+ <text><![CDATA[Multi]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A </p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <single>true</single>
+ <shuffleanswers>1</shuffleanswers>
+ <answernumbering>abc</answernumbering>
+ <answer fraction="100" format="html">
+ <text><![CDATA[<p>B <BR/>C</p>]]></text>
+ </answer>
+ <answer fraction="0" format="html">
+ <text><![CDATA[<p>D</p>]]></text>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Close-multi]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A {1:MULTICHOICE_VS:=B <BR/>C~D}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+<question type="essay">
+ <name format="html">
+ <text><![CDATA[Essay]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>A </p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <responserequired>0</responserequired>
+ <responseformat>editor</responseformat>
+ <responsefieldlines>15</responsefieldlines>
+ <attachments>0</attachments>
+ <attachmentsrequired>0</attachmentsrequired>
+ <graderinfo format="html"><text><![CDATA[
+ <ul>
+ <li>B <BR/>C </li>
+ <li>D</li>
+ </ul>
+ ]]></text></graderinfo>
+ <responsetemplate format="html"><text/></responsetemplate>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_shortanswer-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_shortanswer-moodle.ref
new file mode 100644
index 00000000000..47d59f63626
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_shortanswer-moodle.ref
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<quiz>
+
+<question type="category">
+ <category>
+ <text>$course$/top/Example Quiz</text>
+ </category>
+</question>
+
+<question type="shortanswer">
+ <name format="html">
+ <text><![CDATA[Short Answer]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Enter the string <CODE>&rdquo;40%&rdquo;</CODE>. </p>]]></text>
+ </questiontext>
+ <defaultgrade>1.0</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <usecase>0</usecase>
+ <answer fraction="100" format="plain_text">
+ <text>40%</text>
+ <feedback format="html"><text><![CDATA[<p>correct \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+ <answer fraction="50" format="plain_text">
+ <text>40</text>
+ <feedback format="html"><text><![CDATA[<p>incomplete \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+ <answer fraction="50" format="plain_text">
+ <text>%</text>
+ <feedback format="html"><text><![CDATA[<p>incomplete \((1+\sqrt {5})/2\)</p>]]></text></feedback>
+ </answer>
+</question>
+<question type="cloze">
+ <name format="html">
+ <text><![CDATA[Short Answer in Cloze]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Enter the string <CODE>&rdquo;40%&rdquo;</CODE>. {1:SHORTANSWER:=40%#correct \((1+\sqrt {5\})/2\)~%50%40#incomplete \((1+\sqrt {5\})/2\)~%50%%#incomplete \((1+\sqrt {5\})/2\)}</p>]]></text>
+ </questiontext>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+</question>
+
+</quiz>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_special_characters-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_special_characters-moodle.ref
index 6df44274c1c..38939cbed40 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_special_characters-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_special_characters-moodle.ref
@@ -10,10 +10,10 @@
<question type="multichoice">
<name format="html">
- <text><![CDATA[Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž ]]></text>
+ <text><![CDATA[Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ą Ę Į Ǫ Ų Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž ]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž <BR/> Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž <BR/> œ æ ß Œ Æ ẞ Ø Ł « ø ł » ¿ ¡ </p>]]></text>
+ <text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ą ę į ǫ ų ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž <BR/> Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ą Ę Į Ǫ Ų Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž <BR/> œ æ ß Œ Æ ẞ Ø Ł « ø ł » ¿ ¡ </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -23,20 +23,20 @@
<shuffleanswers>1</shuffleanswers>
<answernumbering>abc</answernumbering>
<answer fraction="0" format="html">
- <text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž </p>]]></text></feedback>
+ <text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ą ę į ǫ ų ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ą Ę Į Ǫ Ų Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž </p>]]></text></feedback>
</answer>
<answer fraction="100" format="html">
- <text><![CDATA[<p>Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž </p>]]></text></feedback>
+ <text><![CDATA[<p>Å À Â Ã É È Ë Ê Î Ï Ñ Õ Ô Ö Ù Ü Û Ç Ş Ţ Ő Ű Ÿ Ą Ę Į Ǫ Ų Ă Ĕ Ğ Ĭ Ŏ Ŭ Č Ď Ě Ľ Ň Ř Š Ť Ž </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>å à â ã é è ë ê î ï ñ õ ô ö ù ü û ç ş ţ ő ű ÿ ą ę į ǫ ų ă ĕ ğ ĭ ŏ ŭ č ď ě ľ ň ř š ť ž </p>]]></text></feedback>
</answer>
</question>
<question type="multichoice">
<name format="html">
- <text><![CDATA[&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; ]]></text>
+ <text><![CDATA[&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; ]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; <BR/> &Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; <BR/> &oelig; &aelig; &szlig; &OElig; &AElig; &#7838; &Oslash; &Lstrok; &laquo;&#8239; &oslash; &lstrok; &#8239;&raquo; &iquest; &iexcl; </p>]]></text>
+ <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; <BR/> &Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; <BR/> &oelig; &aelig; &szlig; &OElig; &AElig; &#7838; &Oslash; &Lstrok; &laquo;&#8239; &oslash; &lstrok; &#8239;&raquo; &iquest; &iexcl; </p>]]></text>
</questiontext>
<defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
@@ -46,12 +46,12 @@
<shuffleanswers>1</shuffleanswers>
<answernumbering>abc</answernumbering>
<answer fraction="0" format="html">
- <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text></feedback>
+ <text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text></feedback>
</answer>
<answer fraction="100" format="html">
- <text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text>
- <feedback format="html"><text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text></feedback>
+ <text><![CDATA[<p>&Aring; &Agrave; &Acirc; &Atilde; &Eacute; &Egrave; &Euml; &Ecirc; &Icirc; &Iuml; &Ntilde; &Otilde; &Ouml; &Ocirc; &Ugrave; &Uuml; &Ucirc; &Ccedil; &#350; &#354; &#336; &#368; &Yuml; &Aogon; &Eogon; &Iogon; &#490; &Uogon; &Abreve; &#276; &Gbreve; &#300; &#334; &Ubreve; &Ccaron; &Dcaron; &Ecaron; &Lcaron; &Ncaron; &Rcaron; &Scaron; &Tcaron; &Zcaron; </p>]]></text>
+ <feedback format="html"><text><![CDATA[<p>&aring; &agrave; &acirc; &atilde; &eacute; &egrave; &euml; &ecirc; &icirc; &iuml; &ntilde; &otilde; &ouml; &ocirc; &ugrave; &uuml; &ucirc; &ccedil; &#351; &#355; &#337; &#369; &yuml; &aogon; &eogon; &iogon; &#491; &uogon; &abreve; &#277; &gbreve; &#301; &#301; &#335; &ubreve; &ccaron; &dcaron; &ecaron; &lcaron; &ncaron; &rcaron; &scaron; &tcaron; &zcaron; </p>]]></text></feedback>
</answer>
</question>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tags-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tags-moodle.ref
index cb8af5edc68..ad3e2404094 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tags-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tags-moodle.ref
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<quiz>
<question type="category">
@@ -31,6 +32,7 @@
</answer>
<tags>
<tag><text><![CDATA[multiéàî]]></text></tag>
+ <tag><text><![CDATA[&Aring;&aelig;&oelig;]]></text></tag>
</tags>
</question>
<question type="shortanswer">
@@ -58,6 +60,8 @@
</answer>
<tags>
<tag><text><![CDATA[quizz-level]]></text></tag>
+ <tag><text><![CDATA[ leading whitespace]]></text></tag>
+ <tag><text><![CDATA[with, comma]]></text></tag>
</tags>
</question>
<question type="numerical">
@@ -100,11 +104,11 @@
<shuffleanswers>1</shuffleanswers>
<subquestion format="html">
<text><![CDATA[<p>&aelig;</p>]]></text>
- <answer><text>oui</text></answer>
+ <answer><text>oui </text></answer>
</subquestion>
<subquestion format="html">
<text><![CDATA[<p>&oelig;</p>]]></text>
- <answer><text>non</text></answer>
+ <answer><text>non </text></answer>
</subquestion>
<subquestion format="html">
<text></text>
@@ -141,14 +145,50 @@
<tag><text><![CDATA[essay]]></text></tag>
</tags>
</question>
+<question type="description">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>Text</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>0.10</penalty>
+ <hidden>0</hidden>
+ <tags>
+ <tag><text><![CDATA[desc]]></text></tag>
+ </tags>
+</question>
+<question type="truefalse">
+ <name format="html">
+ <text><![CDATA[Title]]></text>
+ </name>
+ <questiontext format="html">
+ <text><![CDATA[<p>&Aring;</p>]]></text>
+ </questiontext>
+ <defaultgrade>1</defaultgrade>
+ <generalfeedback format="html"><text/></generalfeedback>
+ <penalty>1</penalty>
+ <hidden>0</hidden>
+ <answer fraction="100" format="plain_text">
+ <text>true</text>
+ <feedback format="html"><text><![CDATA[<p> &aelig;yo </p>]]></text></feedback>
+ </answer>
+ <answer fraction="0" format="plain_text">
+ <text>false</text>
+ </answer>
+ <tags>
+ <tag><text><![CDATA[TF]]></text></tag>
+ </tags>
+</question>
<question type="cloze">
<name format="html">
<text><![CDATA[Cloze]]></text>
</name>
<questiontext format="html">
- <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}</P><P>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}</P><P></p>]]></text>
+ <text><![CDATA[<p>&Aring;&OElig;{1:MULTICHOICE:=chip~%10%chop#yes~chap#no.}&#8239;&raquo;&Aring;{1:SHORTANSWER:=B#toc~=C#&laquo;&#8239;&#8239;&raquo;~*}&laquo;&#8239;&Aring;{1:NUMERICAL:=1:0~=2:0#&laquo;&#8239;&#8239;&raquo;~3:0}&OElig;{1:MULTICHOICE_V:=chip#yes~%10%chop~chap#no.}<BR/>&OElig;{1:MULTICHOICE_H:=chip#yes~%10%chop~chap#no.}<BR/></p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz-moodle.ref
index 48d857aeae0..7f7529784f4 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz-moodle.ref
@@ -199,7 +199,7 @@ XhgAAABTSURBVAjXY2DABNMc3QMYGN69ewFk7+hQAJILwOIQcklFIZC8xpADlHBg4AYLcjxiYHFg
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
3e5GKvWZAAAAUElEQVQI12NgwAAREGolmGT8CqbYHoAprglgSl8BTHVCVFwCUxwNYMobTDNe5CsA
UtIG9gZAzinHOiCHOyTzThpYzQsHEMn8Gcxhf4CsHQQAyX8PqblssX8AAAAASUVORK5CYII=
-">}</P><P><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAHlBMVEX///8AAAAAAAAAAAAAAAAA
+">}<BR/><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAHlBMVEX///8AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAACGjDitAAAACXRSTlMAESJEiJm7zO6nttlqAAAAIklEQVQI12NgwAlEgJjJ
tRJIMhp4gkXIJAWARFpnmQOmFQA1jwXeV/vvCgAAAABJRU5ErkJggg==
"> {1:SHORTANSWER:=3#<IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVBAMAAABiXgn+AAAALVBMVEX///8AAAAAAAAAAAAAAAAA
@@ -211,7 +211,7 @@ TkSuQmCC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
3e5GKvWZAAAAUElEQVQI12NgwAAREGolmGT8CqbYHoAprglgSl8BTHVCVFwCUxwNYMobTDNe5CsA
UtIG9gZAzinHOiCHOyTzThpYzQsHEMn8Gcxhf4CsHQQAyX8PqblssX8AAAAASUVORK5CYII=
-">}</P><P><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAHlBMVEX///8AAAAAAAAAAAAAAAAA
+">}<BR/><IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAVBAMAAACNnGLAAAAAHlBMVEX///8AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAACGjDitAAAACXRSTlMAESJEiJm7zO6nttlqAAAAIklEQVQI12NgwAlEgJjJ
tRJIMhp4gkXIJAWARFpnmQOmFQA1jwXeV/vvCgAAAABJRU5ErkJggg==
"> {1:NUMERICAL:=3:0#<IMG SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVBAMAAABiXgn+AAAALVBMVEX///8AAAAAAAAAAAAAAAAA
@@ -225,7 +225,6 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM
UtIG9gZAzinHOiCHOyTzThpYzQsHEMn8Gcxhf4CsHQQAyX8PqblssX8AAAAASUVORK5CYII=
">}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz_with_svg-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz_with_svg-moodle.ref
index 065da7b2f81..86a59ce2b01 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz_with_svg-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tikz_with_svg-moodle.ref
@@ -319,7 +319,7 @@ YW5zZm9ybT0ibWF0cml4KDEsMCwwLC0xLDAsMi42MykiIGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFt
aWx5PSJMTVJvbWFuMTAiIGZvbnQtc2l6ZT0iOS45NjI2cHgiIGZvbnQtc3R5bGU9Iml0YWxpYyI+
PHRzcGFuIHg9IjAiIHk9IjAiPjQ8L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+
Cg==
-">}</P><P><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NDEz
+">}<BR/><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NDEz
IiBoZWlnaHQ9IjEzLjI4NCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNi42NDEzIDEzLjI4
NCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Zn
Ij48ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMgMCAwIC0xLjMzMzMgMCAxMy4yODQpIj48ZyB0
@@ -348,7 +348,7 @@ YW5zZm9ybT0ibWF0cml4KDEsMCwwLC0xLDAsMi42MykiIGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFt
aWx5PSJMTVJvbWFuMTAiIGZvbnQtc2l6ZT0iOS45NjI2cHgiIGZvbnQtc3R5bGU9Iml0YWxpYyI+
PHRzcGFuIHg9IjAiIHk9IjAiPjQ8L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+
Cg==
-">}</P><P><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NDEz
+">}<BR/><IMG SRC="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNi42NDEz
IiBoZWlnaHQ9IjEzLjI4NCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNi42NDEzIDEzLjI4
NCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Zn
Ij48ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMgMCAwIC0xLjMzMzMgMCAxMy4yODQpIj48ZyB0
@@ -379,7 +379,6 @@ PHRzcGFuIHg9IjAiIHk9IjAiPjQ8L3RzcGFuPjwvdGV4dD48L2c+PC9nPjwvZz48L2c+PC9zdmc+
Cg==
">}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
diff --git a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tolerance-moodle.ref b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tolerance-moodle.ref
index beed570d8c0..4472ab9ca06 100644
--- a/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tolerance-moodle.ref
+++ b/Master/texmf-dist/doc/latex/moodle/test/utf8ref/test_tolerance-moodle.ref
@@ -63,7 +63,6 @@
<questiontext format="html">
<text><![CDATA[<p>Give a number {1:NUMERICAL:=1:4~=0:3~*#nope}Give a number {1:NUMERICAL:=1:4~=0:2~*#nope}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>
@@ -75,7 +74,6 @@
<questiontext format="html">
<text><![CDATA[<p>Give a number {1:NUMERICAL:=1,45e-3:1,65E-4~=0:0~*#nope}</p>]]></text>
</questiontext>
- <defaultgrade>1</defaultgrade>
<generalfeedback format="html"><text/></generalfeedback>
<penalty>0.10</penalty>
<hidden>0</hidden>