Module ep_article

License: MIT File: ep_article.erl Description: Copyfit text that spans panels within a page and across pages.

Copyright © 2018 Lloyd R. Prentice

Version: .01

Authors: Lloyd R. Prentice.

Description

License: MIT File: ep_article.erl Description: Copyfit text that spans panels within a page and across pages

NOTE: This is work under development. Stay tuned.

Function Index

article/2 Convert copy to XML and call article/3 NOTE: Copy is tagged text; Beads is a list of panels.
beads/3Recurse through Beads; copyfit as we go.
run/0
top_off/6Reduce or elminiate gap at bottom of panel NOTE: top_off/5 is still under devlelpment It's only called wehn copy exceeds space in panel ISSUES to be resolved: Last line in panel can't be hyphenated Last line in panel can't be headline Spillover lines need to be converted back into XML and appended to yet-to-processed XML.

Function Details

article/2

article(Copy::list(), Beads::list()) -> list()

Convert copy to XML and call article/3 NOTE: Copy is tagged text; Beads is a list of panels.

beads/3

beads(Paste::list(), XML::list(), Beads::list()) -> list()

Recurse through Beads; copyfit as we go

run/0

run() -> any()

top_off/6

top_off(Paste::list(), Tag::atom(), Lines::list(), Gap::integer(), Xml::list(), PanelMap::map()) -> map()

Reduce or elminiate gap at bottom of panel NOTE: top_off/5 is still under devlelpment It's only called wehn copy exceeds space in panel ISSUES to be resolved: Last line in panel can't be hyphenated Last line in panel can't be headline Spillover lines need to be converted back into XML and appended to yet-to-processed XML


Generated by EDoc