Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2021, 01:31 PM   #1
Robertovr
Junior Member
Robertovr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Drop Caps Disappears

Hi everyone, I added Drop Caps to my eBook epub in Caliber and in View mode it looks good, but when I use Read mode Drop Caps disappears!
May someone teach me to fix it?
Thanks a lot!
Robertovr is offline   Reply With Quote
Old 05-11-2021, 01:37 PM   #2
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: 45,293
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Robertovr View Post
Hi everyone, I added Drop Caps to my eBook epub in Caliber and in View mode it looks good, but when I use Read mode Drop Caps disappears!
May someone teach me to fix it?
Thanks a lot!
You are going to have to give a lot more information including the CSS and samples of your dropcap implementation to get a meaningful answer. If the book is not copyrighted or you have the rights to it, you could attach it to a message in this thread.
DNSB is online now   Reply With Quote
Advert
Old 05-11-2021, 03:23 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Also, Your viewer needs to honor (be set) to use Publishers styles.
But we really need to see snips of the code AND relevant stylesheet sections
theducks is offline   Reply With Quote
Old 05-12-2021, 09:42 AM   #4
Robertovr
Junior Member
Robertovr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Drop Caps Disapears

Quote:
Originally Posted by theducks View Post
Also, Your viewer needs to honor (be set) to use Publishers styles.
But we really need to see snips of the code AND relevant stylesheet sections
Thanks both Doctype and Theducks!
I am attaching the information and samples to this message.
Wherever tip you have for me will be great.
Attached Files
File Type: docx Drop Caps and HTML Chapter 1.docx (659.1 KB, 183 views)
Robertovr is offline   Reply With Quote
Old 05-12-2021, 09:51 AM   #5
Robertovr
Junior Member
Robertovr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Drop Caps Disapears

Quote:
Originally Posted by Robertovr View Post
Thanks both Doctype and Theducks!
I am attaching the information and samples to this message.
Wherever tip you have for me will be great.
I am including other information in the attachment file.
Attached Files
File Type: docx Drop Caps and HTML Chapter 1.docx (911.8 KB, 173 views)
Robertovr is offline   Reply With Quote
Advert
Old 05-12-2021, 10:04 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,397
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Attach the screen caps. Putting them in a word processing document it not the way to show what you are trying to show. Your screen caps are too small as they are in the Word document and it too much hassle for us to make them larger. That's your job to make them clearly readable.
JSWolf is offline   Reply With Quote
Old 05-12-2021, 11:13 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That hurt my old eyes.

I did not ask for a 'screen capture'. It is kinda hard to scroll, switch to the CSS
theducks is offline   Reply With Quote
Old 05-12-2021, 01:01 PM   #8
Robertovr
Junior Member
Robertovr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Drop Caps Disapears

Quote:
Originally Posted by theducks View Post
That hurt my old eyes.

I did not ask for a 'screen capture'. It is kinda hard to scroll, switch to the CSS
Guys, I'm doing my best to follow your instructions and obtain your help. I attached a new image 250% bigger.
Even the old man that I am, are capable to read this letters, numbers and so on. So, I know You can do it too.
I apreciate your good will.
Attached Files
File Type: docx Drop Caps and HTML Chapter 1.docx (1.69 MB, 190 views)
Robertovr is offline   Reply With Quote
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: 45,293
Karma: 168808723
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:	182
Size:	28.7 KB
ID:	187093  

Last edited by DNSB; 05-12-2021 at 02:06 PM.
DNSB is online now   Reply With Quote
Old 05-12-2021, 04:02 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,397
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The problem with a drop cap is that it may look good on your setup, but it may not look good on my setup. I may want a different line height and/or a different font and so the drop cap doesn't work well. The thing to do is to just forget drop caps.
JSWolf is offline   Reply With Quote
Old 05-12-2021, 05:59 PM   #11
Robertovr
Junior Member
Robertovr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Drop Caps Disappears

I want to thanks to DNSB for your good will to help me and congrats, him or her, I do not Know - for the correct solution for the problem that I presented.
Robertovr is offline   Reply With Quote
Old 05-12-2021, 06:25 PM   #12
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,362
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Moderator Notice
Threads merged
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Caps Disappears Robertovr Calibre Companion 3 05-11-2021 01:48 PM
Best Way for Drop Caps Wlan ePub 62 07-03-2018 07:11 PM
Drop caps RandyK Conversion 2 05-18-2014 09:13 PM
drop caps in paperwhite? morrow Kindle Formats 7 12-11-2012 12:10 PM
Drop caps huebi ePub 8 03-04-2012 06:25 AM


All times are GMT -4. The time now is 06:18 PM.


MobileRead.com is a privately owned, operated and funded community.