Design
gutenbg.txt
Associated article: Margination and Project Gutenberg
Tags: Design
Published source code accompanying the article by William Fishburne in which he discusses Project Gutenberg and some unusual requirements on the margins of the lines. Also see GUTENBG.ZIP.
Margination and Project Gutenberg
by Brett Fishburne
Listing One
WHILE (CURRENT_LINE_SIZE < MINIMAL_LINE_SIZE)
Add a Word to the Line
WHILE (ABS(CURRENT_LINE_SIZE - OPTIMAL_LINE_SIZE) >
ABS(CURRENT_LINE_SIZE + NEXT_WORD_SIZE ...


