Section 44.8 WeBWorK Options
A WeBWorK host course on a WeBWorK server somewhere does the processing of a project’s
<webwork>
elements. These are the details needed to specify where that course is and how PreTeXt will access it. These are discussed again in Subsection 38.4.1.
See Subsection 44.4.5 for publisher file attributes that control WeBWorK’s dynamic behavior in HTML.
Subsection 44.8.1 Server
The URL to the WeBWorK server is in the attribute
/publication/webwork/@server
should include the protocol (e.g.
http
or https
) and not include a trailing slash. The server should be version 2.16 or later.Subsection 44.8.2 Course
Subsection 44.8.3 User
The username that signs in to the host course to process exercises is in the attribute
/publication/webwork/@user
Subsection 44.8.4 Password
A password (for the host user in the host course) is in the attribute
/publication/webwork/@password
Subsection 44.8.5 Task Reveal
The
/publication/webwork/@task-reveal
attribute is used to control how tasks in a multi-task exercise are made available to the reader. This applies to live interactive renderings of the exercises, either in HTML, in WeBWorK, or otherwise. Possible values are:
-
preceding-correct
(all preceding tasks must be correctly answered before the next is available) -
all
(all tasks are available)