qformat qtex: Różnice pomiędzy wersjami

Z MoodleDocs
Skocz do:nawigacja, szukaj
(Filled with content)
(→‎Prerequisites: mentioned mathjax filter)
 
(Nie pokazano 3 pośrednich wersji utworzonych przez tego samego użytkownika)
Linia 11: Linia 11:
== QuestionTeX ==
== QuestionTeX ==


QuestionTeX is a collection of LaTeX macros that enables authors  
QuestionTeX is a collection of LaTeX macros that enables authors to create multiple-choice tests.
to create multiple-choice tests.
The QuestionTeX package and its documentation can be found on


  https://github.com/leoteo/moodle-qformat_qtex/releases
* Download: https://github.com/leoteo/moodle-qformat_qtex/releases
* Documentation: https://github.com/leoteo/moodle-qformat_qtex/blob/master/questiontex/questiontex.pdf?raw=true
* Further info (German): http://www.lemuren.math.ethz.ch/coursesupport/multiplechoice


Further documentation and examples are available on
Please note that the QuestionTeX syntax has undergone several revisions over the last few years. Many pages on lemuren.math.ethz.ch may be outdated, e.g. using \input{macros.tex} instead of \usepackage{questiontex}, using additional macros etc. These pages should be updated over time - please be patient.
 
    http://www.lemuren.math.ethz.ch/coursesupport/multiplechoice
    http://www.lemuren.math.ethz.ch/projects/texweb/texweb_mc


== QuestionTeX for Moodle ==
== QuestionTeX for Moodle ==
Linia 27: Linia 24:
QuestionTeX directly into the Moodle LMS. Export from Moodle to QuestionTeX
QuestionTeX directly into the Moodle LMS. Export from Moodle to QuestionTeX
is also possible.
is also possible.
== Installation instructions ==


=== Prerequisites ===
=== Prerequisites ===
Linia 34: Linia 29:
* For the convenient installation through the Moodle admin interface, the web server needs write permissions to the $moodle_root/question/format directory.  
* For the convenient installation through the Moodle admin interface, the web server needs write permissions to the $moodle_root/question/format directory.  
* For manual installation (or if your Moodle version is < 2.5), copy the folder "qtex" to $moodle_root/question/format. Then, in the admin panel purge the Plugin list on Site Administration -> Plugins -> Caching -> Configuration
* For manual installation (or if your Moodle version is < 2.5), copy the folder "qtex" to $moodle_root/question/format. Then, in the admin panel purge the Plugin list on Site Administration -> Plugins -> Caching -> Configuration
* A configured and enabled TeX Notation filter is required to render the formulae. See https://docs.moodle.org/2x/pl/TeX_notation_filter for instructions.
* A configured and enabled TeX Notation filter is required to render the formulae (see https://docs.moodle.org/2x/pl/TeX_notation_filter for instructions). Consider in particular the MathJax filter https://github.com/oohoo/moodle-filter_mathjax
* Handling of images requires PHP's zip extension to be enabled
* Handling of images requires PHP's zip extension to be enabled


Linia 46: Linia 41:
The QuestionTeX format should now appear in question export/import dialogues.
The QuestionTeX format should now appear in question export/import dialogues.


Hints:
=== Hints ===
* In order to improve vertical alignment of images, add the following css to your theme: .texrender {border:0px;vertical-align:middle;}
* In order to improve vertical alignment of images, add the following css to your theme: .texrender {border:0px;vertical-align:middle;}
* If you are looking for some QuestionTeX examples to test the import, check out the qtex/examples folder in the archive.
* If you are looking for some QuestionTeX examples to test the import, check out the qtex/examples folder in the archive.

Aktualna wersja na dzień 08:49, 29 mar 2014

qformat qtex
Type Question format
Set N/A
Downloads https://moodle.org/plugins/view.php?plugin=qformat_qtex
Issues https://github.com/leoteo/moodle-qformat_qtex/issues
Discussion Enter the link to the forum or discussion thread
Maintainer(s) Leopold Talirz


QuestionTeX

QuestionTeX is a collection of LaTeX macros that enables authors to create multiple-choice tests.

Please note that the QuestionTeX syntax has undergone several revisions over the last few years. Many pages on lemuren.math.ethz.ch may be outdated, e.g. using \input{macros.tex} instead of \usepackage{questiontex}, using additional macros etc. These pages should be updated over time - please be patient.

QuestionTeX for Moodle

The QuestionTeX plugin for Moodle enables the import of questions written in QuestionTeX directly into the Moodle LMS. Export from Moodle to QuestionTeX is also possible.

Prerequisites

  • For the convenient installation through the Moodle admin interface, the web server needs write permissions to the $moodle_root/question/format directory.
  • For manual installation (or if your Moodle version is < 2.5), copy the folder "qtex" to $moodle_root/question/format. Then, in the admin panel purge the Plugin list on Site Administration -> Plugins -> Caching -> Configuration
  • A configured and enabled TeX Notation filter is required to render the formulae (see https://docs.moodle.org/2x/pl/TeX_notation_filter for instructions). Consider in particular the MathJax filter https://github.com/oohoo/moodle-filter_mathjax
  • Handling of images requires PHP's zip extension to be enabled

Installation

Following the standard procedure for installing add-ons,

The QuestionTeX format should now appear in question export/import dialogues.

Hints

  • In order to improve vertical alignment of images, add the following css to your theme: .texrender {border:0px;vertical-align:middle;}
  • If you are looking for some QuestionTeX examples to test the import, check out the qtex/examples folder in the archive.


This plugin has been written in the LEMUREN project at ETH Zurich.