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 09-15-2011, 02:31 AM   #1
dasboeh
Junior Member
dasboeh is on a distinguished road
 
Posts: 9
Karma: 50
Join Date: Oct 2009
Device: Bokeen Cybook Opus; Sony PRS-300; Amazon Kindle 3rd
Question iBooks messing up my unsorted lists

Hello out there!

Hope I'm in the right place for this question.

I'm doing an ePUB project for a customer of mine. And there's a certain problem with unsorted lists and iBooks. This problem doesn't happen with the other reading programs or eReaders!
(P.S. the ePUB was exported by InDesign and manually changed.)

Screenshots:


I switched the font to Cochin, where the problem is more visible.

As you can see the font-family and -size between the <ul>-tags is different from the other text. Whereas in <span>-tags it behaves as I wish.
(What's puzzling me: doesn't iBooks always override the embedded fonts?!)

Here the HTML-Code:
Code:
<p class="Tipps---berschrift">Praxistipps</p>
<ul>
<li><span class="fett">Überlege:</span> Welche Menschen, denen du in letzter Zeit begegnet bist, waren dir sympathisch? <br/>Wo bahnt sich etwas an? </li>
<li><span class="fett">Erweiteren:</span> Es gibt Orte und Aktivitäten, bei denen du dich bei ersten Begegnungen sicher fühlst. Erweitere das, indem du neue Orte und Ansprachen ausprobierst. </li>
<li><span class="fett">Wahrnehmen:</span> Übe dich darin, körpersprachliche Signale von Sympathie und Antipathie, die andere aussenden, bewusst wahrzunehmen. </li>
</ul>

<p class="Tipps---berschrift">Buchtipps </p>
<ul>
<li>Wolfgang Krüger: <span class="kursiv">Wie man Freunde fürs Leben gewinnt: Vom Glück einer besonderen Beziehung. </span>Herder, 2010.</li>
<li>Rosemarie Stresemann: <span class="kursiv">Mich zeigen. Leben ohne falsche Scham.</span> Down to Earth, 2010</li>
</ul>
Here parts of the CSS:
Code:
ul {
	font-family : "DejaVuSerif", serif;
	font-weight : normal;
	font-style : normal;
	font-size : 0.85em;
	text-decoration : none;
	font-variant : normal;
	line-height : 1.3;
	text-align : left;
	color : #000000;
	text-indent : 0px;
	list-style-type: square;
	margin: 0.5em 0em 0em 1.5em;
}
li {
	margin : 0px 0px 0.5em 0px;
}
span.kursiv {
	font-family : "DejaVuSerif-Italic", serif;
	font-weight : normal;
	font-style : italic;
}
span.fett {
	font-family : "DejaVuSerif-Bold", serif;
	font-weight : bold;
	font-style : normal;
	color : #313131;
}
Is there a way to solve that problem? I really don't wanna wrap all the lists in this book in <span>-tags manually, because there are lots of them...!

Thank you for your kind help.

Stefan

Last edited by dasboeh; 09-15-2011 at 02:37 AM.
dasboeh is offline   Reply With Quote
Old 09-15-2011, 02:50 AM   #2
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Did you try exporting witt he the "Convert numbered lists to text" enabled?
wannabee is offline   Reply With Quote
Advert
Old 09-15-2011, 03:29 AM   #3
dasboeh
Junior Member
dasboeh is on a distinguished road
 
Posts: 9
Karma: 50
Join Date: Oct 2009
Device: Bokeen Cybook Opus; Sony PRS-300; Amazon Kindle 3rd
Quote:
Originally Posted by wannabee View Post
Did you try exporting witt he the "Convert numbered lists to text" enabled?
I tried this first. But the black small square (▪) was not shown by ADE or the Sony Reader. Instead they showed a big "?". So I changed to export to unsorted lists.
dasboeh is offline   Reply With Quote
Old 09-15-2011, 04:36 AM   #4
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
It should work though. As a work-around, I think you could create a span class for the normal text and remove is from the <ul> class. You could also try to put the font family in the <li> class instead of the <ul> class.
Toxaris 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
has anyone gotten blacklisted for messing around with their kindle? arfarf624 Kindle Developer's Corner 2 07-20-2011 10:12 AM
I was messing Around With Calibre Silverone Amazon Kindle 4 09-27-2010 02:15 PM
Author Sort is messing things up DrJanet Calibre 36 02-08-2010 01:43 PM
505 Messing Up After a Full Shutdown Michele Sony Reader 1 06-26-2009 05:56 PM
Managing wish lists Elsi Amazon Kindle 5 02-28-2009 03:20 PM


All times are GMT -4. The time now is 08:15 AM.


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