Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-29-2017, 12:21 PM   #1
rikemice
Junior Member
rikemice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: iPad/Nook/Kindle
Exclamation Lost CSS / cover

I've been using Calibre for a few years now to produce an ePubs for release on iPad/Nook/Kindle. I generally know my way around Calibre, at least enough to get the job done, but ran into a few problems this year that I can't sort out.

I produce the books in InDesign, export them as ePub files, then clean them up/convert them in Calibre.

I test everything on iPad (it's what I have) and once that's ready I convert them for the other two readers and use online tools to make sure they look OK. It has been about a year since I did this last, and I can't get past the first step.

1) Cover image
I cannot get my cover image to show up when the file is imported into iBooks. It is attached in the metadata and there is a designated titlepage.xhtml file. It looks fine in Calibre, but when I load it into iBooks, I just get the generic book cover.

I have tried unzipping the epub file and adding an itunesartwork file there (a suggestion I found online), but that doesn't do anything.

2) CSS lost on conversion
I always have to tweak my CSS after importing from InDesign and everything looks good in Calibre. If I export that file to iBooks, the pages look good. But if I use Calibre to convert the file to iPad3, it strips all CSS from the ePub. (The stylesheets still exist, but the file does not recognize them.) Obviously, I have a file that works. But I am concerned that I will run into the same problem when I optimize the file for Nook/Kindle.

3) Missing text
This is a first for me. I noticed that the end of my last chapter is cut off in iBooks. The text is there if you shrink the type size down enough, but you have to get pretty small. This is not a problem in any other chapter. I added a blank chapter after the book, and that seems to have fixed the problem, but I'm curious if anyone else has other solutions?

Thanks for any help you've got ...
rikemice is offline   Reply With Quote
Old 04-29-2017, 02:10 PM   #2
rikemice
Junior Member
rikemice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: iPad/Nook/Kindle
Update: The cover is apparently a problem with the iPad I use for testing. Cover shows up fine on other devices. (All software is up to date, so I don't know ...)

Conversion to iPad3 still kills my stylesheets though ...
rikemice is offline   Reply With Quote
Advert
Old 04-29-2017, 02:10 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Old 04-29-2017, 02:42 PM   #4
rikemice
Junior Member
rikemice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: iPad/Nook/Kindle
Attached epub files. The file that begins with c is the converted file.

Conversion log:

Spoiler:
Convert book 1 of 1 (Redemption's Run)
Conversion options changed from defaults:
verbose: 2
output_profile: 'ipad3'
cover: u'/var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/BgsbVe.jpeg'
read_metadata_from_opf: u'/var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/DB_t5v.opf'
Resolved conversion options
calibre version: 2.83.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/BgsbVe.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x10a62c3d0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.iPad3Output object at 0x10a62c990>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/DB_t5v.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/V8TWHF.epub
Found HTML cover OEBPS/titlepage.xhtml
Parsing all content...
Parsing OEBPS/22-Chapter17.xhtml ...
Parsing OEBPS/09-Chapter4.xhtml ...
Parsing OEBPS/02-Legal.xhtml ...
Parsing OEBPS/01-Titlepage.xhtml ...
Parsing OEBPS/10-Chapter5.xhtml ...
Parsing OEBPS/25-Chapter20.xhtml ...
Parsing OEBPS/26-Chapter21.xhtml ...
Parsing OEBPS/03-Dedication.xhtml ...
Parsing OEBPS/27-Chapter22.xhtml ...
Parsing OEBPS/28-Chapter23.xhtml ...
Parsing OEBPS/12-Chapter7.xhtml ...
Parsing OEBPS/23-Chapter18.xhtml ...
Parsing OEBPS/29-Chapter24.xhtml ...
Parsing OEBPS/16-Chapter11.xhtml ...
Parsing OEBPS/18-Chapter13.xhtml ...
Parsing OEBPS/30-Chapter25.xhtml ...
Parsing OEBPS/13-Chapter8.xhtml ...
Parsing OEBPS/32-empty.xhtml ...
Parsing OEBPS/31-Author.xhtml ...
Parsing OEBPS/06-Chapter1.xhtml ...
Parsing OEBPS/14-Chapter9.xhtml ...
Parsing OEBPS/04-TOC.xhtml ...
Parsing OEBPS/15-Chapter10.xhtml ...
Parsing OEBPS/css/test1_idstyles.css ...
Parsing OEBPS/11-Chapter6.xhtml ...
Parsing OEBPS/07-Chapter2.xhtml ...
Parsing OEBPS/24-Chapter19.xhtml ...
Parsing OEBPS/17-Chapter12.xhtml ...
Parsing OEBPS/20-Chapter15.xhtml ...
Parsing OEBPS/titlepage.xhtml ...
Parsing OEBPS/08-Chapter3.xhtml ...
Parsing OEBPS/21-Chapter16.xhtml ...
Parsing OEBPS/19-Chapter14.xhtml ...
Parsing OEBPS/05-Prologue.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 32 items of level: div_1
Found 2700 items of level: p_2
div_1 left margin stats: Counter({u'0': 30})
div_1 right margin stats: Counter({u'0': 30})
p_2 left margin stats: Counter({u'0': 2700})
p_2 right margin stats: Counter({u'0': 2700})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/titlepage.xhtml' from manifest
Creating EPUB Output...
Rescaling image from 1454x2140 to 1018x1499 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/22-Chapter17.xhtml...
No large trees found
Looking for large trees in OEBPS/09-Chapter4.xhtml...
No large trees found
Looking for large trees in OEBPS/02-Legal.xhtml...
No large trees found
Looking for large trees in OEBPS/01-Titlepage.xhtml...
No large trees found
Looking for large trees in OEBPS/10-Chapter5.xhtml...
No large trees found
Looking for large trees in OEBPS/25-Chapter20.xhtml...
No large trees found
Looking for large trees in OEBPS/26-Chapter21.xhtml...
No large trees found
Looking for large trees in OEBPS/03-Dedication.xhtml...
No large trees found
Looking for large trees in OEBPS/27-Chapter22.xhtml...
No large trees found
Looking for large trees in OEBPS/28-Chapter23.xhtml...
No large trees found
Looking for large trees in OEBPS/12-Chapter7.xhtml...
No large trees found
Looking for large trees in OEBPS/23-Chapter18.xhtml...
No large trees found
Looking for large trees in OEBPS/29-Chapter24.xhtml...
No large trees found
Looking for large trees in OEBPS/16-Chapter11.xhtml...
No large trees found
Looking for large trees in OEBPS/18-Chapter13.xhtml...
No large trees found
Looking for large trees in OEBPS/30-Chapter25.xhtml...
No large trees found
Looking for large trees in OEBPS/13-Chapter8.xhtml...
No large trees found
Looking for large trees in OEBPS/32-empty.xhtml...
No large trees found
Looking for large trees in OEBPS/31-Author.xhtml...
No large trees found
Looking for large trees in OEBPS/06-Chapter1.xhtml...
No large trees found
Looking for large trees in OEBPS/14-Chapter9.xhtml...
No large trees found
Looking for large trees in OEBPS/04-TOC.xhtml...
No large trees found
Looking for large trees in OEBPS/15-Chapter10.xhtml...
No large trees found
Looking for large trees in OEBPS/11-Chapter6.xhtml...
No large trees found
Looking for large trees in OEBPS/07-Chapter2.xhtml...
No large trees found
Looking for large trees in OEBPS/24-Chapter19.xhtml...
No large trees found
Looking for large trees in OEBPS/17-Chapter12.xhtml...
No large trees found
Looking for large trees in OEBPS/20-Chapter15.xhtml...
No large trees found
Looking for large trees in OEBPS/08-Chapter3.xhtml...
No large trees found
Looking for large trees in OEBPS/21-Chapter16.xhtml...
No large trees found
Looking for large trees in OEBPS/19-Chapter14.xhtml...
No large trees found
Looking for large trees in OEBPS/05-Prologue.xhtml...
No large trees found
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Encrypting font: OEBPS/font/MinionPro-Regular.otf
Encrypting font: OEBPS/font/TimesNewRomanPS-BoldMT.ttf
Encrypting font: OEBPS/font/TimesNewRomanPSMT.ttf
Encrypting font: OEBPS/font/ArialMT.ttf
Encrypting font: OEBPS/font/TimesNewRomanPS-ItalicMT.ttf
EPUB output written to /var/folders/fn/19dx9zg54rldkdbgh05m8lb00000gn/C/calibre_2.83.0_tmp_OrhxR3/ilIfUF.epub


All style sheets strip out on conversion resulting in default text.
No settings were changed from default conversion.

Moderator Notice
Attachments Removed - posting copyright protected material is not allowed on these forums

Read the Guidelines there's a link at bottom of every page

BR

Last edited by BetterRed; 04-29-2017 at 05:56 PM. Reason: Remove copyright protected attachments
rikemice is offline   Reply With Quote
Old 04-29-2017, 02:56 PM   #5
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: 74,037
Karma: 129333114
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 rikemice View Post
Update: The cover is apparently a problem with the iPad I use for testing. Cover shows up fine on other devices. (All software is up to date, so I don't know ...)

Conversion to iPad3 still kills my stylesheets though ...
You need to not use iPad as a generic term for whatever reading app you are using. You need to specify the app you are using. So what app are you using? If it's iBooks, time to find a different app.
JSWolf is offline   Reply With Quote
Advert
Old 04-29-2017, 05:33 PM   #6
rikemice
Junior Member
rikemice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: iPad/Nook/Kindle
Sorry, I was going by what is available as a setting conversions. I am trying to format for an iPad using iBooks. And I'm stuck with that reader (in addition to kindle and nook.)

Thanks.
rikemice is offline   Reply With Quote
Old 04-29-2017, 05:45 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,177
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
The output profile does not do a great deal; it's main purpose is to specify the screen size to allow rescaling of images.

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 04-29-2017, 10:04 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If the files are copyrighted you cannot attach them on mobileread, instead opena bug report and attach them there and mark it private.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me with CSS code...am really lost Iroc ePub 21 03-31-2013 05:42 PM
Lost trying to get url for time.com cover Olger Recipes 3 02-14-2012 09:04 AM
Lost in CSS for a motto Artha ePub 1 12-01-2011 02:43 AM
Lost cover art on 'Synching' Duiker Kobo Reader 10 05-27-2010 09:21 AM


All times are GMT -4. The time now is 05:11 AM.


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