Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2017, 09:37 AM   #1
AlanRoberts
Member
AlanRoberts began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jan 2014
Device: Android tablet + FBReader
navbar, test versus book generation

When I use ebook-convert to test my recipe and look at the results in the browser, the navigation bar renders as a line across the page. When I run and create an Epub, download the book to my tablet, and read (with FBreader), the navigation bar is stacked vertically.

Is there anything which can get me back to line-across for the navigation bar?

Thanks,
Alan
AlanRoberts is offline   Reply With Quote
Old 08-16-2017, 10:06 AM   #2
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not sure what you are asking for. calibre cannot control how FBreader chooses to render HTML. There is no difference in the navbars created by calibre between test and normal runs, as long as you use the same output profile in both.
kovidgoyal is offline   Reply With Quote
Old 08-18-2017, 08:53 AM   #3
AlanRoberts
Member
AlanRoberts began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jan 2014
Device: Android tablet + FBReader
Quote:
Originally Posted by kovidgoyal View Post
... There is no difference in the navbars created by calibre between test and normal runs, as long as you use the same output profile in both.
Useful clue, I hadn't been specifying a profile when running a test convert. I extracted all the files from an actual epub (output profile is "Tablet"), and instead of the div styled with calibre_navbar, I see a table styled with touchscreen_navbar along with table elements styled with pcalibre and article[s]_link styles.

This also renders in a desirable fashion (single row, across most of the page width) when I view with a browser, but still stacks vertically in the center of the page width when viewed with FBreader. I'll see if I can figure out what part of the CSS the app isn't rendering correctly.

Can I override these styles via extra_css?

Thanks,
Alan
AlanRoberts is offline   Reply With Quote
Old 08-18-2017, 12:16 PM   #4
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No they cannot be controlled, they are hardcoded in the output profile.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Caliber Book Cover generation problem Honeychem Conversion 2 08-06-2015 11:03 AM
How to cancel 'book' generation if no articles found Big Al Recipes 3 01-31-2011 07:13 PM
Remove navbar in newsfeeds for Kindle/mobi [calibre] TWiTCommander Calibre 13 07-28-2010 03:09 PM
Free e-book: My Digital Generation Bob Russell Deals and Resources (No Self-Promotion or Affiliate Links) 7 02-16-2008 10:39 AM
Next generation e-book hardware by Microsoft? Alexander Turcic News 3 04-15-2005 08:50 PM


All times are GMT -4. The time now is 01:05 PM.


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