11-07-2017, 07:29 AM | #1 |
Zealot
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
epubs: replace stylesheets with calibre editor?
I've got a quick question:
I've been using calibre's editor to create my own epubs for a long while now (since that's a function of calibre's that's super easy to use in comparison to other epub creator software! Thanks for that neat function, by the way!), but there is something I've been wondering: Is it in any way possible to do a search/replace inside of multiple epubs and replace the old stylesheet with a new one? Or at least add a line or two into the existing stylesheet? It probably is something one can only do one by one, but I thought I'd ask anyway just to be sure. (Thing is, the stylesheets in the epubs I created last year no longer appeal to me for reading the epub on my pc - it's still ok for my ereader, but I want some colors and such for PC/tablet reading of the epub.) There is also something semi-related I've been wondering for a while: Regarding conversion of html/txt/doc files into epubs: Is there any way to ensure calibre keeps the formatting of the file's stylesheet 1:1? Because as wonderful as the conversion tool is, no matter what I do with the preferences pre-conversion, the epub's stylesheet tends to come out an unappealing mess so I tend to avoid conversion and use ebook editor to create a new epub. I hope I could explain my dilemma semi-coherently. It's all right if there is no way to do these things. I just need to know whether or not I've been making it unnecessarily harder for myself because I couldn't see the solution in front of me, you know? Thank you in advance for any help. |
11-07-2017, 10:17 AM | #2 |
creator of calibre
Posts: 44,353
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No conversion will always flatten CSS. As for making bulk changes to books, you can use either conversion itself, see the Look & feel section of the conversion dialog, or I believe a few plugins have CSS transformation capability as wel.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom CSS Stylesheets for Calibre's Viewer | Ralob | Viewer | 385 | 08-06-2024 04:37 PM |
Aura H2O Font size mismatch (downloaded epubs via Calibre vs. Kobo epubs & articles) | Oolong | Kobo Reader | 36 | 01-25-2019 06:00 AM |
Editor - Global Search/Replace of underscore format | Canoe | Editor | 1 | 07-11-2015 10:57 PM |
Help with stylesheets in Calibre | hikerguy | Editor | 8 | 04-01-2015 02:30 AM |
Need Text editor for specific Find/Replace Regular Expression | scubaddictions | Workshop | 11 | 08-17-2011 07:58 PM |