View Single Post
Old 02-21-2026, 04:45 PM   #74
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,798
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Leilu View Post
I want to avoid importing these character styles this way and rely solely on paragraph styles, except for italics and bold, which should appear in Sigil as <em> and <strong>[...]
If ABBY Fine Reader assigned the same character styles throughout the book, you might be able to map them to tags in the config.xml file in the plugin folder.

For numerical character styles such as CharStyle78, adding the following line to config.xml should theoretically output them as <em>..</em> tags.

Code:
<xhtml-style-map css="(none)" element="em" family="text" name="CharStyle78" />
If they're character overrides the following line might work:

Code:
<xhtml-style-map css="(none)" element="em" family="attribute" name="CharStyle78" />
For more information, see the official writer2xhtml user guide.

If there are simply too many of these numerical styles, you could also replace them in bulk in Sigil with Saved Search groups or DiapDealer's excellent TagMechanic Plugin

BTW, you might find my Incremental IDs Plugin useful for manipulating page number placeholders. You could now insert generic placeholder <span class="page"></span> tags and add sequential ids later.

Last edited by Doitsu; 02-21-2026 at 04:54 PM.
Doitsu is offline   Reply With Quote