12-14-2017, 06:51 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2017
Device: tolino page
|
CSS files not always "recognized" in tolino page
I have edited two books using calibre (Add books -> add empty book), both of them use a .css file where I define all styles. The problem is that in only one of the two books I actually see the effect of .css in my tolino device.
Here are the two metadata files: 1) WORKS Code:
<?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0" prefix="calibre: https://calibre-ebook.com"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:title>Nutritional quality of organic food: a systematic review</dc:title> <dc:creator opf:role="aut" opf:file-as="utente01">utente01</dc:creator> <dc:identifier opf:scheme="uuid" id="uuid_id">690c02b0-b093-469c-852d-8915d18625f2</dc:identifier> <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (3.13.0) [https://calibre-ebook.com]</dc:contributor> <dc:date>0101-01-01T00:00:00+00:00</dc:date> <dc:language>it</dc:language> <dc:identifier opf:scheme="calibre">090c685a-44c6-4720-98ff-72bbf3111266</dc:identifier> <meta content="{"utente01": ""}" name="calibre:author_link_map"/> <meta name="calibre:title_sort" content="Nutritional quality of organic food: a systematic review"/> <meta name="cover" content="cover"/> </metadata> <manifest> <item href="titlepage.xhtml" id="titlepage" media-type="application/xhtml+xml"/> <item href="start.xhtml" id="start" media-type="application/xhtml+xml"/> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/> <item href="./style.css" id="styleshee" media-type="text/css"/> <item href="style.css" id="id" media-type="text/css"/> <item href="journal_logo.gif" id="cover" media-type="image/gif"/> </manifest> <spine toc="ncx"> <itemref idref="titlepage"/> <itemref idref="start"/> </spine> <guide> <reference href="titlepage.xhtml" title="Copertina" type="cover"/> </guide> </package> ./ titlepage.xhtml start.xhtml style.css 2) DOES NOT WORK Code:
<?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0" prefix="calibre: https://calibre-ebook.com"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:title>Sconosciuto</dc:title> <dc:creator opf:role="aut" opf:file-as="Science">Science</dc:creator> <dc:identifier opf:scheme="uuid" id="uuid_id">2e744e7a-1da6-4e68-86d3-c2f521141b67</dc:identifier> <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (3.13.0) [https://calibre-ebook.com]</dc:contributor> <dc:date>0101-01-01T00:00:00+00:00</dc:date> <dc:language>it</dc:language> <dc:identifier opf:scheme="calibre">37adb220-f728-4596-b297-40a6c094dc8a</dc:identifier> <meta content="{"Science": ""}" name="calibre:author_link_map"/> <meta name="cover" content="cover"/> </metadata> <manifest> <item href="titlepage.xhtml" id="titlepage" media-type="application/xhtml+xml"/> <item href="start.xhtml" id="start" media-type="application/xhtml+xml"/> <item href="article.xhtml" id="id" media-type="application/xhtml+xml"/> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/> <item href="./style.css" id="stylesheet1" media-type="text/css"/> <item href="style.css" id="id1" media-type="text/css"/> <item href="56af5d9acf4937f5582bf5d7.png" id="cover" media-type="image/png"/> </manifest> <spine toc="ncx"> <itemref idref="titlepage"/> <itemref idref="start"/> <itemref idref="id"/> </spine> <guide> <reference href="titlepage.xhtml" title="Copertina" type="cover"/> </guide> </package> ./ titlepage.xhtml start.xhtml article.xhtml style.css In all xhtml files I include the style.css! Please, can you help me? Last edited by SimoneMSR; 12-14-2017 at 06:54 PM. Reason: forgot an important thing. |
12-15-2017, 07:36 AM | #2 | |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
Sent from my Nexus 7 using Tapatalk |
|
Advert | |
|
Tags |
css, tolino-page |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
S&R on "selected files" and CSS | AlanHK | Sigil | 17 | 10-09-2017 10:41 AM |
CSS to "wrap" text between two .xhtml files? | december | Sigil | 28 | 12-06-2013 03:29 PM |
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware | VirgoGirl | Kobo Reader | 4 | 04-06-2012 02:10 PM |
Fixed Layout Sample ".mobi" file with package(html, css, opf, ncx files). | Sushil | Kindle Fire | 1 | 01-13-2012 07:16 AM |
Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Kindle Formats | 2 | 07-11-2010 04:21 PM |