Quantcast
Channel: MobileRead Forums - ePub
Viewing all 1881 articles
Browse latest View live

I have a DOCX with footnotes that I wanna turn to pop-up notes in ePub on Kobo Forma

$
0
0
I'm using Willus's "most recommend solution" of getting PDF converted to ePub. His "most recommend solution" is using MS Word as the middle man.

https://www.willus.com/k2pdfopt/pdf_conversion.shtml

A non-fiction book I have converted from PDF to middle-man-format DOCX has footnotes. What do I do if I want to prepare them for ePub?

When it's in ePub format, when I tap on the superscript in the main body of the text, I want to see the footnote pop up, just as in other ePubs I've read. Should I do this prep work in MS Word 2016 or in Calibre? Or in some other program?

Using Word to convert PDF to ePub

$
0
0
Willus, I really appreciate your "most recommended solution" of using Microsoft Word as the middle-man to go from PDF to an ebook format like ePub.

PDF-->MSWord-->CalibreConvert

I have MS Word 2016 at school. Which format should I save the converted PDF as:
1. the regular MS Word document
or
2. Strict Open XML document
or
3. Word XML document?

Using Word to convert PDF to ePub

$
0
0
Quote:

Originally Posted by willus (Post 3974093)
This may be better posted in the epub forum. Maybe a moderator could move it?

Done.

Dale

Page numbers in epub pageList

$
0
0
I have an epub with page numbers defined in pageList in toc.ncx, but the page numbers are not showing up in any reader software that I've tested with (ADE, Calibre, iBooks, FBReader). And navigation by page number uses the reader's generated page numbers, not the supplied numbers. Any ideas?

It's possible this feature just isn't supported (https://www.mobileread.com/forums/sh...#post3474229):

Quote:

However, AFAIK, I don't know of any epub2 app that actually displays pageList page numbers.
What's somewhat odd to me is that the epub defines itself as epub v3.0, but it uses toc.ncx and pageList, instead of page-list in nav. See http://kb.daisy.org/publishing/docs/.../pagelist.html. Does this matter? Are there apps that respect page numbers in epub3? Perhaps creating a nav would help?

Two images in a single page

$
0
0
I would like to show two images, each one of them with its caption, in a single page.
Two images have different size (not "very" different), and I have two different e-book readers: Sony PR-S t1 and Kobo Aura H2O.
Do you have any suggestion?
Actual code is:
Code:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta name="charset" content="UTF-8"/>
<title></title>
<link rel="stylesheet" href="../Styles/main.css" type="text/css"/>
</head>
<body>
<h2 style="text-align: center;"><img src="../Images/main-18.jpg" alt=""/><br/></h2>
<div>
<p style="text-align: center;"><span style="font-style:italic;">Figura 1: l'Adige al quartiere s. Alessio e chiesa di s. Giorgio (M. Lotze)</span></p>
<p><span style="font-style:italic;"><br/></span></p>
<p><span style="font-style:italic;"><br/></span></p>

<div style="text-align: center;"><img src="../Images/main-19.jpg" alt=""/></div>
<p style="text-align: center;"><span style="font-style:italic;">Figura 2: Case sul fiume nel quartiere S. Alessio (1880)</span></p>
</div>
<div><br/></div>
<div><br/></div>
<div></div>
</body>
</html>

Thank you!
:blink:

png files do not appear. only on PocketBook

$
0
0
Hello,

I am happy to have found your forum and I sincerely hope that you will be able to help me. Sorry for my English, I'm French.
Because of the Covid-19, I decided to write a book to help a grandparent's bereaved children because of the virus.
To try to give this book away for free as quickly as possible, I decided to make an ebook.
I am not a computer scientist and I apologize in advance for my low level.
Since I basically had a pdf, my book is 20 pages long, and I absolutely wanted to fix my layout,
Here's what I did:
I got each of my pages from my pdf in jpeg and png.
On Sigil: I started on the project to make a .epub3 where I put a photo (either in jpeg or in png depending on the weight / resolution) per page.

Here is my pb: .epub obtained works wonderfully on all e-readers and tablets tested EXCEPT on PocketBook.
On this brand, only my pages with jpeg images are displayed and not the png. While this brand accepts png normally. The pages with png image do not appear in the reader. There is a page but white.
I miss spending all my pages in jpeg because the resolution is better in png for an almost identical weight. Since my text is in these images, I will not want to affect the visual quality.

I do not understand. No matter how much I check again and again, I don't see why everyone else is reading my png and not this mark.

here are excerpts from my file content.opf
<meta name="cover" content="cover.jpg" />
</metadata>
<manifest>
<item id="Section0002.xhtml" href="Text/Section0002.xhtml" media-type="application/xhtml+xml"/>
<item id="Section0003.xhtml" href="Text/Section0003.xhtml" media-type="application/xhtml+xml"/>
<item id="Section0004.xhtml" href="Text/Section0004.xhtml" media-type="application/xhtml+xml"/>
<item id="Section0005.xhtml" href="Text/Section0005.xhtml" media-type="application/xhtml+xml"/>

(.....)
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="cover.xhtml" href="Text/cover.xhtml" media-type="application/xhtml+xml"/>
<item id="x1.jpg" href="Images/1.jpg" media-type="image/jpeg"/>
<item id="x2.jpg" href="Images/2.jpg" media-type="image/jpeg"/>
<item id="x3.png" href="Images/3.png" media-type="image/png"/>
<item id="x4.png" href="Images/4.png" media-type="image/png"/>
<item id="x5.png" href="Images/5.png" media-type="image/png"/>


I only put the first pages for you. Do you see any errors? I put it well : media-type="image/png". Should we write it differently?


I also give you what I have in my "Section0003.xhtml" where there is a pgn image.


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Gramps</title>
</head>

<body>
<div style="text-align: center; padding: 0pt; margin: 0pt;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1410 2250" preserveAspectRatio="xMidYMid">
<image width="1410" height="2250" xlink:href="../Images/3.png"/>
</svg>

</div>
</body>
</html>


To compare, I also give you what I have in my "Section0002.xhtml" where there is a jpeg image. (this one works)

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Dedication</title>
</head>
<body>
<div style="text-align: center; padding: 0pt; margin: 0pt;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1410 2250" preserveAspectRatio="xMidYMid">
<image width="1410" height="2250" xlink:href="../Images/2.jpg"/>
</svg>
</div>
</body>
</html>

:help:
Thank you so much.
Take care,
Marion.

Convert DJVU to epub?

$
0
0
Hi,

I have a djvu file that I would like to convert to epub. Is this doable, or should I just convert it to a pdf?

Cross-reference/index/quote/metadata

$
0
0
I have a simple issue I'm sure has been solved, but I don't seem to be phrasing my searches right.

In short, I want to enter data once, and then quote/refer to it in the visible text of a page. Specifically, I want to enter ISBN numbers once and refer to them in two different places. One ISBN number will be for the e-book edition (and thus is in the opf metadata), and the other is for the paperback edition (and thus is not in the metadata).

It seems like I could create a custom metadata field to use for the paperback ISBN, but in any case, I can't figure out how to echo that data back in my selected location.

Suggestions welcome, inc. pointers to threads that solve this.

Create index on epub from printed book

$
0
0
I wonder if there is a way to render the index (analytical index, not the table of contents) from a printed book without having to manually insert all the entries in Sigil's index editor. I've been working with books with very long and complex indexes, and re-creating them is a huge task. But since the indexes are already written and there's references to the page numbers, maybe there is a quicker way to do it?

I thought perhaps keeping the page numbers when saving the file from Finereader, then turning those numbers into invisible IDs to use as anchors to which to link the page numbers in the index (all doable with some regex wisdom). This solution, though, has at least one big problem: it only works on books whose page numbers are displayed at the top of the page (because the anchor needs to be before the page it refers to, and not after).

Anyone knows a better solution?

Accessible tables

$
0
0
Hi,
I'd like a little guidance please. I'm creating a long (multiple-row) table, consisting of two colums as part of an epub. The table gives a code and a decode, like this:

Number Weather
00 Dry
01 Wet
02 Sunny

and so on.

I'm confused as the the best way to add accessibility to this. If I do this
<th id="code">
Code
</th>
<th id="weather">
Weather.
</th>
Then I'd want a screen-reader to read out
"Code..00, Weather Dry"
"Code..01, Weather Wet"

I'm using "id" for the table rows, so that, if I hyperlinked from another page to any specific code e.g.code 15, the result would be "code 15 weather snowy"

Does this work?
<tr id="00">
<td scope="row" headers="code" >
00.
</td>
<td headers="weather">
Dry.
</td>
</tr>

The use of "scope" is to try to link the number with the weather type, but I'm not sure that will work. Any assistance would be appreciated. Thanks.

Recommended clean-up before HTML → EPUB?

$
0
0
Hello,

I'd like to concat a bunch of web pages into a single EPUB to read on my e-reader.

I tried pandoc, but it's very slow and pretty much freezes my computer, so I tried Calibre which at least kept my computer responsive:

Code:

copy /b *.html full.html

pandoc -o full.epub  full.html

"C:\Program Files\Calibre2\ebook-convert.exe" full.html full.epub

Regardless, how do you clean up HTML files before joining them into a single file? Any good practices?

"-h" returns a bewildering number of otptions.

Alternatively, what about first converting HTML files into simpler layouts (Markdown?) before joining them into a single file, and calling an HTML to EPUB converter?

Thank you.

Help to fix errors

$
0
0
Hello to all i need help to fixing the errors below:

Code:

Error / NAV: Fixed Layout Epubs must have the "landmarks" section in the nav document, in which at least the attribute epub:type=bodymatter has been assigned. It defines the beginning of the main text.

Error / Apple EPUB check: The Apple EPUB check (version 1.9) reports the following errors:
ERROR ITMS-9000: Invalid prefix attribute in root (package) element of the OPF file. Please supply a prefix attribute with valid rendition value in root element of the OPF file

Please let me know ig you need more details about my epub book.

Thanks.
All the best

Drop cap in epub3 for Kindle

$
0
0
I have created a drop cap as follows
<p><span class="first-letter">T</span>

with css

.first-letter {
font-family: 'English';
color:#986335;
border-bottom-width: 0;
border-left-width: 0;
border-right-width: 0;
border-top-width: 0;
float: left;
font-size: 3.91625em;
height: 1.1em;
line-height: 0.8em;
padding: 0%;
margin: 0% 0.04em
}

My issue is that in the Kindle previewer 3, this code works perfectly, however when I use the KDP edit and launch the previewer, the Drop Cap is as shown in the attached image.

I have tried many different coding from the forum, but all with the same result.

Is there a way of applying Drop Cap, using epub3 in Sigil?

Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	N/A
Size:	9.0 KB
ID:	179333  

Really bad CSS

$
0
0
I'm about to read the book Passing Strange by Ellen Klages. I had a look at the book and the formatting is terrible. Left Justified with a 2em right margin. That's not at all workable for me. So I had a dig at the CSS to fix it up and I found the CSS was a real mess.

Does anyone have an idea what program was used to create this monster of a mess?

Here is the original CSS with all the extra stuff included.
Code:

/*

Since, at the time of this writing, Macmillan's
Word > ePub conversion tool can't yet convert all
styles to semantically appropriate elements, the
CSS here targets almost every existing style by
name. Styles with shared attributes are grouped
together as much as possible (e.g. styles that are
meant to resolve to specific heading levels,
"space before" and "space after" styles, etc), and
are otherwise grouped by the categories defined in
the Word template.

Please note that the Lists section probably has
the greatest potential for confusion, and it may
need to be updated as the conversion tool is
updated. See the comments at the top of that
section for more information.

--------------------------------------------------
RESET
--------------------------------------------------
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

@font-face {
  font-family: "noto";
  src: url('NotoSansSymbols-Regular.ttf');
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
  }
body {
  line-height: 1em;
  }
ol, ul {
  list-style: none;
  }
blockquote, q {
  quotes: none;
  }
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
  }
table {
  border-collapse: collapse;
  border-spacing: 0;
  }

/*
--------------------------------------------------
BASE STYLES
--------------------------------------------------
*/

body {
  font-size: medium;
  line-height: 1.2em;
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 2em;
  font-family: Georgia,"Times New Roman",Times,serif,"noto",arial,Verdana,sans-serif;
  color: #000;
  background-color: #fff;
  }
p+p,
p.Text-Standardtx {
  text-indent: 1.5em;
  }
blockquote {
  margin: 1em 1.5em;
  font-style: italic;
  }
aside,
.box {
  padding: 1.5em;
  border: 2px solid #ccc;
  margin: 1em 0;
  }
.box {
  background: #eee;
  }
img {
  max-width: 100%;
  max-height: 100%;
  }
pre {
  margin: 1em 0;
  white-space: pre-wrap;
  }

em {
  font-size: inherit;
  font-style: italic;
}

strong {
 font-size: inherit;
 font-weight: bold;
 }

span, a {
 font-size: inherit;
 }

/*
--------------------------
NO INDENT
--------------------------
*/

h1+p, *[class^="Head-Level-1"]+p,
h2+p, *[class^="Head-Level-2"]+p,
h3+p, *[class^="Head-Level-3"]+p,
h4+p, *[class^="Head-Level-4"]+p,
h5+p, *[class^="Head-Level-5"]+p,
h6+p, *[class^="Head-Level-6"]+p,
*[class="NoIndent"],
*[class*="No-Indent"] {
  text-indent: 0;
  }

.Text-StdNo-Indenttx1,
.ChapOpeningTextNo-Indentcotx1 {
  text-indent: 0;
  }

/*
--------------------------
SPACE BEFORE
--------------------------
*/

*[class*="SpaceBefore"] {
  margin-top: 1em;
  }

/*
--------------------------
SPACE AROUND
--------------------------
*/

*[class*="SpaceAround"] {
  margin-top: 1em;
  margin-bottom: 1em;
  }

/*
--------------------------
SPACE AFTER
--------------------------
*/

*[class*="SpaceAfter"] {
  margin-bottom: 1em;
  }

/*
--------------------------------------------------
INLINE ELEMENTS
--------------------------------------------------
*/

a {
text-decoration: none;
}

*[class^="spanitaliccharacters"],
*[class^="spansmcapital"],
*[class^="spansmcapboldital"],
*[class^="spanaltfont1span1"],
*[class^="spanaltfont2span2"] {
  font-style: italic;
  }
.spanitaliccharactersital,
.spansmcapitalscital,
.spansmcapbolditalscbi,
.spanaltfont1span1,
.spanaltfont2span2 {
  font-style: italic;
  }
*[class^="spanboldfacecharacters"],
*[class^="spanboldital"],
*[class^="spansmcapbold"],
*[class^="spansmcapboldital"] {
  font-weight: bold;
  }
.spanboldfacecharacters,
.spanbolditalbem,
.spansmcapboldscbold,
.spansmcapbolditalscbi {
  font-weight: bold;
  }
*[class^="spansmallcapscharacters"],
*[class^="spansmcapbold"],
*[class^="spansmcapital"],
*[class^="spansmcapboldital"] {
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .08em;
  }
.spansmallcapscharacterssc,
.spansmcapboldscbold,
.spansmcapitalscital,
.spansmcapbolditalscbi {
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .08em;
  }
*[class^="spanunderscorecharacters"] {
  text-decoration: underline;
  }
.spanunderscorecharactersus {
  text-decoration: underline;
  }
sup,
*[class^="spansuperscriptcharacters"] {
  vertical-align: super;
  font-size: smaller;
  }
sup,
.spansuperscriptcharacterssup {
  vertical-align: super;
  font-size: smaller;
  }
sub,
*[class^="spansubscriptcharacters"] {
  vertical-align: sub;
  font-size: smaller;
  }
sub,
.spansuperscriptcharacterssub {
  vertical-align: sub;
  font-size: smaller;
  }
*[class^="spankeyphrase"] {
  }
*[class^="spansymbols"] {
  }
*[class^="spanaccentcharacters"] {
  }
*[class^="spanpreservecharacters"] {
  white-space: pre-wrap;
  }
*[class^="spancross-reference"] {
  }
*[class^="spanmaterialtocome"] {
  }
*[class^="spancarryquery"] {
  }
*[class^="DesignNote"] {
  }

.spanstrikethroughcharactersstr {
  text-decoration: line-through;
}

.chapopener {
  text-transform: uppercase;
}
*[class*="spanrun-incomputertypecomp"] {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  }
.spanrun-incomputertypecomp {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  }

/*
--------------------------------------------------
HEADINGS
--------------------------------------------------
COMBINATIONS
--------------------------
*/

h1+h2, h1+h3, h1+h4, h1+h5, h1+h6,
h2+h3, h2+h4, h2+h5, h2+h6,
h3+h4, h3+h5, h3+h6,
h4+h5, h4+h6,
h5+h6,
*[class*="Head-Level-"]+*[class*="Head-Level-"],
*[class*="FMLevel-"]+*[class*="FMLevel-"],
*[class*="PoemLevel-"]+*[class*="PoemLevel-"],
*[class^="RecipeHead"]+*[class^="RecipeSubhead"],
*[class*="RecipeLevel-"]+*[class*="RecipeLevel-"],
*[class^="Sub-RecipeHead"]+*[class^="Sub-RecipeSubhead"],
*[class*="Sub-RecipeLevel-"]+*[class*="Sub-RecipeLevel-"],
*[class^="BoxHead"]:first-child,
*[class^="BoxHead-Level-1"]:first-child,
*[class^="BoxHead-Level-2"]:first-child,
*[class^="BoxHead-Level-3"]:first-child,
*[class^="BoxHead-Level-4"]:first-child,
*[class^="BoxHead-Level-5"]:first-child,
*[class^="SidebarHead"]:first-child,
*[class^="SidebarHead-Level-1"]:first-child,
*[class^="SidebarHead-Level-2"]:first-child,
*[class^="SidebarHead-Level-3"]:first-child,
*[class^="SidebarHead-Level-4"]:first-child,
*[class^="SidebarHead-Level-5"]:first-child,
*[class^="BoxHead"]+*[class^="BoxSubhead"],
*[class^="BoxHead"]+*[class*="BoxHead-Level-"],
*[class*="BoxHead-Level-"]+*[class*="BoxHead-Level-"],
*[class^="SidebarHead"]+*[class^="SidebarSubhead"],
*[class^="SidebarHead"]+*[class*="SidebarHead-Level-"],
*[class*="SidebarHead-Level-"]+*[class*="SidebarHead-Level-"],
*[class^="TableNumber"]+*[class^="TableHead"],
*[class^="ChartNumber"]+*[class^="ChartHead"],
*[class^="ChartHead"]:first-child,
*[class^="ChartHead"]+*[class^="ChartSubhead"],
*[class^="ChartHead"]+*[class*="ChartLevel-"],
*[class*="ChartLevel-"]+*[class*="ChartLevel-"],
*[class^="TableHead"]+*[class^="TableSubhead"],
*[class^="FigureNumber"]+*[class^="FigureHead"],
*[class^="FigureHead"]+*[class^="FigureSubhead"],
*[class^="FigureHead"]+*[class*="FigureLevel-"],
*[class*="FigureLevel-"]+*[class*="FigureLevel-"],
*[class*="AppendixLevel-"]+*[class*="AppendixLevel-"],
*[class*="NoteLevel-"]+*[class*="NoteLevel-"],
*[class*="BiblioLevel-"]+*[class*="BiblioLevel-"],
*[class*="BOBAdLevel-"]+*[class*="BOBAdLevel-"] {
  margin-top: 0;
  }

/*
--------------------------
H1
--------------------------
*/

h1, .Head-Level-1h1 {
  text-indent: 0;
  font-size: 1.5em;
  line-height: 1.25em;
  margin: .66666666666667em 0;
  }

*[class*="Level-1Subhead"],
*[class^="FrontSalesTitle"],
*[class^="AdCardMainHead"],
*[class^="HalftitleBookTitle"],
*[class^="TitlepageBookTitle"],
*[class^="TOCFrontmatterHead"],
*[class^="TOCPartTitle"],
*[class^="TOCChapterTitle"],
*[class^="TOCLevel-1ChapterHead"],
*[class^="FMHead"],
*[class^="FMTitle"],
*[class^="FMHeadALT"],
*[class^="PartNumber"],
*[class^="PartTitle"],
*[class^="ChapNumber"],
*[class^="ChapTitle"],
*[class^="VolumeNumber"],
*[class^="VolumeTitle"],
*[class^="CollectionBookNumber"],
*[class^="CollectionBookTitle"],
*[class^="Head-Level-1"],
*[class^="BoxHead-Level-1"],
*[class^="SidebarHead-Level-1"],
*[class^="TableNumber"],
*[class^="ChartNumber"],
*[class^="FigureNumber"],
*[class^="BMHead"],
*[class^="BMTitle"],
*[class^="BMHeadALT"],
*[class^="AppendixHead"],
*[class^="BOBAdTitle"] {
  text-indent: 0;
  font-size: 1.5em;
  line-height: 1.25em;
  margin: .66666666666667em 0;
  }
*[class^="TOCFrontmatterHead"],
*[class^="TOCBackmatterHead"],
*[class^="TOCPartNumber"],
*[class^="TOCChapterNumber"],
*[class^="PartNumber"],
*[class^="ChapNumber"],
*[class^="VolumeNumber"],
*[class^="CollectionBookNumber"],
*[class^="TableNumber"],
*[class^="ChartNumber"],
*[class^="FigureNumber"] {
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .2em;
  padding: .5em;
  margin-top: 0;
  }

.TOCFrontmatterHeadcfmh,
.TOCBackmatterHeadcbmh,
.TOCPartNumbercpn,
.TOCChapterNumberccn,
.PartNumberpn,
.ChapNumbercn,
.VolumeNumbervoln,
.CollectionBookNumberbkn,
.TableNumbertn,
.ChartNumbercrn,
.FigureNumberfgn {
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .2em;
  padding: .5em;
  margin-top: 0;
  }
*[class^="TOCPartNumber"],
*[class^="TOCFrontmatterHead"],
*[class^="TOCBackmatterHead"],
*[class^="PartNumber"],
*[class^="VolumeNumber"],
*[class^="CollectionBookNumber"] {
  /*background: #999;*/
  }
*[class^="TOCChapterNumber"],
*[class^="ChapNumber"],
*[class^="TableNumber"],
*[class^="ChartNumber"],
*[class^="FigureNumber"] {
  /*background: #eee;*/
/*  margin-top: 3em; */
  }
*[class^="TableNumber"],
*[class^="ChartNumber"],
*[class^="FigureNumber"] {
  color: #999;
  margin-top: 1em;
  margin-bottom: 0;
  }
*[class^="FrontSalesTitle"],
*[class^="AdCardMainHead"],
*[class^="HalftitleBookTitle"],
*[class^="TitlepageBookTitle"],
*[class^="PartTitle"],
*[class^="ChapTitle"],
*[class^="VolumeTitle"],
*[class^="CollectionBookTitle"] {
  text-align: center;
  }

.FrontSalesTitlefst,
.AdCardMainHeadacmh,
.HalftitleBookTitlehtit,
.TitlepageBookTitletit,
.PartTitlept,
.ChapTitlect,
.VolumeTitlevolt,
.CollectionBookTitlebkt {
  text-align: center;
  }

*[class^="PartTitle"],
*[class^="ChapTitle"],
*[class^="VolumeTitle"],
*[class^="CollectionBookTitle"] {
  margin-bottom: 3.00em;
  }

.PartTitlept,
.ChapTitlect,
.VolumeTitlevolt,
.CollectionBookTitlebkt {
  margin-bottom: 3.00em;
  }

/*
--------------------------
H2
--------------------------
*/

h2 {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

.PartSubtitlepst,
.ChapSubtitlecst {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

*[class*="Level-2Subhead"],
*[class^="FrontSalesSubtitle"],
*[class^="AdCardSubhead"],
*[class^="TitlepageBookSubtitle"],
*[class^="FMSubhead"],
*[class^="TOCChapterSubtitle"],
*[class^="PartSubtitle"],
*[class^="ChapSubtitle"],
*[class^="Head-Level-2"],
*[class^="BoxHead-Level-2"],
*[class^="SidebarHead-Level-2"],
*[class^="BMSubhead"],
*[class^="AppendixSubhead"],
*[class^="IndexInternalSubhead"],
*[class^="BOBAdSubtitle"] {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

.FrontSalesSubtitlefsst,
.AdCardSubheadacsh,
.TitlepageBookSubtitlestit,
.PartSubtitlepst,
.ChapSubtitlecst,
.BOBAdSubtitlebobst {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

*[class^="FrontSalesSubtitle"],
*[class^="AdCardSubhead"],
*[class^="TitlepageBookSubtitle"],
*[class^="PartSubtitle"],
*[class^="ChapSubtitle"] {
  text-align: center;
  margin-bottom: 1em;
  }

.FrontSalesSubtitlefsst,
.AdCardSubheadacsh,
.TitlepageBookSubtitlestit,
.PartSubtitlepst,
.ChapSubtitlecst {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: bold;
  margin: 1em 0 1em 0;
  text-align: center;
  }

.PartSubtitlepst,
.ChapSubtitlecst {
  text-align: center;
  margin-bottom: 1em;
  }

*[class^="PartSubtitle"],
*[class^="ChapSubtitle"] {
  text-align: center;
  margin-bottom: 1.00em;
  }

.PartSubtitlepst:after,
.ChapSubtitlecst:after {
  text-align: center;
  margin-bottom: 1.00em;
  }

/*
--------------------------
H3
--------------------------
*/

h3 {
  text-indent: 0;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

*[class*="Level-3Subhead"],
*[class^="FrontSalesQuoteHead"],
*[class^="PartContentsMainHead"],
*[class^="Head-Level-3"],
*[class^="IngredientsHead"],
*[class^="Sub-RecipeIngredientsHead"],
*[class^="Menu"],
*[class^="RecipeVarHead"],
*[class^="RecipeNoteHead"],
*[class^="Extract-NoteHead"],
*[class^="BoxHead-Level-3"],
*[class^="SidebarHead-Level-3"],
*[class^="GlossaryTerm"],
*[class^="BOBAdQuoteHead"] {
  text-indent: 0;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

.BOBAdQuoteHeadbobqh {
  text-indent: 0;
  font-weight: bold;
  margin: 1em 0 0 0;
  }

/*
--------------------------
H4
--------------------------
*/

h4 {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  margin: 1em 0 0 0;
  }

*[class*="Level-4Subhead"],
*[class^="PartContentsHead"],
*[class^="Head-Level-4"],
*[class^="BoxHead-Level-4"],
*[class^="SidebarHead-Level-4"] {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  margin: 1em 0 0 0;
  }

/*
--------------------------
H5
--------------------------
*/

h5 {
  text-indent: 0;
  font-style: italic;
  margin: 1em 0 0 0;
  }

*[class*="Level-5Subhead"],
*[class^="Head-Level-5"],
*[class^="ExtractHead"],
*[class^="PoemTitle"],
*[class^="RecipeHead"],
*[class^="Sub-RecipeHead"],
*[class^="BoxHead"],
*[class^="BoxHead-Level-5"],
*[class^="SidebarHead"],
*[class^="SidebarHead-Level-5"],
*[class^="ChartHead"],
*[class^="FigureHead"],
*[class^="TableHead"] {
  text-indent: 0;
  font-style: italic;
  margin: 1em 0 0 0;
  }
*[class^="ExtractHead"],
*[class^="PoemTitle"],
*[class^="RecipeHead"],
*[class^="Sub-RecipeHead"],
*[class^="BoxHead"],
*[class^="SidebarHead"],
*[class^="ChartHead"],
*[class^="TableHead"],
*[class^="FigureHead"] {
  font-size: 1em;
  background: #ccc;
  }

/*
--------------------------
H6
--------------------------
*/

h6 {
  text-indent: 0;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 1em 0 0 0;
  }

*[class^="Head-Level-6"],
*[class^="PoemSubtitle"],
*[class^="PoemNumericSubhead"],
*[class^="RecipeSubhead"],
*[class^="Sub-RecipeSubhead"],
*[class^="BoxSubhead"],
*[class^="SidebarSubhead"],
*[class^="TableSubhead"],
*[class^="ChartSubhead"],
*[class^="FigureSubhead"] {
  text-indent: 0;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 1em 0 0 0;
  }
*[class^="PoemSubtitle"],
*[class^="RecipeSubhead"],
*[class^="Sub-RecipeSubhead"],
*[class^="BoxSubhead"],
*[class^="SidebarSubhead"],
*[class^="TableSubhead"],
*[class^="ChartSubhead"],
*[class^="FigureSubhead"] {
  border-bottom: 2px solid #ccc;
  margin-bottom: 1em;
  }

/*
--------------------------------------------------
FRONT SALES
--------------------------------------------------
*/

*[class^="FrontSalesText"],
*[class^="FrontSalesTextNoIndent"] {
  }
*[class^="FrontSalesQuote"],
*[class^="FrontSalesQuoteNoIndent"] {
  font-style: italic;
  }

/*
--------------------------------------------------
AD CARD
--------------------------------------------------
*/

*[class^="AdCardListofTitle"] {
  text-indent: 0;
  text-align: center;
  }

.AdCardListofTitlesacl {
  text-indent: 0;
  text-align: center;
  }

/*
--------------------------------------------------
TITLE PAGE
--------------------------------------------------
*/

*[class^="TitlepageAuthorName"],
*[class^="TitlepageContributorName"],
*[class^="TitlepageTranslatorName"],
*[class^="TitlepageSeriesTitle"],
*[class^="TitlepageReadingLine"],
*[class^="TitlepageImprintLine"],
*[class^="TitlepagePublisherName"],
*[class^="TitlepageCities"],
*[class^="TitlepageLogo"]  {
  text-indent: 0;
  text-align: center;
  margin: 1em 0;
  }

/* for kindle eink */
.TitlepageAuthorNameau,
.TitlepageContributorNamecon,
.TitlepageTranslatorNametran,
.TitlepageSeriesTitleser,
.TitlepageReadingLinerl,
.TitlepageImprintLineimp,
.TitlepagePublisherNamepub,
.TitlepageCitiescit,
.TitlepageLogologo {
  text-indent: 0;
  text-align: center;
  margin: 1em 0;
  }

section[data-type="titlepage"] {
  text-align: center;
}

section[data-type="titlepage"] img {
  text-align: center;
  width: auto;
}

/*
--------------------------------------------------
COPYRIGHT PAGE
--------------------------------------------------
*/

*[class^="CopyrightTextsinglespace"],
*[class^="CopyrightTextdoublespace"] {
  font-size: .75em;
  text-indent: 0;
  }
*[class^="CopyrightTextdoublespace"] {
  margin: 1em 0;
  }

.CopyrightTextsinglespacecrtx,
.CopyrightTextdoublespacecrtxd {
  font-size: .75em;
  text-indent: 0;
  }
.CopyrightTextdoublespacecrtxd {
  margin: 1em 0;
  }

/*
--------------------------------------------------
DEDICATION PAGE
--------------------------------------------------
*/

.Dedicationded,
.DedicationAuthordedau {
  text-indent: 0;
  text-align: center;
  margin-left: 1.5em;
  margin-right: 1.5em;
  font-style: italic;
  }

*[class^="Dedication"],
*[class^="DedicationAuthor"] {
  text-indent: 0;
  text-align: center;
  margin-left: 1.5em;
  margin-right: 1.5em;
  }
.Dedicationded {
  font-style: italic;
}
*[class^="Dedicationd"] {
  font-style: italic;
  }
.DedicationAuthordedau {
  margin-top: 1em;
  }
*[class^="DedicationAuthor"] {
  margin-top: 1em;
  }
section[data-type="dedication"] blockquote[data-type="epigraph"] {
  page-break-before: always;
  margin-top: 2em;
  }

.Dedicationded + p[class*="Epigraph"],
.DedicationAuthordedau + p[class*="Epigraph"] {
  page-break-before: always;
  margin-top: 2em;
  }
*[class^="Dedication"] + p[class*="Epigraph"] {
  page-break-before: always;
  margin-top: 2em;
  }

/*
--------------------------------------------------
EPIGRAPH PAGE (AND OTHER EPIGRAPHS)
--------------------------------------------------
*/

blockquote[data-type="epigraph"] {
  margin: 2em 1.5em;
  }

*[class^="Epigraph-non-verse"],
*[class^="Epigraph-verse"],
*[class^="FMEpigraphnon-verse"],
*[class^="FMEpigraph-verse"],
*[class^="PartEpigraph-non-verse"],
*[class^="PartEpigraph-verse"],
*[class^="ChapEpigraph-non-verse"],
*[class^="ChapEpigraph-verse"],
*[class^="EpigraphinText-non-verse"],
*[class^="EpigraphinText-verse"],
*[class^="PoemEpigraph-non-verse"],
*[class^="PoemEpigraph-verse"],
*[class^="BoxEpigraph-non-verse"],
*[class^="BoxEpigraph-verse"],
*[class^="SidebarEpigraph-non-verse"],
*[class^="SidebarEpigraph-verse"] {
  font-style: italic;
  }

.Epigraph-non-verseepi,
.Epigraph-verseepiv,
.FMEpigraph-non-versefmepi,
.FMEpigraph-versefmepiv,
.PartEpigraph-non-versepepi,
.PartEpigraph-versepepiv,
.ChapEpigraph-non-versecepi,
.ChapEpigraph-versecepiv,
.EpigraphinText-non-versetepi,
.EpigraphinText-versetepiv,
.PoemEpigraph-non-versevepi,
.PoemEpigraph-versevepiv,
.BoxEpigraph-non-versebepi,
.BoxEpigraph-versebepiv,
.SidebarEpigraph-non-versesbepi,
.SidebarEpigraph-versesbepiv {
  font-style: italic;
  }

*[class^="EpigraphSource"],
*[class^="ExtractSource"],
*[class^="FMEpigraphSource"],
*[class^="PartEpigraphSource"],
*[class^="ChapEpigraphSource"],
*[class^="EpigraphinText-Source"],
*[class^="PoemEpigraphSource"],
*[class^="BoxEpigraphSource"],
*[class^="SidebarEpigraphSource"],
*[class^="FrontSalesQuoteSource"],
*[class^="BOBAdQuoteSource"] {
  text-align: right;
  text-indent: 0;
  font-style: normal;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1em;
  }

.EpigraphSourceeps,
.ExtractSourceexts,
.FMEpigraphSourcefmeps,
.PartEpigraphSourcepeps,
.ChapEpigraphSourceceps,
.EpigraphinText-Sourceteps,
.PoemEpigraphSourceveps,
.BoxEpigraphSourcebeps,
.SidebarEpigraphSourcesbeps,
.FrontSalesQuoteSourcefsqs,
.BOBAdQuoteSourcebobqs {
  text-align: right;
  text-indent: 0;
  font-style: normal;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1em;
  }

.ChapEpigraphSourceceps {
  text-align: right;
}

/*
--------------------------------------------------
CONTENTS PAGE
--------------------------------------------------
*/

*[class^="TOCAuthor"],
*[class^="TOCPartNumber"],
*[class^="TOCPartTitle"],
*[class^="TOCChapterNumber"],
*[class^="TOCChapterTitle"],
*[class^="TOCChapterSubtitle"],
*[class^="TOCLevel-1ChapterHead"],
*[class^="TOCBackmatterHead"],
*[class^="TOCPageNumber"] {
  list-style: none;
  text-indent: 0;
  text-align: center;
  }
*[class^="TOCAuthor"] {
  font-style: italic;
  margin: 1em 0;
  }
*[class^="TOCPartNumber"],
*[class^="TOCChapterNumber"] {
  margin-left: 15%;
  margin-right: 15%;
  }
*[class^="TOCFrontmatterHead"],
*[class^="TOCPartTitle"],
*[class^="TOCChapterTitle"],
*[class^="TOCLevel-1ChapterHead"],
*[class^="TOCBackmatterHead"],
*[class^="TOCPartNumber"],
*[class^="TOCChapterNumber"],
*[class^="TOCChapterSubtitle"],
*[class^="TOCAuthor"],
*[class^="TOCPageNumber"] {
  display: none;
  }

/*
--------------------------------------------------
OTHER FRONTMATTER
--------------------------------------------------
*/

*[class^="FMTitle"],
*[class^="FMAuthorName"],
*[class^="FMAuthorSignature"],
*[class^="FMDramatisPersonae"] {
  text-indent: 0;
  margin: 1em 0;
  }
*[class^="FMHead"],
*[class^="FMTitle"],
*[class^="FMSubhead"],
*[class^="FMAuthorName"],
*[class^="FMHeadALT"] {
  text-align: center;
  }
*[class^="FMHeadALT"],
*[class^="FMTextALT"],
*[class^="FMTextNo-IndentALT"] {
  font-family: Helvetica,Arial,sans-serif;
  }
*[class^="FMAuthorSignature"] {
  font-style: italic;
  }
*[class^="FMDramatisPersonae"] {
  text-transform: uppercase;
  letter-spacing: .075em;
  }

/*
--------------------------------------------------
PART OPENERS
--------------------------------------------------
*/

*[class^="PartOrnament"],
*[class^="PartOrnamentALT"],
*[class^="PartContentsMainHead"],
*[class^="PartContentsHead"] {
  text-indent: 0;
  text-align: center;
  margin: 1em 0;
  }
*[class^="PartOrnament"]:before,
*[class^="PartOrnamentALT"]:before {
  display: block;
  font-size: 1.125em;
  }
*[class^="PartOrnament"]:before {
  content: "\2766"; /* U+2766 "floral heart" */
  }
*[class^="PartOrnamentALT"]:before {
  content: "\2756"; /* U+2756 "black diamond minus white" */
  }

/*
--------------------------------------------------
CHAPTER OPENERS
--------------------------------------------------
*/

.ChapAuthorca,
.Dateline-Chapterdl,
.ChapOrnamentcorn,
.ChapOrnamentALTcorn2 {
  text-align: center;
  text-indent: 0;
  margin: 1em 0;
  }

*[class^="ChapAuthor"],
*[class^="Dateline-Chapter"],
*[class^="ChapOrnament"],
*[class^="ChapOrnamentALT"] {
  text-align: center;
  text-indent: 0;
  margin: 1em 0;
  }
*[class^="ChapOrnament"]:before,
*[class^="ChapOrnamentALT"]:before {
  display: block;
  font-size: 1.125em;
  }
.ChapOrnamentcorn:before,
.ChapOrnamentALTcorn2:before {
  display: block;
  font-size: 1.125em;
  }
.ChapOrnamentcorn:before {
  content: "\2766"; /* U+2766 "floral heart" */
  }
*[class^="ChapOrnament"]:before {
  content: "\2766"; /* U+2766 "floral heart" */
  }
*[class^="ChapOrnamentALT"]:before {
  content: "\2756"; /* U+2756 "black diamond minus white" */
  }
.ChapOrnamentALTcorn2:before {
  content: "\2756"; /* U+2756 "black diamond minus white" */
  }
.TeaserOpeningTexttotx, .TeaserOpeningTextNo-Indenttotx1 {
  text-align: center;
  text-indent: 0;
  font-size: 1.2em;
  margin-bottom: 0.75em;
}

/*
--------------------------------------------------
TEXT
--------------------------------------------------
*/

*[class^="Text-ComputerType"],
*[class^="Text-ComputerTypeNo-Indent"] {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  }
*[class^="Text-StandardALT"],
*[class^="Text-StdNo-IndentALT"] {
  font-family: Helvetica,Arial,sans-serif;
  }
.Text-ComputerTypecom,
.Text-ComputerTypeNo-Indentcom1 {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  }
.Text-StandardALTatx,
.Text-StdNo-IndentALTatx1 {
  font-family: Helvetica,Arial,sans-serif;
  font-size: 0.9em;
  }

.Text-StandardALTatx,
.Text-StdNo-IndentALTatx1 {
  margin-top: 1em;
  }

.Text-StandardALTatx + .Text-StandardALTatx,
.Text-StandardALTatx + .Text-StdNo-IndentALTatx1,
.Text-StdNo-IndentALTatx1 + .Text-StandardALTatx,
.Text-StdNo-IndentALTatx1 + .Text-StdNo-IndentALTatx1 {
  margin-top: 0;
  }

/*
--------------------------------------------------
DISPLAY TEXT
--------------------------------------------------
*/

*[class^="InitialCap"] {
  }
*[class^="DisplayPhrase"] {
  clear: both;
  color: #999;
  font-size: 1.125em;
  font-style: italic;
  text-indent: 0;
  text-align: center;
  padding: .5em;
  background: #eee;
  margin: 1em 0;
  }
*[class^="Storydateline"],
*[class^="Storylocationline"] {
  text-indent: 0;
  font-variant: small-caps; /* ALTERNATE: font-size: .75em; text-transform: uppercase; */
  letter-spacing: .1em;
  margin: 1em 0;
  }

/*
--------------------------------------------------
SPACE BREAKS
--------------------------------------------------
*/

.SpaceBreak,
.SectionBreaksbr,
.SpaceBreakwithOrnamentorn,
.SpaceBreakwithALTOrnamentorn2,
.PartStartpts,
.PartEndpte,
.PageBreakpb,
.SpaceBreak-1-Linels1,
.SpaceBreak-2-Linels2,
.SpaceBreak-3-Linels3 {
  text-indent: 0;
  text-align: center;
  }

*[class^="SpaceBreak"],
*[class^="SectionBreak"],
*[class^="SpaceBreakwithOrnament"],
*[class^="SpaceBreakwithALTOrnament"],
*[class^="PartStart"],
*[class^="PartEnd"],
*[class^="PageBreak"],
*[class^="SpaceBreak-1-Line"],
*[class^="SpaceBreak-2-Line"],
*[class^="SpaceBreak-3-Line"] {
  text-indent: 0;
  text-align: center;
  }
*[class^="SpaceBreak"],
*[class^="SectionBreak"],
*[class^="SpaceBreakwithOrnament"],
*[class^="SpaceBreakwithALTOrnament"],
*[class^="SpaceBreak-1-Line"] {
  margin: 1em 0;
  }

.SpaceBreak,
.SectionBreaksbr,
.SpaceBreakwithOrnamentorn,
.SpaceBreakwithALTOrnamentorn2,
.SpaceBreak-1-Linels1 {
  margin: 1em 0 2em 0;
  }

*[class^="SpaceBreak-2-Line"] {
  margin: 1em 0 2em 0;
  }

.SpaceBreak-2-Linels2 {
  margin: 1em 0 2em 0;
  }

*[class^="SpaceBreak-3-Line"] {
  margin: 1em 0 3em 0;
  }

.SpaceBreak-3-Linels3 {
  margin: 1em 0 3em 0;
  }

*[class^="Dateline-Text"] {
  text-indent: 0;
  font-variant: small-caps; /* ALTERNATE: font-size: .75em; text-transform: uppercase; */
  letter-spacing: .1em;
  margin: 1em 0;
  }

*[class^="SpaceBreakwithOrnament"],
*[class^="SpaceBreakwithALTOrnament"] {
  display: block;
  font-size: 1.125em;
  }

.SpaceBreakwithOrnamentorn,
.SpaceBreakwithALTOrnamentorn2 {
  display: block;
  font-size: 1.125em;
  }

/**[class^="SpaceBreakwithOrnament"] {
  content: "\2766"; /* U+2766 "floral heart"
  }

.SpaceBreakwithOrnamentorn {
  content: "\2766"; /* U+2766 "floral heart"
  }

*[class^="SpaceBreakwithALTOrnament"] {
  content: "\2756"; /* U+2756 "black diamond minus white"
  }

.SpaceBreakwithALTOrnamentorn2 {
  content: "\2756"; /* U+2756 "black diamond minus white"
  }*/

*[class^="BookmakerPageBreak"] {
  page-break-after: always;
}

.BookmakerPageBreakbr {
  page-break-after: always;
}

p.SpaceBreak-PrintOnlypo {
  display: none;
}

/*
--------------------------------------------------
EXTRACTS
--------------------------------------------------
*/

.Extractext,
.Extract-Newspapernews,
.Extract-Diaryextd,
.Extract-Transcripttrans,
.Extract-NoIndentext1,
.Extract-BulletListextbl,
.Extract-NumListextnl,
.ExtractHeadexth,
.Extract-VerseorPoetryextv,
.Extract-Noteextn,
.Extract-NoteHeadextnh,
.Extract-Headlineexthl,
.Extract-Emailextem,
.Extract-EmailHeadingemh,
.Extract-Websiteextws,
.Extract-SongLyricextsl,
.Extract-BusinessCardextbc,
.Extract-Telegramtel,
.Extract-Inscriptionins,
.Extract-ScheduleofEventssch {
  font-style: italic;
}

.Extract-NoIndentext1,
.Extract-BulletListextbl,
.Extract-NumListextnl,
.ExtractHeadexth,
.Extract-VerseorPoetryextv,
.Extract-NoteHeadextnh,
.Extract-Headlineexthl,
.Extract-EmailHeadingemh,
.Extract-SongLyricextsl,
.Extract-BusinessCardextbc,
.Extract-ScheduleofEventssch {
  text-indent: 0;
}

.Extractext em,
.Extract-Newspapernews em,
.Extract-Diaryextd em,
.Extract-Transcripttrans em,
.Extract-NoIndentext1 em,
.Extract-BulletListextbl em,
.Extract-NumListextnl em,
.ExtractHeadexth em,
.Extract-VerseorPoetryextv em,
.Extract-Noteextn em,
.Extract-NoteHeadextnh em,
.Extract-Headlineexthl em,
.Extract-Emailextem em,
.Extract-EmailHeadingemh em,
.Extract-Websiteextws em,
.Extract-SongLyricextsl em,
.Extract-BusinessCardextbc em,
.Extract-Telegramtel em,
.Extract-Inscriptionins em,
.Extract-ScheduleofEventssch em {
  font-style: normal;
}

*[class^="Extract"],
*[class*="Extract"] {
  font-style: italic;
  }

.Extract-Headlineexthl,
.Extract-EmailHeadingemh {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  }

*[class^="Extract-Headline"],
*[class^="Extract-EmailHeading"] {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: .075em;
  }

.Extract-Telegramtel {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  text-transform: uppercase;
  }

*[class^="Extract-Telegram"] {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  text-transform: uppercase;
  }

/* for kindle */
blockquote p:first-child {
  margin-left: 0;
}

/*
--------------------------------------------------
LETTERS
--------------------------------------------------
*/

.LetterExtHeadnotehn {
  text-transform: uppercase;
  letter-spacing: .075em;
  }
*[class^="LetterExtHeadnote"] {
  text-transform: uppercase;
  letter-spacing: .075em;
  }
.LetterExtHeadnotehn+p,
.LetterExtAddressladd,
.LetterExtSalutationlsa,
.LetterExtClosinglcl,
.LetterExtSignaturelsig,
.LetterExtPostscriptlps {
  text-indent: 0;
  }
*[class^="LetterExtHeadnote"]+p,
*[class^="LetterExtAddress"],
*[class^="LetterExtSalutation"],
*[class^="LetterExtClosing"],
*[class^="LetterExtSignature"],
*[class^="LetterExtPostscript"] {
  text-indent: 0;
  }
.LetterExtDatelineldl {
  margin: 1em 0;
  }
*[class^="LetterExtDateline"] {
  margin: 1em 0;
  }
p+.LetterExtSalutationlsa,
.LetterExtClosinglcl,
.LetterExtSignaturelsig,
.LetterExtPostscriptlps {
  margin-top: 1em;
  }
p+*[class^="LetterExtSalutation"],
*[class^="LetterExtClosing"],
*[class^="LetterExtSignature"],
*[class^="LetterExtPostscript"] {
  margin-top: 1em;
  }
.LetterExtClosinglcl+.LetterExtSignaturelsig {
  margin-top: 0;
  }
*[class^="LetterExtClosing"]+*[class^="LetterExtSignature"] {
  margin-top: 0;
  }

/*
--------------------------------------------------
SCREENPLAY
--------------------------------------------------
*/
.ScreenplayDramatisPersonaedp,
.ScreenplayHeadsph,
.ScreenplaySubheadspsh,
.ScreenplaySpeakers,
.ScreenplayTextsptx,
.ScreenplayTextNo-Indentsptx1,
.ScreenplayStageDirectionsd,
.ScreenplayExtractsp {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  font-style: normal;
  text-indent: 0;
  }
*[class*="Screenplay"] {
  font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif;
  font-style: normal;
  text-indent: 0;
  }
.ScreenplayDramatisPersonaedp,
.ScreenplayHeadsph,
.ScreenplaySubheadspsh,
.ScreenplaySpeakers {
  text-transform: uppercase;
  }
*[class^="ScreenplayDramatisPersonae"],
*[class^="ScreenplayHead"],
*[class^="ScreenplaySubhead"],
*[class^="ScreenplaySpeaker"] {
  text-transform: uppercase;
  }
.ScreenplayHeadsph,
.ScreenplaySubheadspsh {
  margin-top: 1em;
  margin-bottom: 1em;
  }
*[class^="ScreenplayHead"],
*[class^="ScreenplaySubhead"] {
  margin-top: 1em;
  margin-bottom: 1em;
  }
.ScreenplaySpeakers {
  text-align: center;
  margin-top: 1em;
  }
*[class^="ScreenplaySpeaker"] {
  text-align: center;
  margin-top: 1em;
  }
.ScreenplaySpeakers,
.ScreenplayTextsptx,
.ScreenplayTextNo-Indentsptx1 {
  margin-left: 3em;
  margin-right: 3em;
  }
*[class^="ScreenplaySpeaker"],
*[class^="ScreenplayText"],
*[class^="ScreenplayTextNo-Indent"] {
  margin-left: 3em;
  margin-right: 3em;
  }
.ScreenplayStageDirectionsd {
  font-style: italic;
  margin: 1em 0;
  }
*[class^="ScreenplayStageDirection"] {
  font-style: italic;
  margin: 1em 0;
  }
.ScreenplayTextsptx {
  text-indent: 1.5em;
  }
*[class^="ScreenplayText"] {
  text-indent: 1.5em;
  }

/*
--------------------------------------------------
POETRY
--------------------------------------------------
*/
.PoemTitlevt+.PoemSubtitlevst {
  margin-top: 0;
  }
*[class^="PoemTitle"]+*[class^="PoemSubtitle"] {
  margin-top: 0;
  }
.PoemDedicationvded {
  font-style: italic;
  font-variant: normal;
  text-transform: none;
  letter-spacing: 0;
  }
*[class^="PoemDedication"] {
  font-style: italic;
  font-variant: normal;
  text-transform: none;
  letter-spacing: 0;
  }
.VerseTextvtx,
.Epigraph-verseepiv,
.FMEpigraph-versefmepiv,
.PartEpigraph-versepepiv,
.ChapEpigraph-versecepiv,
.Extract-VerseorPoetryextv,
.Extract-SongLyricextsl,
.EpigraphinText-versetepiv,
.PoemEpigraph-versevepiv,
.BoxEpigraph-versebepiv,
.BoxExtract-Versebextv,
.SidebarEpigraph-versesbepiv,
.SidebarExtract-Versesbextv,
.Example-Versevexa {
  margin-left: 1.5em;
  text-indent: -1.5em;
  }
*[class^="VerseText"],
*[class^="Epigraph-verse"],
*[class^="FMEpigraph-verse"],
*[class^="PartEpigraph-verse"],
*[class^="ChapEpigraph-verse"],
*[class^="Extract-VerseorPoetry"],
*[class^="Extract-SongLyric"],
*[class^="EpigraphinText-verse"],
*[class^="PoemEpigraph-verse"],
*[class^="BoxEpigraph-verse"],
*[class^="BoxExtract-Verse"],
*[class^="SidebarEpigraph-verse"],
*[class^="SidebarExtract-Verse"],
*[class^="Example-Verse"] {
  margin-left: 1.5em;
  text-indent: -1.5em;
  }
blockquote .VerseTextvtx:first-child,
blockquote .Epigraph-verseepiv:first-child,
blockquote .FMEpigraph-versefmepiv:first-child,
blockquote .PartEpigraph-versepepiv:first-child,
blockquote .ChapEpigraph-versecepiv:first-child,
blockquote .Extract-VerseorPoetryextv:first-child,
blockquote .Extract-SongLyricextsl:first-child,
blockquote .EpigraphinText-versetepiv:first-child,
blockquote .PoemEpigraph-versevepiv:first-child,
blockquote .BoxEpigraph-versebepiv:first-child,
blockquote .BoxExtract-Versebextv:first-child,
blockquote .SidebarEpigraph-versesbepiv:first-child,
blockquote .SidebarExtract-Versesbextv:first-child,
blockquote .Example-Versevexa:first-child {
  margin-left: 1.5em;
  }
blockquote *[class*="-verse"]:first-child,
blockquote *[class*="Verse"]:first-child,
blockquote *[class^="Extract-SongLyric"]:first-child {
  margin-left: 1.5em;
}

.VerseRun-inTextvrtx,
.VerseRun-inTextNo-Indentvrtx1 {
  text-indent: 0;
  margin-left: 1.5em;
  }
*[class^="VerseRun-inText"] {
  text-indent: 0;
  margin-left: 1.5em;
  }
.PoemDatelinevdl,
.PoemDedicationvded {
  text-indent: 0;
  margin: 1em 0;
  }
*[class^="PoemDateline"],
*[class^="PoemDedication"] {
  text-indent: 0;
  margin: 1em 0;
  }

/*
--------------------------------------------------
LISTS
--------------------------------------------------
All list styles are included here. Since some
classes convert as p elements rather than li, they
need to be explicitly told to behave like list
items. Here is an example of the markup and the
basic CSS that would apply to it:

<p class="BulletListItem">foo</p>

[class^="BulletListItem"] {
  display: list-item;
  list-style: disc outside;
  }

Other styles are already converting semantically,
but they still include a p element, like so:

<ul>
  <li class="BulletListItem">
    <p class="BulletListItem">foo</p>
  </li>
</ul>

So, in this case, all the rules of
".BulletListItem" will be applied to both the li
and the p, which means there will be multiple
bullets for each list item. This is why styles
that are converting this way are commented out –
so that the list style will be applied to the li
but not the p. As the conversion tool is updated
to accommodate more of the list styles below,
their class names will each need to be commented
out (or deleted) to avoid the problem of redundant
list markers.

Note also that ordered lists include the numbers
in the text, which is why they have a
list-style-type of "none".

*/

*[class^="ListHead"] {
  font-weight: bold;
  text-indent: 0;
  margin: 1em 0;
  }
ul,
ol {
  margin: 1em 0;
  }
li,
/*
[class^="ListNum"],
[class^="ListNumSubentry"],
*/
*[class^="ListAlpha"],
/*
*[class^="ListAlphaSubentry"],
*[class^="ListBullet"],
*[class^="ListBulletSubentry"],
*[class^="ListUnnum"],
*[class^="ListUnnumSubentry"],
*/
*[class^="NumberedParagraph"],
*[class^="BulletedParagraph"],
/*
*[class^="Extract-NumList"],
*[class^="Extract-BulletList"],
*/
*[class^="IngredientsList"],
*[class^="Sub-RecipeIngredientsList"]
/*
*[class^="BoxListNumb"],
*[class^="BoxListBullet"],
*[class^="BoxListUnnum"],
*[class^="SidebarListNum"],
*[class^="SidebarListBullet"],
*[class^="SidebarListUnnum"],
*[class^="AppendixListNum"],
*[class^="AppendixListUnnum"],
*[class^="AppendixListBullet"]
*/ {
  display: list-item;
  list-style-position: outside;
  margin-left: 1.5em;
  text-indent: 0;
  }
li ul,
li ol {
  margin: 0;
  }
ul li,
/*
*[class^="ListBullet"],
*[class^="ListUnnum"],
*/
*[class^="BulletedParagraph"],
/*
*[class^="Extract-BulletList"],
*/
*[class^="IngredientsList"],
*[class^="Sub-RecipeIngredientsList"]
/*
*[class^="BoxListBullet"],
*[class^="BoxListUnnum"],
*[class^="SidebarListBullet"],
*[class^="SidebarListUnnum"],
*[class^="AppendixListUnnum"],
*[class^="AppendixListBullet"]
*/ {
  list-style-type: disc;
  }
li ul li,
*[class^="ListBulletSubentry"],
*[class^="ListUnnumSubentry"] {
  list-style-type: square;
  }
ol li,
/*
*[class^="ListNum"],
*[class^="ListNumSubentry"],
*/
*[class^="ListAlpha"],
/*
*[class^="ListAlphaSubentry"],
*/
*[class^="NumberedParagraph"]
/*
*[class^="Extract-NumList"],
*[class^="BoxListNum"],
*[class^="SidebarListNum"],
*[class^="AppendixListNum"]
*/ {
/*list-style-type: decimal;*/
  list-style-type: none;
  margin-top: 0.5em;
  }

.NumberedParagraphsnp {
  list-style-type: none;
  margin-top: 0.5em;
}

li ol li
/*
*[class^="ListNumSubentry"],
*[class^="ListAlphaSubentry"],
*/ {
  border-bottom: none;
  }
/*
*[class^="ListNumSubentry"] {
  list-style-type: lower-roman;
  }
*[class^="ListAlpha"] {
  list-style-type: upper-alpha;
  }
li[class^="ListAlphaSubentry"] {
  list-style-type: lower-alpha;
  }
*/
li[class^="Checklist"],
li[class^="ChecklistSubentry"] {
  list-style-type: none;
  text-indent: 0;
  margin-left: 1.5em;
  }
li[class^="Checklist"]:before,
li[class^="ChecklistSubentry"]:before {
  display: block;
  width: 1.5em;
  float: left;
  margin-left: -1.5em;
  text-align: center;
  content: "\2713"; /* U+2713 "check mark" */
  }
*[class^="ColumnHead"] {
  font-weight: bold;
  text-indent: 0;
  }

/*
*[class^="RecipeProcedure"],
*[class^="RecipeProceduresNoIndent"],
*[class^="Sub-RecipeProcedures"],
*[class^="Sub-RecipeProceduresNoIndent"],
*[class^="Definition-Numbered"]
*/

/*
--------------------------------------------------
ILLUSTRATIONS
--------------------------------------------------
*/

*[class^="Illustrationholder"] {
  margin-top: 1em;
  text-align: center;
  }

.Illustrationholderill {
  margin-top: 1em;
  text-align: center;
  }

h1 + *[class^="Illustrationholder"] {
  background-color: transparent;
  }

h1 + .Illustrationholderill {
  background-color: transparent;
  }

*[class^="Caption"] {
  color: #666;
  text-indent: 0;
  text-align: center;
  font-size: .875em;
  font-style: italic;
  padding: 1em 0;
  }

.Captioncap {
  color: #666;
  text-indent: 0;
  text-align: center;
  font-size: .875em;
  font-style: italic;
  padding: 1em 0;
  }

*[class^="IllustrationSource"] {
  font-size: 0.8em;
  text-align: center;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
  }

.IllustrationSourceis {
  font-size: 0.8em;
  text-align: center;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
  }

*[class^="Illustrationholder"]+p,
*[class^="IllustrationSource"]+p {
  margin-top: 1em;
  }

.Illustrationholderill+p,
.IllustrationSourceis+p {
  margin-top: 1em;
  }

*[class^="Illustrationholder"]+*[class^="IllustrationSource"] {
  margin-top: 0;
  }

.Illustrationholderill+.IllustrationSourceis {
  margin-top: 0;
  }

section.abouttheauthor figure.Illustrationholderill img {
  max-height: 50%;
}

img.titlepage {
  width: 100%;
}

/*
--------------------------------------------------
RECIPES
--------------------------------------------------
*/

*[class^="Menu"],
*[class^="ChapterContent"] {
  }
*[class^="RecipeHeadnote"],
*[class^="Sub-RecipeHeadnote"] {
  font-style: italic;
  text-indent: 0;
  }
*[class^="RecipeTime"],
*[class^="RecipeYield"],
*[class^="Sub-RecipeYield"],
*[class^="RecipeNutritionInfo"],
*[class^="RecipeGarnish"] {
  margin-top: 1em;
  margin-bottom: 1em;
  text-indent: 0;
  }
*[class^="RecipeVarHead"],
*[class^="RecipeVarText"],
*[class^="RecipeVarTextNo-Indent"],
*[class^="RecipeNoteHead"],
*[class^="RecipeNoteText"],
*[class^="RecipeNoteTextNo-Indent"] {
  font-style: italic;
  }
*[class^="Sub-RecipeHead"],
*[class^="Sub-RecipeSubhead"],
*[class^="Sub-RecipeLevel-2Subhead"],
*[class^="Sub-RecipeLevel-3Subhead"],
*[class^="Sub-RecipeLevel-4Subhead"],
*[class^="Sub-RecipeLevel-5Subhead"],
*[class^="Sub-RecipeHeadnote"],
*[class^="Sub-RecipeIngredientsHead"],
*[class^="Sub-RecipeIngredientsList"],
*[class^="Sub-RecipeProcedures"],
*[class^="Sub-RecipeProceduresNoIndent"],
*[class^="Sub-RecipeYields"] {
  margin-left: 1.5em;
  margin-right: 1.5em;
  }
*[class^="Sub-RecipeLevel-1Subhead"] {
  margin-left: 1em;
  margin-right: 1em;
  }
*[class^="Sub-RecipeIngredientsList"],
*[class^="Sub-RecipeProcedures"],
*[class^="Sub-RecipeProceduresNoIndent"] {
  margin-left: 3em;
  }

/*
--------------------------------------------------
BOXES AND SIDEBARS
--------------------------------------------------
*/

*[class^="TOCPartNumber"],
*[class^="TOCChapterNumber"],
*[class^="RecipeHead"],
*[class^="Sub-RecipeHead"],
*[class^="RecipeSubhead"],
*[class^="Sub-RecipeSubhead"],
*[class^="BoxHead"],
*[class^="BoxSubhead"],
*[class^="SidebarHead"],
*[class^="ExtractHead"],
*[class^="PoemTitle"],
*[class^="SidebarSubhead"],
*[class^="PoemSubtitle"],
*[class^="TableHead"],
*[class^="TableSubhead"],
*[class^="ChartHead"],
*[class^="ChartSubhead"],
*[class^="FigureHead"],
*[class^="FigureSubhead"] {
  text-align: center;
  padding: .5em 0;
  }
*[class^="BoxHead"]+p,
*[class^="SidebarHead"]+p,
*[class^="ExtractHead"]+p,
*[class^="PoemTitle"]+p {
  margin-top: 1em;
  }
*[class^="BoxSourceNote"],
*[class^="BoxFootnote"],
*[class^="SidebarSourceNote"],
*[class^="SidebarFootnote"] {
  font-size: .75em;
  text-indent: 0;
  margin: 1em 0;
  }
*[class^="BoxExtract"],
*[class^="BoxExtract-Verse"],
*[class^="SidebarExtract"],
*[class^="SidebarExtract-Verse"] {
  }

/*
--------------------------------------------------
TABLES, CHARTS, and FIGURES
--------------------------------------------------
*/

table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
  }
th,
td {
  padding: .5em;
  border: 1px solid #ccc;
  }
*[class^="TableColumnHead"],
*[class^="TableSourceNote"],
*[class^="TableFootnote"],
*[class^="ChartColumnHead"],
*[class^="ChartLabel"],
*[class^="ChartSourceNote"],
*[class^="ChartFootnote"],
*[class^="FigureColumnHead"],
*[class^="FigureLabel"],
*[class^="FigureSourceNote"],
*[class^="FigureFootnote"] {
  text-indent: 0;
  }
*[class^="TableColumnHead"],
*[class^="ChartColumnHead"],
*[class^="FigureColumnHead"] {
  font-weight: bold;
  }
*[class^="TableSourceNote"],
*[class^="TableFootnote"],
*[class^="ChartSourceNote"],
*[class^="ChartFootnote"],
*[class^="FigureSourceNote"],
*[class^="FigureFootnote"] {
  font-size: .75em;
  margin: 1em 0;
  }

/*
--------------------------------------------------
GENERAL BACKMATTER HEADS
--------------------------------------------------
*/

.BMHeadbmh,
.BMTitlebmt,
.BMSubheadbmsh,
.BMHeadALTabmh {
  text-align: center;
  }
*[class^="BMHead"],
*[class^="BMTitle"],
*[class^="BMSubhead"],
*[class^="BMHeadALT"] {
  text-align: center;
  }
.BMHeadALTabmh,
.BMTextALTabmtx,
.BMTextALTNo-Indentabmtx1 {
  font-family: Helvetica,Arial,sans-serif;
  }
*[class^="BMHeadALT"],
*[class^="BMTextALT"],
*[class^="BMTextALTNo-Indent"] {
  font-family: Helvetica,Arial,sans-serif;
  }

/*
--------------------------------------------------
APPENDICES
--------------------------------------------------
*/

.AppendixHeadaph,
.AppendixSubheadapsh {
  text-align: center;
  }
*[class^="AppendixHead"],
*[class^="AppendixSubhead"] {
  text-align: center;
  }
.AppendixSourceNoteapsn,
.AppendixFootnoteapfn {
  font-size: .75em;
  text-indent: 0;
  margin: 1em 0;
  }
*[class^="AppendixSourceNote"],
*[class^="AppendixFootnote"] {
  font-size: .75em;
  text-indent: 0;
  margin: 1em 0;
  }

/*
--------------------------------------------------
BOB ADS
--------------------------------------------------
*/

.BOBAdTitlebobt,
.BOBAdSubtitlebobst,
.BOBAdLevel-1Subheadbobh1,
.BOBAdLevel-2Subheadbobh2,
.BOBAdLevel-3Subheadbobh3,
.BOBAdLevel-4Subheadbobh4,
.BOBAdLevel-5Subheadbobh5 {
  text-align: center;
  text-indent: 0;
  }

.BOBAdLevel-1Subheadbobh1 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 1em;
}

/*
--------------------------------------------------
GLOSSARY and DICTIONARY-STYLE ENTRIES
--------------------------------------------------
*/

.Exampleexa,
.Example-Versevexa,
.Exampleegeg,
.Exampleindialogformexad {
  font-style: italic;
  }
*[class^="Example"],
*[class^="Example-Verse"],
*[class^="Exampleeg"],
*[class^="Exampleindialogform"] {
  font-style: italic;
  }
.GlossaryTextgltx,
.Entryen,
.Definitiondef,
.DefinitionSourcedefs,
.Exampleexa,
.Referencesee,
.Exampleegeg,
.Exampleindialogformexad {
  text-indent: 0;
  }
*[class^="GlossaryText"],
*[class^="Entry"],
*[class^="Definition"],
*[class^="DefinitionSource"],
*[class^="Example"],
*[class^="References"],
*[class^="Exampleeg"],
*[class^="Exampleindialogform"] {
  text-indent: 0;
  }
.DefinitionSourcedefs {
  margin: 1em 0;
  }
*[class^="DefinitionSource"] {
  margin: 1em 0;
  }

/*
--------------------------------------------------
ADDRESSES
--------------------------------------------------
*/

*[class^="Address"] {
  text-indent: 0;
  }

/*
--------------------------------------------------
NOTES SECTION
--------------------------------------------------
*/

div[data-type="footnotes"] {
  margin-top: 1em;
}

p[data-type="footnote"] {
  font-size: .75em;
  text-indent: 0;
  margin: 1em 0;
  }

*[class^="FootnoteText"],
*[class^="endnotetext"] {
  font-size: .75em;
  text-indent: 0;
  margin: 1em 0;
  }

/*
--------------------------------------------------
BIBLIOGRAPHY
--------------------------------------------------
*/

*[class^="BibliographyText"] {
  text-indent: 0;
  margin: 1em 0;
  }

/*
--------------------------------------------------
INDEX
--------------------------------------------------
*/

*[class^="IndexEntry"],
*[class^="IndexSubentry"],
*[class^="IndexSub-subentry"] {
  text-indent: 0;
  }
*[class^="IndexSubentry"] {
  margin-left: 1.5em;
  }
*[class^="IndexSub-subentry"] {
  margin-left: 3em;
  }

/*
--------------------------------------------------
Misc
--------------------------------------------------
*/

.EBKLinkSourceLa {
  text-indent: 0;
  text-align: center;
}

.left {
  text-align: left;
  text-indent: 0;
}

.center {
  text-align: center;
  text-indent: 0;
}

.right {
  text-align: right;
  text-indent: 0;
}

/*
--------------------------------------------------
Nonprinting elements
--------------------------------------------------
*/

h1.ChapTitleNonprintingctnp {
  display: none;
}

*[class*="Nonprinting"] {
  display: none;
}

.Nonprinting {
  display: none;
}

.texttoc {
  display: none;
}

And here is the same CSS with all the extra code removed and formatted by Calibre. 197 classes removed.
Code:

/*

Since, at the time of this writing, Macmillan's
Word > ePub conversion tool can't yet convert all
styles to semantically appropriate elements, the
CSS here targets almost every existing style by
name. Styles with shared attributes are grouped
together as much as possible (e.g. styles that are
meant to resolve to specific heading levels,
"space before" and "space after" styles, etc), and
are otherwise grouped by the categories defined in
the Word template.

Please note that the Lists section probably has
the greatest potential for confusion, and it may
need to be updated as the conversion tool is
updated. See the comments at the top of that
section for more information.

--------------------------------------------------
RESET
--------------------------------------------------
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
@font-face {
  font-family: "noto";
  src: url(NotoSansSymbols-Regular.ttf);
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}
/*
--------------------------------------------------
BASE STYLES
--------------------------------------------------
*/
body {
  font-size: medium;
  line-height: 1.2em;
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 2em;
  font-family: Georgia, "Times New Roman", Times, serif, "noto", arial, Verdana, sans-serif;
  color: #000;
  background-color: #fff;
}
p + p, p.Text-Standardtx {
  text-indent: 1.5em;
}
blockquote {
  margin: 1em 1.5em;
  font-style: italic;
}
img {
  max-width: 100%;
  max-height: 100%;
}
em {
  font-size: inherit;
  font-style: italic;
}
strong {
  font-size: inherit;
  font-weight: bold;
}
span, a {
  font-size: inherit;
}
/*
--------------------------
NO INDENT
--------------------------
*/
h1 + p, *[class^="Head-Level-1"] + p, h2 + p, *[class^="Head-Level-2"] + p, h3 + p, *[class^="Head-Level-3"] + p, h4 + p, *[class^="Head-Level-4"] + p, h5 + p, *[class^="Head-Level-5"] + p, h6 + p, *[class^="Head-Level-6"] + p, *[class="NoIndent"], *[class*="No-Indent"] {
  text-indent: 0;
}
.Text-StdNo-Indenttx1, .ChapOpeningTextNo-Indentcotx1 {
  text-indent: 0;
}
/*
--------------------------
SPACE BEFORE
--------------------------
*/
/*
--------------------------
SPACE AROUND
--------------------------
*/
/*
--------------------------
SPACE AFTER
--------------------------
*/
/*
--------------------------------------------------
INLINE ELEMENTS
--------------------------------------------------
*/
a {
  text-decoration: none;
}
*[class^="spansmallcapscharacters"], *[class^="spansmcapbold"], *[class^="spansmcapital"], *[class^="spansmcapboldital"] {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.spansmallcapscharacterssc, .spansmcapboldscbold, .spansmcapitalscital, .spansmcapbolditalscbi {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/*
--------------------------------------------------
HEADINGS
--------------------------------------------------
COMBINATIONS
--------------------------
*/
/*
--------------------------
H1
--------------------------
*/
h1, .Head-Level-1h1 {
  text-indent: 0;
  font-size: 1.5em;
  line-height: 1.25em;
  margin: 0.666667em 0;
}
*[class*="Level-1Subhead"], *[class^="FrontSalesTitle"], *[class^="AdCardMainHead"], *[class^="HalftitleBookTitle"], *[class^="TitlepageBookTitle"], *[class^="TOCFrontmatterHead"], *[class^="TOCPartTitle"], *[class^="TOCChapterTitle"], *[class^="TOCLevel-1ChapterHead"], *[class^="FMHead"], *[class^="FMTitle"], *[class^="FMHeadALT"], *[class^="PartNumber"], *[class^="PartTitle"], *[class^="ChapNumber"], *[class^="ChapTitle"], *[class^="VolumeNumber"], *[class^="VolumeTitle"], *[class^="CollectionBookNumber"], *[class^="CollectionBookTitle"], *[class^="Head-Level-1"], *[class^="BoxHead-Level-1"], *[class^="SidebarHead-Level-1"], *[class^="TableNumber"], *[class^="ChartNumber"], *[class^="FigureNumber"], *[class^="BMHead"], *[class^="BMTitle"], *[class^="BMHeadALT"], *[class^="AppendixHead"], *[class^="BOBAdTitle"] {
  text-indent: 0;
  font-size: 1.5em;
  line-height: 1.25em;
  margin: 0.666667em 0;
}
*[class^="FrontSalesTitle"], *[class^="AdCardMainHead"], *[class^="HalftitleBookTitle"], *[class^="TitlepageBookTitle"], *[class^="PartTitle"], *[class^="ChapTitle"], *[class^="VolumeTitle"], *[class^="CollectionBookTitle"] {
  text-align: center;
}
.FrontSalesTitlefst, .AdCardMainHeadacmh, .HalftitleBookTitlehtit, .TitlepageBookTitletit, .PartTitlept, .ChapTitlect, .VolumeTitlevolt, .CollectionBookTitlebkt {
  text-align: center;
}
*[class^="PartTitle"], *[class^="ChapTitle"], *[class^="VolumeTitle"], *[class^="CollectionBookTitle"] {
  margin-bottom: 3em;
}
.PartTitlept, .ChapTitlect, .VolumeTitlevolt, .CollectionBookTitlebkt {
  margin-bottom: 3em;
}
/*
--------------------------
H2
--------------------------
*/
/*
--------------------------
H3
--------------------------
*/
/*
--------------------------
H4
--------------------------
*/
/*
--------------------------
H5
--------------------------
*/
/*
--------------------------
H6
--------------------------
*/
/*
--------------------------------------------------
FRONT SALES
--------------------------------------------------
*/
/*
--------------------------------------------------
AD CARD
--------------------------------------------------
*/
/*
--------------------------------------------------
TITLE PAGE
--------------------------------------------------
*/
/* for kindle eink */
section[data-type="titlepage"] {
  text-align: center;
}
section[data-type="titlepage"] img {
  text-align: center;
  width: auto;
}
/*
--------------------------------------------------
COPYRIGHT PAGE
--------------------------------------------------
*/
*[class^="CopyrightTextsinglespace"], *[class^="CopyrightTextdoublespace"] {
  font-size: 0.75em;
  text-indent: 0;
}
*[class^="CopyrightTextdoublespace"] {
  margin: 1em 0;
}
.CopyrightTextsinglespacecrtx, .CopyrightTextdoublespacecrtxd {
  font-size: 0.75em;
  text-indent: 0;
}
.CopyrightTextdoublespacecrtxd {
  margin: 1em 0;
}
/*
--------------------------------------------------
DEDICATION PAGE
--------------------------------------------------
*/
.Dedicationded, .DedicationAuthordedau {
  text-indent: 0;
  text-align: center;
  margin-left: 1.5em;
  margin-right: 1.5em;
  font-style: italic;
}
*[class^="Dedication"], *[class^="DedicationAuthor"] {
  text-indent: 0;
  text-align: center;
  margin-left: 1.5em;
  margin-right: 1.5em;
}
.Dedicationded {
  font-style: italic;
}
*[class^="Dedicationd"] {
  font-style: italic;
}
/*
--------------------------------------------------
EPIGRAPH PAGE (AND OTHER EPIGRAPHS)
--------------------------------------------------
*/
/*
--------------------------------------------------
CONTENTS PAGE
--------------------------------------------------
*/
/*
--------------------------------------------------
OTHER FRONTMATTER
--------------------------------------------------
*/
/*
--------------------------------------------------
PART OPENERS
--------------------------------------------------
*/
/*
--------------------------------------------------
CHAPTER OPENERS
--------------------------------------------------
*/
/*
--------------------------------------------------
TEXT
--------------------------------------------------
*/
/*
--------------------------------------------------
DISPLAY TEXT
--------------------------------------------------
*/
/*
--------------------------------------------------
SPACE BREAKS
--------------------------------------------------
*/
.SpaceBreak, .SectionBreaksbr, .SpaceBreakwithOrnamentorn, .SpaceBreakwithALTOrnamentorn2, .PartStartpts, .PartEndpte, .PageBreakpb, .SpaceBreak-1-Linels1, .SpaceBreak-2-Linels2, .SpaceBreak-3-Linels3 {
  text-indent: 0;
  text-align: center;
}
*[class^="SpaceBreak"], *[class^="SectionBreak"], *[class^="SpaceBreakwithOrnament"], *[class^="SpaceBreakwithALTOrnament"], *[class^="PartStart"], *[class^="PartEnd"], *[class^="PageBreak"], *[class^="SpaceBreak-1-Line"], *[class^="SpaceBreak-2-Line"], *[class^="SpaceBreak-3-Line"] {
  text-indent: 0;
  text-align: center;
}
*[class^="SpaceBreak"], *[class^="SectionBreak"], *[class^="SpaceBreakwithOrnament"], *[class^="SpaceBreakwithALTOrnament"], *[class^="SpaceBreak-1-Line"] {
  margin: 1em 0;
}
.SpaceBreak, .SectionBreaksbr, .SpaceBreakwithOrnamentorn, .SpaceBreakwithALTOrnamentorn2, .SpaceBreak-1-Linels1 {
  margin: 1em 0 2em 0;
}
*[class^="SpaceBreakwithOrnament"], *[class^="SpaceBreakwithALTOrnament"] {
  display: block;
  font-size: 1.125em;
}
.SpaceBreakwithOrnamentorn, .SpaceBreakwithALTOrnamentorn2 {
  display: block;
  font-size: 1.125em;
}
/**[class^="SpaceBreakwithOrnament"] {
  content: "❦"; /* U+2766 "floral heart"
  }

.SpaceBreakwithOrnamentorn {
  content: "❦"; /* U+2766 "floral heart"
  }

*[class^="SpaceBreakwithALTOrnament"] {
  content: "❖"; /* U+2756 "black diamond minus white"
  }

.SpaceBreakwithALTOrnamentorn2 {
  content: "❖"; /* U+2756 "black diamond minus white"
  }*/
/*
--------------------------------------------------
EXTRACTS
--------------------------------------------------
*/
.Extractext, .Extract-Newspapernews, .Extract-Diaryextd, .Extract-Transcripttrans, .Extract-NoIndentext1, .Extract-BulletListextbl, .Extract-NumListextnl, .ExtractHeadexth, .Extract-VerseorPoetryextv, .Extract-Noteextn, .Extract-NoteHeadextnh, .Extract-Headlineexthl, .Extract-Emailextem, .Extract-EmailHeadingemh, .Extract-Websiteextws, .Extract-SongLyricextsl, .Extract-BusinessCardextbc, .Extract-Telegramtel, .Extract-Inscriptionins, .Extract-ScheduleofEventssch {
  font-style: italic;
}
.Extract-NoIndentext1, .Extract-BulletListextbl, .Extract-NumListextnl, .ExtractHeadexth, .Extract-VerseorPoetryextv, .Extract-NoteHeadextnh, .Extract-Headlineexthl, .Extract-EmailHeadingemh, .Extract-SongLyricextsl, .Extract-BusinessCardextbc, .Extract-ScheduleofEventssch {
  text-indent: 0;
}
.Extractext em, .Extract-Newspapernews em, .Extract-Diaryextd em, .Extract-Transcripttrans em, .Extract-NoIndentext1 em, .Extract-BulletListextbl em, .Extract-NumListextnl em, .ExtractHeadexth em, .Extract-VerseorPoetryextv em, .Extract-Noteextn em, .Extract-NoteHeadextnh em, .Extract-Headlineexthl em, .Extract-Emailextem em, .Extract-EmailHeadingemh em, .Extract-Websiteextws em, .Extract-SongLyricextsl em, .Extract-BusinessCardextbc em, .Extract-Telegramtel em, .Extract-Inscriptionins em, .Extract-ScheduleofEventssch em {
  font-style: normal;
}
*[class^="Extract"], *[class*="Extract"] {
  font-style: italic;
}
/* for kindle */
blockquote p:first-child {
  margin-left: 0;
}
/*
--------------------------------------------------
LETTERS
--------------------------------------------------
*/
.LetterExtHeadnotehn + p, .LetterExtAddressladd, .LetterExtSalutationlsa, .LetterExtClosinglcl, .LetterExtSignaturelsig, .LetterExtPostscriptlps {
  text-indent: 0;
}
*[class^="LetterExtHeadnote"] + p, *[class^="LetterExtAddress"], *[class^="LetterExtSalutation"], *[class^="LetterExtClosing"], *[class^="LetterExtSignature"], *[class^="LetterExtPostscript"] {
  text-indent: 0;
}
p + .LetterExtSalutationlsa, .LetterExtClosinglcl, .LetterExtSignaturelsig, .LetterExtPostscriptlps {
  margin-top: 1em;
}
p + *[class^="LetterExtSalutation"], *[class^="LetterExtClosing"], *[class^="LetterExtSignature"], *[class^="LetterExtPostscript"] {
  margin-top: 1em;
}
.LetterExtClosinglcl + .LetterExtSignaturelsig {
  margin-top: 0;
}
*[class^="LetterExtClosing"] + *[class^="LetterExtSignature"] {
  margin-top: 0;
}
/*
--------------------------------------------------
SCREENPLAY
--------------------------------------------------
*/
/*
--------------------------------------------------
POETRY
--------------------------------------------------
*/
.VerseTextvtx, .Epigraph-verseepiv, .FMEpigraph-versefmepiv, .PartEpigraph-versepepiv, .ChapEpigraph-versecepiv, .Extract-VerseorPoetryextv, .Extract-SongLyricextsl, .EpigraphinText-versetepiv, .PoemEpigraph-versevepiv, .BoxEpigraph-versebepiv, .BoxExtract-Versebextv, .SidebarEpigraph-versesbepiv, .SidebarExtract-Versesbextv, .Example-Versevexa {
  margin-left: 1.5em;
  text-indent: -1.5em;
}
*[class^="VerseText"], *[class^="Epigraph-verse"], *[class^="FMEpigraph-verse"], *[class^="PartEpigraph-verse"], *[class^="ChapEpigraph-verse"], *[class^="Extract-VerseorPoetry"], *[class^="Extract-SongLyric"], *[class^="EpigraphinText-verse"], *[class^="PoemEpigraph-verse"], *[class^="BoxEpigraph-verse"], *[class^="BoxExtract-Verse"], *[class^="SidebarEpigraph-verse"], *[class^="SidebarExtract-Verse"], *[class^="Example-Verse"] {
  margin-left: 1.5em;
  text-indent: -1.5em;
}
blockquote .VerseTextvtx:first-child, blockquote .Epigraph-verseepiv:first-child, blockquote .FMEpigraph-versefmepiv:first-child, blockquote .PartEpigraph-versepepiv:first-child, blockquote .ChapEpigraph-versecepiv:first-child, blockquote .Extract-VerseorPoetryextv:first-child, blockquote .Extract-SongLyricextsl:first-child, blockquote .EpigraphinText-versetepiv:first-child, blockquote .PoemEpigraph-versevepiv:first-child, blockquote .BoxEpigraph-versebepiv:first-child, blockquote .BoxExtract-Versebextv:first-child, blockquote .SidebarEpigraph-versesbepiv:first-child, blockquote .SidebarExtract-Versesbextv:first-child, blockquote .Example-Versevexa:first-child {
  margin-left: 1.5em;
}
blockquote *[class*="-verse"]:first-child, blockquote *[class*="Verse"]:first-child, blockquote *[class^="Extract-SongLyric"]:first-child {
  margin-left: 1.5em;
}
/*
--------------------------------------------------
LISTS
--------------------------------------------------
All list styles are included here. Since some
classes convert as p elements rather than li, they
need to be explicitly told to behave like list
items. Here is an example of the markup and the
basic CSS that would apply to it:

<p class="BulletListItem">foo</p>

[class^="BulletListItem"] {
  display: list-item;
  list-style: disc outside;
  }

Other styles are already converting semantically,
but they still include a p element, like so:

<ul>
  <li class="BulletListItem">
    <p class="BulletListItem">foo</p>
  </li>
</ul>

So, in this case, all the rules of
".BulletListItem" will be applied to both the li
and the p, which means there will be multiple
bullets for each list item. This is why styles
that are converting this way are commented out –
so that the list style will be applied to the li
but not the p. As the conversion tool is updated
to accommodate more of the list styles below,
their class names will each need to be commented
out (or deleted) to avoid the problem of redundant
list markers.

Note also that ordered lists include the numbers
in the text, which is why they have a
list-style-type of "none".

*/
ul, ol {
  margin: 1em 0;
}
li, /*
[class^="ListNum"],
[class^="ListNumSubentry"],
*/*[class^="ListAlpha"], /*
*[class^="ListAlphaSubentry"],
*[class^="ListBullet"],
*[class^="ListBulletSubentry"],
*[class^="ListUnnum"],
*[class^="ListUnnumSubentry"],
*/*[class^="NumberedParagraph"], *[class^="BulletedParagraph"], /*
*[class^="Extract-NumList"],
*[class^="Extract-BulletList"],
*/*[class^="IngredientsList"], *[class^="Sub-RecipeIngredientsList"] /*
*[class^="BoxListNumb"],
*[class^="BoxListBullet"],
*[class^="BoxListUnnum"],
*[class^="SidebarListNum"],
*[class^="SidebarListBullet"],
*[class^="SidebarListUnnum"],
*[class^="AppendixListNum"],
*[class^="AppendixListUnnum"],
*[class^="AppendixListBullet"]
*/ {
  display: list-item;
  list-style-position: outside;
  margin-left: 1.5em;
  text-indent: 0;
}
ol li, /*
*[class^="ListNum"],
*[class^="ListNumSubentry"],
*/*[class^="ListAlpha"], /*
*[class^="ListAlphaSubentry"],
*/*[class^="NumberedParagraph"] /*
*[class^="Extract-NumList"],
*[class^="BoxListNum"],
*[class^="SidebarListNum"],
*[class^="AppendixListNum"]
*/ {
  /*list-style-type: decimal;*/
  list-style-type: none;
  margin-top: 0.5em;
}
/*
*[class^="ListNumSubentry"] {
  list-style-type: lower-roman;
  }
*[class^="ListAlpha"] {
  list-style-type: upper-alpha;
  }
li[class^="ListAlphaSubentry"] {
  list-style-type: lower-alpha;
  }
*/
/*
*[class^="RecipeProcedure"],
*[class^="RecipeProceduresNoIndent"],
*[class^="Sub-RecipeProcedures"],
*[class^="Sub-RecipeProceduresNoIndent"],
*[class^="Definition-Numbered"]
*/
/*
--------------------------------------------------
ILLUSTRATIONS
--------------------------------------------------
*/
*[class^="Illustrationholder"] {
  margin-top: 1em;
  text-align: center;
}
.Illustrationholderill {
  margin-top: 1em;
  text-align: center;
}
h1 + *[class^="Illustrationholder"] {
  background-color: transparent;
}
h1 + .Illustrationholderill {
  background-color: transparent;
}
*[class^="IllustrationSource"] {
  font-size: 0.8em;
  text-align: center;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.IllustrationSourceis {
  font-size: 0.8em;
  text-align: center;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
*[class^="Illustrationholder"] + p, *[class^="IllustrationSource"] + p {
  margin-top: 1em;
}
.Illustrationholderill + p, .IllustrationSourceis + p {
  margin-top: 1em;
}
section.abouttheauthor figure.Illustrationholderill img {
  max-height: 50%;
}
img.titlepage {
  width: 100%;
}
/*
--------------------------------------------------
RECIPES
--------------------------------------------------
*/
/*
--------------------------------------------------
BOXES AND SIDEBARS
--------------------------------------------------
*/
/*
--------------------------------------------------
TABLES, CHARTS, and FIGURES
--------------------------------------------------
*/
/*
--------------------------------------------------
GENERAL BACKMATTER HEADS
--------------------------------------------------
*/
.BMHeadbmh, .BMTitlebmt, .BMSubheadbmsh, .BMHeadALTabmh {
  text-align: center;
}
*[class^="BMHead"], *[class^="BMTitle"], *[class^="BMSubhead"], *[class^="BMHeadALT"] {
  text-align: center;
}
/*
--------------------------------------------------
APPENDICES
--------------------------------------------------
*/
/*
--------------------------------------------------
BOB ADS
--------------------------------------------------
*/
/*
--------------------------------------------------
GLOSSARY and DICTIONARY-STYLE ENTRIES
--------------------------------------------------
*/
/*
--------------------------------------------------
ADDRESSES
--------------------------------------------------
*/
/*
--------------------------------------------------
NOTES SECTION
--------------------------------------------------
*/
/*
--------------------------------------------------
BIBLIOGRAPHY
--------------------------------------------------
*/
/*
--------------------------------------------------
INDEX
--------------------------------------------------
*/
/*
--------------------------------------------------
Misc
--------------------------------------------------
*/
/*
--------------------------------------------------
Nonprinting elements
--------------------------------------------------
*/
h1.ChapTitleNonprintingctnp {
  display: none;
}
*[class*="Nonprinting"] {
  display: none;
}
.Nonprinting {
  display: none;
}

After cleaning up the CSS and HTML, I was able to get the CSS to look like this with just 18 classes and it's a lot simpler and the eBook is much better formatted.
Code:

blockquote {
  margin: 1em 1.5em;
}
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
img {
  max-width: 100%;
  max-height: 100%;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
.caption {
  font-size: small;
  text-align: center;
  text-indent: 0;
  margin-bottom: 1em;
}
.ChapTitlect {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}
.closing {
  text-align: right;
  margin-top: 0.3em;
  margin-bottom: 0.5em;
  text-indent: 0;
}
.closing2 {
  text-align: right;
  text-indent: 0;
}
.cop {
  font-size: small;
  text-indent: 0;
}
.cop-space {
  font-size: small;
  margin-top: 0.8em;
  text-indent: 0;
}
.cover {
  text-align: center;
  text-indent: 0;
  height: 100%;
}
.dear {
  text-indent: 0;
}
.ded {
  font-style: italic;
  text-align: center;
  text-indent: 0;
  margin-top: 2em;
}
.ded1 {
  font-style: italic;
  text-align: center;
  text-indent: 0;
}
.noindent {
  text-indent: 0;
}
.ptitle {
  font-size: x-large;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  margin-top: 2em;
}
.smallcaps {
  font-size: 0.8em;
}
.space {
  margin-top: 1em;
}
.spacebreak {
  text-align: center;
  text-indent: 0;
  margin-top: 0.8em;
  margin-bottom: 0.5em;
}

Indexing all works in an ebook

$
0
0
I have one acquaintance who wants to have a mass of words in his magnum opus to be in an index with the page location of each word and the page location linked back to the word. He also wants this to show in an azw3/kfx Kindle format conversion.

You would see a word index (I can't bring myself to call it a concordance) where clicking on the page number e.g. 76 would move to that page in ebook preferably with the cursor on the word aardvark.

aardvark pg. 1, pg. 14, pg. 49, pg. 76
syzygy pg. 21, pg 48, pg. 103

My suggestion was that he forget the idea since a reflowable ebook does not have fixed page numbers and creating the index he wants would take an incredible amount of work for no real gain.

His argument is that there must be an automated solution to doing this task pointing at AntConc 3.5.8 as an example, the other example he pointed out was written in Fortran and has not been maintained since the 80's.

I'm asking for any feedback from anyone who has managed a similar task.

Edit: could an moderator change the title to all words instead of all works? Please?

duplicate error epub3 but not epub2

$
0
0
I'm making ebooks from Indesign cc, fairly simple text ebooks with a couple of logo images - 3 pages in book form: a ToC page, a copyright page and the text page. When I export the book to reflowable epub using epub 2.0.1 the finished book validates fine. When I export it to epub 3 it comes up with this error:

ERROR OPF-060 .\Bill Direen\Coma\Final Indesign Files\Coma Final.epub Duplicate entry in the ZIP file: 'OEBPS/toc.xhtml'.

I've run the epub in Calibre and it comes up with the KeyError popup, without being able to fix it, and I'm not sure how to.

I recreated the entire book in Indesign, new book chapters, new ToC and new copyright page, new book file, the same thing happens though - epub 3 throws up the error.

Any ideas?

top margin padding in Apple Books

$
0
0
I am new to making ebooks, but I have to do a lot, about 60, which is a backlist for a small press publisher.

This must be an old question, but the epub file I've made is formatted with large top margins - it's the style of the book, which is very short stories that begin part way down each page.

Its format looks great on a kobo, or on kindle previewer, or calibre ereader, etc. With margin-top set to 180px; in the style sheet.

However, when it goes into Apple Books on an ipad the top margins are gone. And there are blank pages between the short chapters where the top margins should be. Is this a familiar problem with a well-known solution? How to have top-margin padding show up on the Apple Books app?

thanks.

Letter-spacing

$
0
0
Is there a way to make letter-spacing work in epub?

Problem with images in ADE

$
0
0
Hey there, I've got this weird problem in which two images, same class, similar dimensions, both inside <p></p>, both at the end of their HTMLXs, are rendered terribly different by ADE (one is rendered the correct size, the other is minuscule).

Attached Thumbnails
Click image for larger version

Name:	Untitled-2_0002_Layer 2.jpg
Views:	N/A
Size:	452.3 KB
ID:	179492   Click image for larger version

Name:	Untitled-2_0003_Layer 1.jpg
Views:	N/A
Size:	368.5 KB
ID:	179493   Click image for larger version

Name:	Untitled-2_0001_Layer 3.jpg
Views:	N/A
Size:	71.1 KB
ID:	179494   Click image for larger version

Name:	Untitled-2_0000_Layer 5.jpg
Views:	N/A
Size:	167.6 KB
ID:	179495   Click image for larger version

Name:	Untitled-2.jpg
Views:	N/A
Size:	374.8 KB
ID:	179496  

Publishing@W3c Epub Survey Results

Viewing all 1881 articles
Browse latest View live