Copyright © 2018 Lloyd R. Prentice
Version: .01
Authors: Lloyd R. Prentice.
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.| article/2 | Convert copy to XML and call article/3 NOTE: Copy is tagged text; Beads is a list of panels. |
| beads/3 | Recurse through Beads; copyfit as we go. |
| run/0 | |
| top_off/6 | 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. |
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(Paste::list(), XML::list(), Beads::list()) -> list()
Recurse through Beads; copyfit as we go
run() -> any()
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