04-04-2016, 10:58 AM | #1051 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The simple difference between Calibre and Sigils way, is you could run the group in Sigil. The (chain) Order in which replaces are done can be important in many cases. Does the selection list ALWAYS run from top to bottom? |
|
04-04-2016, 12:06 PM | #1052 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can re-order the entries in that list and filter them by any string, which means the functionality is a strict superset of groups. It is less discoverable than groups however.
|
Advert | |
|
04-05-2016, 03:41 AM | #1053 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
As Kovid and BetterRed already answered thats the way I do it. In addition I collect similar S&R definitions together and export/import it as S&R sets. This give me the opportunity to have a more or less clean set of actions available what can be used when ever I need a suitable set for S&R.
Edit: Maybe this pic will give you aa example how I use S&R with the editor Last edited by Divingduck; 04-05-2016 at 04:00 AM. |
04-08-2016, 04:39 AM | #1054 | |
Zealot
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
|
Quote:
Code:
p {font-size:1em;text-align:justify;text-indent:0;margin:0 0 0 0} p + p {text-indent:1em} Code:
<p class="foo"><span class="bold"><span class=:big"> French editors often use such delirious class names as Code:
<p class="texte_courant_avec_indentation"> |
|
04-08-2016, 05:36 AM | #1055 |
Guru
Posts: 928
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
@Francois_C The zip compression used in epubs is likely to compress all those crazy_long_class_names down anyway, so I doubt you're saving space in the epub. Similarly all those slightly wordy <span class="bold"> ....things - any time you have repeated text that gets compressed really well.
You might save some RAM when the ereader has to open and uncompress the chapter though. |
Advert | |
|
04-08-2016, 08:00 AM | #1056 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
04-08-2016, 10:29 AM | #1057 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
04-09-2016, 12:48 AM | #1058 | ||
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Personally, I didn't find the change enough to make changing my default stylesheet a worthwhile project. The great tragedy of Science — the slaying of a beautiful hypothesis by an ugly fact. — Thomas Henry Huxley Last edited by DNSB; 04-09-2016 at 12:54 AM. |
||
04-09-2016, 05:15 AM | #1059 | |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
There are arguments like on today's reader the issue is not as big as on older readers. True, but that's as well not all the time true too. Have a book with huge files within, complex styles and extensive usage of spans. Then you will find, that a high-end Reader also tend to be slow in navigation within the book. I (sometimes) do not recognize it reading a book page by page but when I navigate within the book it isn't really enjoying me and latest when I'm looking in the coding I see why that happen so often... |
|
04-09-2016, 05:45 AM | #1060 |
Guru
Posts: 928
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
How complex do you think these files are, @Divingduck? You may be right about them taking more resource to render/navigate, but it would be interesting to try and quantify that.
@DNSB's test showing an 8 byte saving was a good example :-) I'd imagine more complex pages would require more energy, so you could count the number of page turns per battery charge, but that's such an enormous number already this would be practically difficult. Could any of the desktop browser performance test suites be used on an ePub? |
04-09-2016, 07:18 PM | #1061 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But it does add to the page number ADE gives you. I like minimal code for more accurate page numbers with ADE.
|
04-09-2016, 07:44 PM | #1062 | |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Determine a compressed byte length of each resource which is referenced in the spine, subtracting any known encryption overhead (IV size) |
|
04-09-2016, 10:58 PM | #1063 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The wordiness of nested spans is not an issue so much as the additional effort required to render a more complex DOM.
But I suspect this conversation has outlived its usefulness. Modify EPUB does not seem likely to include a tool for manipulating default font sizes, that is all that matters for the purpose of this thread -- let's not continue plaguing people with new post notifications for this thread and tricking them into thinking something interesting happened. |
11-05-2016, 08:58 PM | #1064 |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
Not sure if this is the right place but... Was just trying to add a cover to an epub. The current epub has the title page as the first page and I wanted to keep it. I can't seem to find a setting in Modify ePub to "add cover". There is "Insert or replace cover" which replaces the title page "cover" and that's it.
So to sum things up... kinda asking for a new feature of "add cover" whenever you do an update. |
11-05-2016, 09:15 PM | #1065 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You need to 'undo' the current coverpage and IMAGE (symantic) declaration using an editor, Then Modify or Polish will not stomp on those others , as the are no longer a 'cover' |
|
Tags |
modify epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 166 | 02-13-2024 11:31 AM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |