package oepub

  1. Overview
  2. Docs

Module ChapterContents.ImagedTextSource

ImagedText drives Book.Make to build a book where each chapter contains a list of either an image (bytes of the image) or some texts.

Sourcetype t = (string, string) Either.t list
Sourceval empty : t
Sourceval finalize : Buffer.t -> t -> t
Sourceval of_file : filename:string -> media_type:string -> title:string -> EpubArchive.t -> Opf.t -> Toc.t -> t Book.Chapter.t list -> t -> Buffer.t -> string -> (string * t * Buffer.t * t Book.Chapter.t list) option
Sourceval of_tag : tag:string -> title:string -> dirname:string -> (string * string) list -> EpubArchive.t -> Opf.t -> Toc.t -> t Book.Chapter.t list -> t -> Buffer.t -> string * t * Buffer.t * t Book.Chapter.t list
OCaml

Innovation. Community. Security.