View Single Post
Old 05-12-2021, 01:49 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,600
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Looking at your posts, a simple copy and paste of the CSS styles and HTML text would have been easier than your Word document.

As it is, I would suggest that you are not error checking your epub. Looking at where you show:

Code:
<p class="Capitular">

<p class="block14">Sofia estava consultando etc.
A <p> tag is not nestable. <p><p></p></p> is not a valid construct.

When I typed the above into an epub in Sigil and added the 2 </p>s, epubcheck threw the following error message:

Code:
Col: 20: ERROR(RSC-005): Error while parsing file: element "p" not allowed here; expected the element end-tag, text, element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "picture", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "template", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg") or an element from another namespace
If I modified the code to:

Code:
<p class="Capitular block14">Sofia estava consultando etc.</p>
the drop cap showed up. See attached image for what it looked like.
Attached Thumbnails
Click image for larger version

Name:	dropcap.png
Views:	184
Size:	28.7 KB
ID:	187093  

Last edited by DNSB; 05-12-2021 at 02:06 PM.
DNSB is offline   Reply With Quote