Users on PressbooksEDU networks can enable source comparison on cloned books so that readers can view the difference between the source book and the cloned book. This is a useful tool for researchers, faculty, and others who want to see the modifications that have made to a book across its iterations. This feature was made with open education users in mind.
Enable Source Comparison on a Webbook
The source comparison tool must be enabled on the book level. A book must have been cloned from another openly licensed Pressbooks webbook in order for this feature to be available. To enable source comparison on your cloned book, follow these steps:
- Click on Appearance
- Click on Theme Options
- Select the Web Options tab at the top of the page
- Scroll down to Enable Source Comparison and click the box next to “Add comparison tool to the end of each front matter, part, chapter, and back matter”
- Click Save Changes
The Comparison Tool on Your Webbook
After you’ve enabled source comparison on your cloned book using the instructions above, you can view the comparison tool on any chapter of your webbook.
The SHOW COMPARISON WITH ORIGINAL button will be at the bottom of every chapter webpage. It is preceded by the statement, “This chapter is adapted from [Book Part] in [Book Title] by [Book Author].”
Readers can click the button to view the source comparison. The text displays in HTML form. All elements highlighted in green are additions to the source text. All elements highlighted in red are deletions from the source text.
The source comparison will show differences in markup as well as differences in text. For example, if the source book had headings tagged as Heading 1, but the new book had chosen to retag those headings as Heading 2s, this change will be evident in the source comparison.
Readers can see the number of additions and deletions, as well as the their location in the text. The comparison content is contained in a scrollable textbox to limit page length.
Click the SHOW COMPARISON WITH ORIGINAL button again to minimize the source comparison textbox.
For more information on book cloning on your PressbooksEDU network, check out the Book Cloning chapter.