cpdf

High-level PDF tools based on CamlPDF
Module Cpdftoc
val typeset_table_of_contents : font:Pdftext.standard_font -> fontsize:float -> title:string -> bookmark:bool -> Pdf.t -> Pdf.t

Typeset a table of contents and prepend to the document.