Register Guidelines E-Books Search Today's Posts Mark Forums Read

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,252
Karma: 12572656
Join Date: May 2010
Location: Duisburg (DE)
Device: BeBook mini
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: 2,867
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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
Book Twiddler
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: 1,935
Karma: 1405001
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: 62,773
Karma: 40390405
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
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,252
Karma: 12572656
Join Date: May 2010
Location: Duisburg (DE)
Device: BeBook mini
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
Grand Sorcerer
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: 14,274
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 online now   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: 2,867
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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: 583
Karma: 1258323
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
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: 36,231
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
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 online now   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: 8,772
Karma: 39540023
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 online now   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: 583
Karma: 1258323
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
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: 8,772
Karma: 39540023
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 online now   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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:56 AM.


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