Quote:
Originally Posted by Leilu
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.