03-27-2018, 12:53 PM | #46 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Here are the rules I've added to the Transform section of Look and Feel:
Spoiler:
Most of these entries will remove many or most of the CSS codes that Calibre says are invalid, so they are never listed when I check the book after running the conversion--which saves a ton of time. Last edited by theducks; 03-27-2018 at 01:38 PM. Reason: Spoiler neede AGAIN |
03-27-2018, 12:55 PM | #47 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
The Transform rules can be copied and pasted into a file called rules.txt and then imported into your Transform section by clicking the Import button at the bottom of that screen.
The Extra CSS codes can be copied and pasted into the Styling section. These have all been added to my conversion settings periodically over the last several months, as I found each of them or thought of how to fix things, as I modified and converted thousands of files. So, it would be very quick and easy to add all of the above to your conversion settings. Then I would be interested to hear from anyone who thinks this has helped them at all. Last edited by deback; 03-27-2018 at 12:58 PM. |
Advert | |
|
03-27-2018, 01:04 PM | #48 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The extra CSS needs editing. There are things in it that most people won't need. Also, some of your rules need editing/deleting. Plus, your extra CSS is not going to work in a lot of cases. I've seen many eBooks where most of your extra CSS would be useless.This is why hand editing is easier. It works in ALL cases. Plus, once you know who to hand edit, it's not that difficult.
Last edited by JSWolf; 03-27-2018 at 01:06 PM. |
03-27-2018, 01:10 PM | #49 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Convert will ignore the classes that aren't in the current .css file, so if people don't need some of the things, then it doesn't matter, but most things that need to be fixed will be fixed by one or more of those extra CSS codes. As I've said before, there are times when something needs to be fixed manually, but mucho time can be saved by using all of these codes. The lists I posted are only to give people an idea of how to do things automatically and to save time. They can choose what they want and what they don't want.
Let me know what you think needs editing, please. I know of nothing that needs editing or deleting, since I've seen all of these things in books I've worked with in the past, and that's why they are included in the lists. Since I'm a perfectionist, I always proofread everything I do, so I'm fairly sure there are no errors in those two lists. I figured you would post something negative and useless, though, since that's what you do and is why you are called a curmudgeon. Arguing seems to be your life (and I also don't think you actually have read everything I've said). On the other hand, I'm here to help others save lots of time and make all of this go much quicker. Last edited by deback; 03-28-2018 at 09:12 AM. |
10-30-2021, 02:45 PM | #50 |
Morlock
Posts: 33
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
|
But remember, DO NOT CONVERT!
But, I just discovered Kovid's comments about using convert to break books at chapter headings. Some books have huge files that are broken in mid chapter and I was wasting a lot of time splitting them manually. Do I have to go back to that?
|
Advert | |
|
11-05-2021, 03:25 PM | #51 | |
Morlock
Posts: 33
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
|
Formatting all books in library
Quote:
I also create a specific user dictionary, if I have several books from the same author on the same theme. (Name the dictionary for the author or the theme) They usually have specialized words repeated in more than one book. Oh, and I also update the default user dictionary to include properly spelled words such as contractions or common colloquialisms. |
|
11-05-2021, 08:40 PM | #52 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Instead of fixing the css for the p tag what I do is delete the class="whatever" for the p tag, in all of the html files. It's very rare for me to get a book that uses css for an unadorned p (a p with no dot in the css, or a p with no class in the html); they all have some class they use for the vast bulk of the paragraphs. By deleting the class="whatever" I can then search for "p class=" and find any remaining p tags with a class that may need fixing.
|
Tags |
automatic, format, personalization, personlization |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge Formats library into Metadata library? Or, Add Format in bulk? | Sabardeyn | Library Management | 5 | 01-23-2013 06:00 AM |
Formatting from azw4 file format | mandrix | Conversion | 0 | 11-07-2012 01:44 AM |
Keeping books in library in the fb2.zip format | Eugene_ | Library Management | 2 | 09-19-2011 08:39 AM |
Are library books in Adobe Epub format readable on Kindle? | stygian | Amazon Kindle | 7 | 01-09-2011 03:35 PM |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |