View Single Post
Old 05-09-2019, 11:48 AM   #25
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Zai24 View Post
Using Add Semantics I selected 'Chapter' for one of my chapters and ran the plugin, which had no effect on the code of that chapter.
AFAIK, selecting Add Semantics..., will update nav.xhtml and/or content.opf.

You'll need to manually add epub:type attributes in Code View mode to tags in .xhtml files. For example, if you add the following code to an epub3 book:

Code:
  <section epub:type="chapter">
    <p>This is a chapter</p>
  </section>
and run the plugin it'll add a role="doc-chapter" attribute:

Code:
  <section epub:type="chapter" role="doc-chapter">
    <p>This is a chapter</p>
  </section>
Doitsu is offline   Reply With Quote