Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Bold Italics when exporting to ePub

Return to Member Forum

  • Author
    Posts
    • #71602
      Glenn Kramer
      Member

      I have bold italic text that I want to export to ePub, but the export tagging settings only allow me to choose one or the other (I can chose “strong” or “em” but not both). Is there a way around this without having to manually edit the CSS afterwards? I want the text to retain it’s bold AND italic properties in the ePub.

      And if I do have to edit the CSS, what is the best expression to write this in?

      Thank you! I could NOT find a solution when doing a google search, but I suspect this comes up a lot.

    • #71641
      Aaron Troia
      Participant

      Unfortunately it’s not possible, you have to use a span tag and class to do bold italic text on ePub Export. If you need/want to edit the HTML/CSS I would do a GREP search for your span tag <span class=”[your-bold-italic-class]”>(.+?)</span> and replace with $1. This is something that bugs me too, so for all my ePub Exports I go in and clean up all the , , and <sup> tags that have classes (that I dont want to have classes) and any spanned classes that I can convert to semantic mark up such as bold italic. Hope this works for you.

Viewing 1 reply thread
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads