Forum: support


RE: Formatting of cloze question [ Reply ] By: Mario Zacarés on 2016-10-06 10:20 | [forum:43539] |
Thank you very much for your quick reply. Now it works great! |
RE: Formatting of cloze question [ Reply ] By: Achim Zeileis on 2016-10-05 22:58 | [forum:43538]![]() |
Mario, thanks for your e-mail. This occurs with numeric cloze items and only for the tth/ttm converters and not for pandoc. However, it was easy to add a workaround to avoid this also in the former case. If you install the current development version from R-Forge install.packages("exams", repos = "http://R-Forge.R-project.org") and then use the attached example .Rnw file: exams2html("units.Rnw") exams2moodle("units.Rnw", name = "units") both should work as expected I hope. |
Formatting of cloze question [ Reply ] By: Mario Zacarés on 2016-10-05 16:24 | [forum:43537] |
First of all I would like to thank you for your work. This library is very flexible and useful and it has become an essential tool for my teaching I am preparing a cloze-type exercise with single choice and numeric type answers. The problem arises with the formatting of the numeric answer. When I export the question to html or xml formats a new paragraph is always inserted after the answer. Let me give you and example with a short piece of the code: The velocity is ##ANSWER1## m/s In html format, the text after the answer (in this case “m/s”) is inserted in a new line below the rest of the sentence but I would like to show it in the same line. I only have this problem with html and xml formats. The pdf driver works well. Could you give me any hint about how to solve it? Thanks in advance. |