This module defines the intermediate tree representation doctree/1 for documentation and its related operations.
Usage:
Intermediate tree representation for documentation
Usage:doctree_insert_end(A0,Elem,A)
Insert Elem in A0 at the end, obtaining A
Usage:doctree_insert_before_subfile_section(A0,Elem,A)
Insert Elem in A0 before the first section, obtaining A. Keep A0 if Elem is already present.
Usage:
A link to a document label
Usage:
An internal label
Usage:
Primitive doctree subset (ready for output, not further reducible)
Usage:
Usage:doctree_putvars(R0,DocSt,PDict,VarDict,R)
Traverse R0 and replace each var(Name) doctree item with a fresh variable B. For each replacement, the term B=Var is introduced in VarDict, where Var is the associated value to Name in the dictionary PDict.
Usage:doctree_scan_and_save_refs(R,DocSt)
Scan and save the references of the doctree
Usage:doctree_to_rawtext(X,DocSt,Y)
Y is a simplified raw text representation of the X
Usage:
Escapes needed characters in input string as needed for the target format.
Usage:version_numstr(Version,Str)
Obtain the string Str representation of version Version (except date)
Usage:version_string(Version,Str)
Obtain the string Str representation of version Version (including date)
Usage:insert_show_toc(R0,DocSt,R)
Insert the command to show the table of contents in a given doctree/1. The right place may be different depending on the chosen backend.