convert raw text file into text/html chapter files
Make all chapter headings camel case, followed by a period
remove intra-paragraph line breaks.
Add a blacnk line between paragraphs.
Fix encoding on file read and write so left and right double quotes are properly dealt with.
no need to convert ldquote and rdquote now that encoding is correct.
Remove white space around the paragraph temporary markers. It was causing an indent of each paragraph line.
Remove unnecessary @
Add html p tags between paragraphs
Add html file header and footer
Replace control chars with Environment.NewLine, and remove unnecessary @ chars
cleanup
Ensure all paragraphs end in sentence ending punctuation, like !, ?, or .
If paragraph ends in double quotes, and last char inside quotes is !, ?, or ., dont add period at end of line. Also, if last char in quotes is -, replace with ...
Include some commented out code which does not yet work
Automate the removal of page number/book title/author in page headings, and remove blank lines within a sentence.
Determine bookName filename from book name raw.
Process sentence ending punctuation inside &rdquo;
create the title.xml file
Also remove blank lines within a sentence if last char before break is comma or semicolon