Skip to main content

Chapter 10 About This Reference

This Basics Reference supplements the more formal documentation in other parts of The Guide. Here you will find the basics of the most important and commonly used PreTeXt elements. In most instances, this will be exhibited by showing a chunk of PreTeXt code in a numbered Listing followed immediately by the exact output that PreTeXt code produces. (In some cases, such as with the code that produces a section, it is not practical to do this.) Wherever possible, the sample code and its output are accompanied by cross-references to the Author's Guide in Part II.

There are some things that are considered beyond the scope of this reference:

  • Many of the possible options that can be used with the different tags. This is a basic reference, and so we want to keep things simple. When you need a more advanced feature not discussed here, follow the link to the Author's Guide. We welcome contributions of intermediate examples to this Basics Reference, but the initial goal is not to be comprehensive in adding such examples.

  • Instructions on converting your PreTeXt XML to another format such as HTML or .

  • Instructions on using WeBWorK in PreTeXt. (This reference does show the most basic of syntax for including a problem from the WeBWorK Open Problem Library. However, it assumes that you already have a project set up to compile correctly with WeBWorK problems, which is an involved task.)