Introduction

uscribe is a prose/book documentation generator for Unicon. It reads a small RST-like markup, builds a doctree, resolves cross-chapter references, and writes themed HTML (and optionally LaTeX/PDF) for Unicon documentation and books.

This manual is the user guide for uscribe itself. Sources live under doc/uscribe/ in the unicon tree and are built with uscribe.

What uscribe is for

It is not a full RST/docutils toolchain. The markup subset is intentionally small; extend the parser as real documents need more.

A taste of Unicon highlighting

Mark listings with .. code-block:: unicon (also icon or icn ). In HTML they are highlighted client-side:

procedure greet(who)
   write("Hello, ", \who | "world", "!")
end

procedure main()
   greet("uscribe")
   greet()
end

See Markup Reference for the full dialect, Quick Start to generate a tiny book, and Reports for a single paper or a catalog of papers.

Relation to unidoc

uni/unidoc/ extracts API docs from Unicon source comments. uscribe is a separate tool for authored prose. They can coexist; a future .. api:: bridge may connect them.

How to read this guide