In this section, we tag all partition headers. These we attach manually rather than using Find/Replace.
If your projectx is a straightforward, standalone straight-form fiction title, there's not a whole heck of a lot to this section.
Action: File Version
Continue to work in the tag_projectx file.
EARLY HEADS UP: (This is something to keep in mind later on; no action required during this step of the process, but will require action in future steps.) Due to an ongoing struggle with Nook and its apps, a major change has been added regarding anything labeled with h1. Nook will not apply "default" CSS to any headers. All h1 elements MUST have a class applied to them. A special "safe" class has been added to the tutorial's CSS file. This class MUST be applied to every h1 element in the book to ensure Nook doesn't break the entire known universe. This change will not affect/harm anything for Kindle or other EPUB readers/editors, etc.
Visit each partition header, including front and back matter headers.
Remove the default <p></p> tags attached by the last step, and replace them with <h1></h1> tags.
Use the key_projectx as a checklist to make sure each header label gets tagged with <h1></h1>.
No matter what type of partition scheme is used, front- and back-matter header labels always get the <h1></h1> tag-pairs. Never use <h2></h2> or lower. (Front- and Back-Matter partitions are sections such as Title, License, Dedication, Acknowledgements, About The Author)
The numeral one in <h1></h1> does not correspond to the chapter number. Chapters 2, 3, 4, 5, 6 &etc. are all tagged with <h1></h1> as well.
If you’ve got parts and chapters, part headers get <h1></h1> around them. Producers can choose whether chapter headers should also get <h1></h1> or go hierarchical by using <h2></h2>. Remember, front- and back-matter headers always get <h1></h1>, no matter what.
Epilogue and prologue each get <h1></h1> too.
If you feel you need more than h1 and h2, you must have missed all the disclaimers about straight-form fiction and creating extra work for yourself. Nothing beyond h2 is defined in the CSS file. You’ll have to add any extra definitions yourself. (I will not enable you.)
Ignore scene breaks, images and block-quotes for now. Those have to wait until Sigil.
Use plain-old Save to save tag_projectx one last time.
Use SaveAs to rename the content file: final_projectx
Previous << Applying Tags | Next >> Create The HTML Version