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.14 or later.Subsection 44.8.2 Course
The name of the host course is in the attribute
/publication/webwork/@course
Subsection 44.8.3 Course Password
A course password (distinct from a user password) is in the attribute
/publication/webwork/@coursepassword
Subsection 44.8.4 User
The username that signs in to the host course to process exercises is in the attribute
/publication/webwork/@user
Subsection 44.8.5 User Password
That user’s password is in the attribute
/publication/webwork/@userpassword
Subsection 44.8.6 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)