View Single Post
Old 06-09-2025, 02:40 AM   #13
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,744
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Thinking more about this, creating the following clip with the name "section" is an easy way to create sections without having to change the default empty epub:
IMHO, it might be easier if you simply added the following elements to the [h*] tool bar button:

section Chapter <section class="chapter" epub:type="chapter" role="doc-chapter">\1</section>
a Note ref. <a epub:type="noteref" role="doc-noteref">\1</a>
aside Footnote <aside epub:type="footnote" role="doc-footnote">\1</aside>

This will cover the most freqently used epub:type/role attributes.
Since new Sigil users might not know that these tags/attributes can only be used in epub3 books, they should only be shown if the current book is an epub3 book.

Speaking of the [h*] button, it would be helpful if Sigil remembered the last selection. For example, if a user wants to mark several phrases as paragraphs, each time they'll have to select <p> from the list.
If the button remembered the last selection, a user could select <p> from the tag list once and re-apply it without having to select it again from the tag list button.
Doitsu is offline   Reply With Quote