Documentation
Drop Caps
When referencing the printer PDF make sure to look at the beginning paragraph of each new section/chapter to see if small caps exist. Sometimes the InDesign export doesn’t include the small-caps. If small caps are written in the CSS with something like:
css1p.first:first-line {2font-variant: small-caps;3text-transform: none;4}
Review the line and remove the CSS declaration if it modifies the entire line and not the intended selection only.
Rewrite the <p>
tag to a <span>
tag, remove first:first-line
and set the value to small_caps
, smallcaps
or smallCaps
in the CSS, example:
html1<span class="”small-caps”">foobar</span>
html1<span class="”smallcaps”">foobar</span>23<span class="sc">foobar</span>
Renaming
If a section begins with a drop cap letter the name can be replaced, example:
Before
css1._idGenDropcap-1 {2font-family: 'Times New Roman';3font-size: 2.7em;4line-height: 1.2;5float: left;6margin: -0.16em 0.09em 0 0;7}
After
css1.dropcap {2font-family: 'Times New Roman';3font-size: 2.7em;4line-height: 1.2;5float: left;6margin: -0.16em 0.09em 0 0;7}
Channel Issues
We experience a lot of issues with Amazon regarding drop cap. While we try to always implement the same design so the title is seamless between print and digital for some reason Amazon's rendering issues clash with the drop cap's CSS.
If a rework issue was created for the drop cap the drop cap should be removed and the removal should be noted in the file (example: 20-11-11_amazon_reworks.txt) by commenting out the CSS:
css1/* .dropcap {2font-family: 'Times New Roman';3font-size: 2.7em;4line-height: 1.2;5float: left;6margin: -0.16em 0.09em 0 0;7} */
It is encouraged to create an Amazon only title (example: eISBN_mobi.epub) and the Distribution spreadsheet updated with Amazon Only.