Quote:
Originally Posted by JSWolf
I do it similarly with Vellum made eBooks. As for the excessive chapter header divs, I dump them all as they aren't needed.
|
Yes, those chapter header divs are ones that I delete, too.
Quote:
Originally Posted by DNSB
Since Vellum is pretty consistent, I have a collection of saved searches and automations in Sigil to do the clean up.
- Replace the media queries stylesheet with a stylesheet with about 5 entries
- Run the HTML saved search/replace set
- Run the first automation collection
- Run the CSS cleanup saved search/replace set
- Manually run CSS reformat (multiple lines per style) to clean up the blank lines in the stylesheet
- Run the second automation collection
- Run the Afters saved search/replace set
- Use Tag Mechanic to remove blank <div> and <span>
- Run the second automation to check everything is okay
Some oddities are that the HTML search/replace set replaces any < and > in the HTML files with #lt; and #gt; since the CustomCleanerPlus plugin I use with Sigil is not happy with them. The Afters reverses that change. One author loves using "<< text string >>" in their books to indicate non-verbal communication between two characters. << do you believe in telepathy? >>
|
Thanks DNSB. I must admit that's pretty overwhelming to me, but I appreciate the roadmap