Skip to main content

The PreTeXt Guide

Chapter 38 WeBWorK Exercises

You can embed WeBWorK exercises in your PreTeXt project. This requires using a webwork2 server that is version 2.16 or later. The server could be the AIM WeBWorK server that has been set up for this purpose, so to get started, there is no need to establish your own webwork2 server.
Part of the process can optionally be sped up by using a local copy of the pg repository.
PDF and other static output formats will display static versions. HTML output can have interactive exercises or display problems in static form. If the HTML book is hosted on Runestone, reader interactions can be recorded so that scores can be given to students.
All such exercises can be archived into a file tree to be uploaded onto a webwork2 server for use in the “traditional” way.
See Chapter 7 for how to include or create WeBWorK problems in your source.