View Single Post
Old 03-11-2012, 05:55 PM   #13
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by The CB View Post
And here is the part of that exact page. I have to do it like this because I am not sure if I am allowed to post this book here now.
The stylesheet is flawless. (from technical view)

From the picture i can see, that it ignores totally any style.

I made a little epub an run it through callibre to see, what will happen.

First it changes the name of the stylesheet, please check the spelling of your original (link in header). Sometimes the naming of the Stylesheet is case sensitive.

Second it makes some additional declarations in content.opf (i expected this) this could be the solution, just give it a try
Code:
<metadata xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Third it adds (as usual) some styles.

Concerning "page-breaks": Have you considered to make a special format for a <div> to put pagebreaks to any position within the text ? Afaik theres no need to watch out for anchors....

Well I don't find something really obvious, just a bit trial and error ...
mmat1 is offline   Reply With Quote