Session
Content-directed Formatting with Text::Autoformat
Damian Conway, Thoughtstream
Track: Perl - Prototype ()
Date: Wednesday, July 19
Time: 4:30pm
- 5:00pm
Location: De Anza III
Most text-reformatting programs or modules aren't smart enough to deal with quoting conventions, nested lists, or indents. Text::Autoformat understands bulleting, numbered paragraphs (even Roman numerals), Internet quoting conventions, and can properly adjust inter-word and inter-paragraph spacing, justify text, and impose various capitalization schemes. This paper explains the features and how each of the three phases (parsing, template generation, and text interpolation) are implemented.