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 12-22-2020, 04:12 PM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Changes in 5.7.2 - news title, menu

Hi all,
I've upgraded from 4.x to 5.7.2 yesterday and there are two things that bother me in the generated news articles:

- The first page of every article has "| Next | Section menu | Main menu | " on the top. This was there already before but my Kindle did not display it, whereas now it displays it with an ugly typewriter font. For a selected recipe I can suppress that with CSS

.calibre_navbar {display : none;}

but I'm using about 30 mostly self-written or self-modified recipes and it seems to me that there should be a simpler way to do this than to edit 30 recipes.

- Every news recipe adds the date in the form [Tue, 22 Dec 2020] to the title. This is redundant because on my kindle the date is displayed on the Home page under the news title, and wrong because now the new news is not grouped together with the old one because the title is different. Can I remove the date in the title in all the recipes?

I've had a look in the forum and elsewhere but did not find any quick solution, is there any?

Cheers
bubak is offline   Reply With Quote
Old 12-22-2020, 11:27 PM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have changed either your output format to not mobi/azw3 or your output profile to a non-kindle one. Change them back and you will be fine.
kovidgoyal is online now   Reply With Quote
Advert
Old 12-23-2020, 03:48 AM   #3
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
I see, I've completely forgotten about Preferences because I've set them many (:-) years back and haven't changed them since then. So this is a bug report: after upgrading from 4.x to 5.7.2 my output profile in Common options/Page Setup was reset to Default profile, although it was Kindle Voyage before. After changing it back, the news are again ok.

Last edited by bubak; 12-23-2020 at 04:05 AM.
bubak is offline   Reply With Quote
Old 12-23-2020, 03:54 AM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
what API? these are settings in calibre or flags to ebook-convert
kovidgoyal is online now   Reply With Quote
Old 12-23-2020, 11:26 AM   #5
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Sorry, I've edited my first reply and you've probably missed the last version. The problem is that when upgrading to 5.7.2, my output profile was reset to Default profile. I'm quite sure of this because I haven't touched the preferences for years, so I consider this to be a bug.
bubak is offline   Reply With Quote
Advert
Old 12-26-2020, 05:59 AM   #6
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Recipes removed by upgrade

I've noticed another problem caused by the upgrade: I had about 30 recipes running, after the update there are only 16. Looking at the code this was caused by mixing tabs and spaces which is not allowed in python3, I can understand that. But I would have expected calibre to tell me during the upgrade instead of silently removing them.

Last edited by bubak; 12-26-2020 at 06:04 AM.
bubak is offline   Reply With Quote
Old 12-26-2020, 07:06 AM   #7
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: 79,745
Karma: 145864619
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 bubak View Post
Hi all,
I've upgraded from 4.x to 5.7.2 yesterday
Why didn't you upgrade to 5.8.1 instead of an older version?
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[AWOL] Context menu: Alter title text case Sabardeyn Calibre 8 06-26-2014 12:04 AM
Colon in title turns into an underscore on Kindle menu Connor Carroll Library Management 7 12-23-2013 10:45 PM
News Menu Links on Fire/Default Device Dreading Devices 4 12-21-2011 02:12 PM
Suppress next | prev | section | main menu for news? Barty Calibre 2 02-13-2011 08:47 PM
Feature request: menu button: Fetch News goblinbox Calibre 2 05-02-2010 06:04 AM


All times are GMT -4. The time now is 09:23 PM.


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