to work with Books4Languages WebTextBook
More detailed information can be found here: https://guide.pressbooks.com/chapter/what-is-a-webbook/
To understand what a WebTextBook is, you first need to know that Books4Languages extends PressBooks and WordPress, a popular open source content management system used to publish content to the public web. Books4Languages transforms them, however, so that instead of publishing a site made up of ‘posts’ and ‘pages’ as you would in traditional WordPress, you’re publishing a WebTextBook. This means that each book you create with Books4Languages is a new website. Your textbook-website may live on the same Books4Languages network with hundreds, or even hundreds of thousands of other textbook-websites. No matter what format of textbook you’re creating, each of your chapters starts out as something like a ‘blog post’ or ‘page’ on a website. With a little code magic, Books4Languages then transforms those ‘blog posts’ into the book formats you’re familiar with.
With the WebTextBook, the end result will resemble what you might see on a WordPress blog, but organized and presented in a way that invites readers to navigate the like a book. Each ‘post’ in your book – front matter, chapter, or back matter – becomes its own webpage. Readers can scroll down the webpage to read the entire chapter’s content, or they can use the navigation arrows attached to the bottom of the page to navigate backward or forward to another chapter. The reading interface for each page also includes a dropdown table of contents, like you may find in an ebook. To access the book, your reader just needs to have the link to where it lives Books4Languages network.
Just like in traditional textbook formats, ‘posts’ can be nested in a way that lets you divide your textbook up for your readers. Subsections can be nested under chapters, and chapters can be nested under organizational units we call parts. If a part contains content, it will display as its own webpage in the webtextbook format. Otherwise, it only divides the information in the table of contents. Subsections of a chapter will all be included on the same chapter webpage.