• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

EPUB 2 line drop cap exporting to 3 line drop cap

Community Beginner ,
Jul 25, 2023 Jul 25, 2023

Copy link to clipboard

Copied

Windows, CC23 -- Exporting a basic InDesign file to EPUB 3.0. The Para Style with a 2 line drop cap is coming out 3 line drop cap in the Epub. Any suggestions would be appreciated.

 

TOPICS
EPUB

Views

46

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2023 Jul 25, 2023

Copy link to clipboard

Copied

LATEST

Drop caps in EPUB are a bit fussy. (Oddly enough, if you continue on to Kindle, they are dead simple and usually display exactly as intended.)

 

The only good way to control drop caps in EPUB is with CSS. It's not hard, but you want to apply a character style to the dropped letters, then make some tweaks to that style in CSS at export time. Here's the gist of it:

 

  • Use InDesign’s drop-cap style feature.
  • Create a “DropCap” character style and apply it to caps you want dropped. You may want to have it highlight the letter or otherwise announce its use, to keep layout management simple. (F'rex, make the letter red. You can change this in the CSS code.)
  • Now, in your own CSS code or in a copy of the generated style exported from ID, add !important to the font size change. That alone should make EPUB present the drop caps correctly, as based on the exported style, much as it does automatically in Kindle.
  • You can make other tweaks (such as changing the color back to blck), and may want to tweak the top-right-bottom margins to align the drop cap correctly in EPUB.

╟─ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ─╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines