This document details the Bookreader's design, focusing on its terminology and the routines required for an authoring tool to interface with it through the Book Writer Interface (BWI). A "book" is composed of "topics," which are collections of information further broken down into "data chunks."
Key types of data chunks include:
The BWI provides a structured set of routines for building a book, typically following this sequence:
bwi_book_create).bwi_book_copyright) or set the first topic to be displayed (bwi_book_first_topic).bwi_book_license, bwi_book_license_alt), define the book's title (bwi_book_title), and symbolic name (bwi_book_symbol).bwi_book_font).bwi_topic_create), populate them with addressable data chunks (bwi_topic_data_chunk), and add non-addressable subchunks (bwi_topic_data_subchunk). Rectangular (bwi_topic_extension_rect, bwi_topic_reference_rect) and polygonal (bwi_topic_extension_poly, bwi_topic_reference_poly) extensions and references can also be defined. Symbolic names can be assigned to chunks (bwi_symbol_define).bwi_topic_close).bwi_directory_create) and add entries to them (bwi_directory_entry).bwi_directory_close).bwi_book_close) or abort the build in case of errors (bwi_book_abort).Chapter 2 of the document provides detailed descriptions for each BWI routine, outlining their formats, arguments, and return values.
Site structure and layout ©2025 Majenko Technologies