Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-20-2012, 06:39 AM   #16
Freeshadow
temp. out of service
Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
Quote:
Originally Posted by GraciousMe View Post
The language presents no problems.

ADE and Reader don´t show Italic and Text align.
It presents no problems on your PC, because your OS has the language support for it. Wether stand-alone readers support all needed glyphs is a different topic.

as far as alignment is concerned, check epub subforum for css-snippet examples
Freeshadow is offline   Reply With Quote
Old 06-20-2012, 06:46 AM   #17
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
As I also said in your other thread, if ADE does not display the italic and text align, there is probably an issue in your stylesheet. ADE is very picky and the viewer in Sigil and Calibre very forgiving.
Please post your stylesheet.
Toxaris is offline   Reply With Quote
Old 06-20-2012, 08:32 AM   #18
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Quote:
Originally Posted by GraciousMe View Post
The language presents no problems.

ADE and Reader don´t show Italic and Text align.
The above may not necessarily be true if you have used calibre to create the text.

One of the objections to Calibre, as wonderful as it is, is that in order to achieve cross platform compatibility, it does things in complicated ways. Instead of simply using bold or italic, it creates whole new styles and series of styles. Then it throws in a number of <div class="bs2">s, for example, in order to display ordinary text.

These cascading styles can make it appear that things don't work, when in fact there is an active style which already covers the paragraph in question. This could be the cause of your troubles, as the rendering engines of calibre and Sigil are not the same as in the readers or Reader Library or Kindle for PC.

One other possibility is that reader software may not make any attempt to guess if your code is defective, even to the wrong case being used. Sigil and Calibre's rendering engines I think make more of an attempt to guess, and may work, even though the code is wrong.
mrmikel is offline   Reply With Quote
Old 06-20-2012, 09:54 AM   #19
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by GraciousMe View Post
The language presents no problems.

ADE and Reader don´t show Italic and Text align.
What language is your book in? That's not a secret, is it?
HarryT is offline   Reply With Quote
Old 06-20-2012, 10:14 AM   #20
Freeshadow
temp. out of service
Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
Quote:
Originally Posted by HarryT View Post
What language is your book in? That's not a secret, is it?
Unless there's an Elder Seal on the front cover
Freeshadow is offline   Reply With Quote
Old 06-21-2012, 03:24 PM   #21
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: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by GraciousMe View Post
The language presents no problems.

ADE and Reader don´t show Italic and Text align.
That means you have a stylesheet error.

ADE is not forgiving and will ignore a style or the whole stylesheet if there is an error.
The w3c CSS validation service http://jigsaw.w3.org/css-validator/#validate_by_upload is useful

Look for a typo or a missing or wrongly used colon or semicolon

BTW
you need to imbed the Italic version of a font if you want to use that face
and
you need to embed the Bold_Italic if you want to use that face.

(you could possibly need all 4 faces )
theducks is offline   Reply With Quote
Old 06-22-2012, 02:55 AM   #22
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
This issue is solved. He/she posted the stylesheet in the other thread and there was a quote too much.
Toxaris is offline   Reply With Quote
Old 06-23-2012, 12:39 PM   #23
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Quote:
Originally Posted by theducks View Post

BTW
you need to imbed the Italic version of a font if you want to use that face
and
you need to embed the Bold_Italic if you want to use that face.
You mean if I want to use a specific font for the book?

I´d love to, but this time around I will practice being flexible and not do that, just suggest something general like Garamond / serif.
GraciousMe is offline   Reply With Quote
Old 06-23-2012, 12:41 PM   #24
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Quote:
Originally Posted by HarryT View Post
What language is your book in?
Swedish.

And I wonder if I should insert some code about the language, or if it takes care of itself...
GraciousMe is offline   Reply With Quote
Old 06-23-2012, 03:13 PM   #25
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Insert it in the <language> tag of the <metadata> section of the OPF file. The correct code for Swedish is 'sv'.
AlPe is offline   Reply With Quote
Old 06-23-2012, 05:23 PM   #26
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: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mrmikel View Post
The above may not necessarily be true if you have used calibre to create the text.

One of the objections to Calibre, as wonderful as it is, is that in order to achieve cross platform compatibility, it does things in complicated ways. Instead of simply using bold or italic, it creates whole new styles and series of styles. Then it throws in a number of <div class="bs2">s, for example, in order to display ordinary text.

These cascading styles can make it appear that things don't work, when in fact there is an active style which already covers the paragraph in question. This could be the cause of your troubles, as the rendering engines of calibre and Sigil are not the same as in the readers or Reader Library or Kindle for PC.

One other possibility is that reader software may not make any attempt to guess if your code is defective, even to the wrong case being used. Sigil and Calibre's rendering engines I think make more of an attempt to guess, and may work, even though the code is wrong.
Garbage in, garbage out. Calibre is only as good as the garbage input to it. A lot of Mobipocket eBooks are full of garbage code and thus, Calibre gives similar code to the ePub. I've never had Calibre convert such that an italics/bold did not work as it should have regardless of how messy the code was.
JSWolf is offline   Reply With Quote
Old 06-24-2012, 07:36 AM   #27
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
A lot of Mobipocket eBooks are full of garbage code and thus, Calibre gives similar code to the ePub.
Why do you insist on saying stuff like this? MOBI is no more predisposed to being "full of garbage code" than any other format is. Not supporting CSS means that there will be much more in the way of inline attributes—spans and font tags and the like. It certainly doesn't look as good; I'll grant you that. And while that's unfortunate and not as "pretty" to look at or as "editable" as xhtml with some subtly applied CSS might be, it's not "garbage code," it's the code that's required to make a MOBI function.

Garbage code is garbage code... and no format is immune or predisposed to it. They're all equally susceptible.
DiapDealer is offline   Reply With Quote
Old 06-24-2012, 08:51 AM   #28
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
I agree, except for:

Quote:
Originally Posted by DiapDealer View Post
no format is immune or predisposed to it. They're all equally susceptible.
Counterexample: THIS (Turing-complete, but the name says it all...)

PS: I hope this off-topic-y, "calm-down-guys" post is appreciated for its nature, i.e., for being off-topic and hilarious

PS 2: thanks to the "family friendly rules" of MR, I had to remove the name of the programming language (!) previously cited in the post...

Last edited by AlPe; 06-24-2012 at 09:22 AM. Reason: Added PS and PS2
AlPe is offline   Reply With Quote
Old 06-24-2012, 09:16 AM   #29
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Well, other than not being an eBook format (which is what I meant by "no format")... it is quite humorous.

Not that anyone was excited enough to warrant a "calm-down-guys" post. Just par for the course.
DiapDealer is offline   Reply With Quote
Old 06-24-2012, 09:17 AM   #30
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Quote:
Originally Posted by AlPe View Post
Insert it in the <language> tag of the <metadata> section of the OPF file. The correct code for Swedish is 'sv'.
So that is enough, for the whole book?

No need for this?

<body xml:lang="SV" xmlns:xml="http://www.w3.org/XML/1998/namespace">

I see I have it in some of my chapters. (Still in the process of un-messing it all.)
GraciousMe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPad Testing .epub Files from Calibre on iPad Fabe Apple Devices 46 06-08-2012 04:37 AM
Best epub device for testing BKh Which one should I buy? 5 11-21-2011 12:19 PM
Testing ePub publications with an Android emulator for OSX Giordano Galli Android Developer's Corner 0 09-08-2011 02:49 PM
Testing margins in ePUB. Jellby Workshop 8 01-03-2010 11:57 AM
Book Designer iLiad module is ready for testing vvv iRex 16 09-21-2006 12:57 PM


All times are GMT -4. The time now is 04:50 PM.


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