Book Configuration

Book-wide settings live in book.conf . Chapter order lives in book.manifest . Per-chapter author, date, and copyright live in the RST field list (see Markup Reference ). Build invocation ( --format , --targetDir ) stays on the command line.

How the file is found

  1. --config=FILE if you pass it (the file must exist).

  2. Otherwise book.conf in the same directory as the manifest.

  3. If that file is missing, uscribe continues with CLI values and built-in defaults.

With the usual defaults ( book.manifest in the current directory), a book directory only needs:

uscribe --targetDir=./out

File format

One key: value per line. Keys are case-insensitive. Blank lines and # comments are ignored. A leading colon on the key is allowed ( :title: ), so the file can look like an RST field list if you prefer.

Unknown keys print a warning on standard error and are ignored. Values do not wrap to the next line.

logo and themePath are paths. Relative paths are resolved against the directory that contains book.conf , not against the process current working directory. Absolute paths are left as-is.

Command-line options override the file. The Makefile for this guide passes --theme so make classic can change the initial skin without editing book.conf .

title

Book title: HTML <title> , sidebar heading, index heading, and the LaTeX \\title / title page. Default if unset: Untitled Book . CLI: --title .

Book-wide footer text after © on HTML pages (for example 2026, Jafar Al-Gharaibeh ). This is not a chapter byline; a chapter :copyright: field is separate (see Markup Reference ). CLI: --copyright .

Image file. HTML copies it to targetDir/_static/ and shows it in the sidebar. LaTeX / PDF copies it next to the .tex and places it on the title page (page 1), not as a numbered figure. CLI: --logo .

name

Basename for the book .tex / .pdf (and the HTML footer pdf link). A trailing .pdf or .tex is stripped. Letters, digits, _ , and - only. Default: book . Ignored for report collections (one PDF per report, named like the HTML stem). CLI: --name .

theme

Initial HTML theme: basic , classic , or dark (or a custom name under themePath ). Default: basic . Readers can still switch skins in the sidebar. Ignored for LaTeX / PDF. CLI: --theme .

themePath

Directory that contains theme subdirectories ( DIR/basic/static , …). Also accepted as themepath or theme_path . If omitted, uscribe searches ./themes , ../themes , themes , then Unicon's uni/uscribe/themes via &features ( Binaries at / Libraries at ). CLI: --themePath .

docclass

book (default) or report . Report mode is usually selected per chapter with :docclass: report or :trnumber: ; this key forces the class for every chapter. Also accepted as doc_class or doc-class . CLI: --docclass .

A report is one HTML page and one PDF. The sidebar on that page is the report's sections. index.html is a catalog of links. Workflow and live examples: Reports .

frontmatter

How many leading chapters are unnumbered front matter (a preface before chapter 1). Default 0 . When set, the HTML sidebar numbers sections as 1.1 , 2.3.1 , … matching the Word outline, and the PDF uses \\frontmatter for those chapters, then the table of contents, then \\mainmatter .

toctree

Sidebar tree lines (vertical spine and ticks) on the current chapter's section list. Default off: numbers and indentation only. Set toctree: true (also yes / on / 1 ; aliases toc-tree , toc_tree ) to draw the lines.

sources

Copy each chapter's RST into targetDir/_sources/ (as .txt ) and add a source (or report txt ) footer link. Default on. Set sources: false (also no / off / 0 ; alias source ) so the published HTML tree does not include RST. A rebuild in the same --targetDir also deletes a leftover _sources/ from a previous build. LaTeX/PDF builds still write .tex next to the PDF; they are a different --format from HTML. CLI: --sources=no .

Not in book.conf

These stay on the command line because they describe one build , not the book:

This guide

The file that builds this manual:

# Book-level settings (not chapter order — that is book.manifest).
# Paths are relative to this file. Command-line options override.
title: uscribe User Guide
copyright: 2026, Jafar Al-Gharaibeh
logo: images/uscribe-logo.png
name: uscribe-userguide
theme: basic

Chapter order is book.manifest in the same directory.