Versions in this module Expand all Collapse all v1 v1.3.0 Oct 29, 2026 v1.2.1 Oct 27, 2026 v1.2.0 Oct 27, 2026 Changes in this version + func FoldBreaks(spans []doc.Span) + func Listing(spans []doc.Span, monoBody bool) bool + func Listings(d *doc.Document) + func MonoBody(d *doc.Document) bool + type RuledHeader struct + Cols [][2]float64 + Y float64 + func RuledHeaders(p *doc.Page) []RuledHeader v1.1.1 Oct 23, 2026 v1.1.0 Oct 23, 2026 v1.0.1 Oct 22, 2026 Changes in this version + func ImageSlot(blocks []doc.Block, box geom.Rect) int + func PlaceImage(p *doc.Page, im *doc.Image) v1.0.0 Oct 21, 2026 Changes in this version + func Decoration(im doc.Image) string + func Footnotes(d *doc.Document) int + func Furniture(d *doc.Document) int + func Hyphens(d *doc.Document) int + func ImageBlocks(im *doc.Image) []doc.Block + func Keep(d *doc.Document) [][]bool + func PageBreaks(d *doc.Document) int + type ImageStats struct + Artifacts int + Fills int + Furniture int + Placed int + Read int + Small int + func Images(d *doc.Document) ImageStats type ListStats + func OrderedLists(d *doc.Document, opt Options) ListStats + type TableStats struct + Cells int + Joined int + Rows int + Tables int + func Tables(d *doc.Document, opt Options) TableStats v0 v0.2.0 Aug 8, 2026 Changes in this version + var DefaultOptions = Options + type ListStats struct + Items int + MaxLevel int + Runs int + func Lists(d *doc.Document, opt Options) ListStats + type Options struct + ListStep float64 + MaxHeading int + MaxLevel int + type Stats struct + BodyBold bool + BodySize float64 + Candidates int + Headings int + func Headings(d *doc.Document, opt Options) Stats