10-23-2017, 03:48 AM | #1111 |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Request
Request to add a request function to remove the font size style.
It increase or decrease the book font size. It show in every html part, for example: Code:
<html xmlns="http://www.w3.org/1999/xhtml" style="font-size:1.111rem;"> Last edited by oren64; 10-23-2017 at 04:07 AM. |
10-23-2017, 12:46 PM | #1112 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Aside from that, I see four issues with this request. First and foremost, there's already a way to do this - in calibre's "convert to EPUB" function, IIRC - so why reinvent the wheel in Modify? Second, there are so many ways to set a starting font size for the book (such as by attaching a class to the BODY element and defining that class's font size) that I'm bound to overlook one. Third, the Modify logic isn't really set up to do this, so doing it correctly would be a significant undertaking. Fourth, while the limited case of "remove the STYLE attribute from the HTML element, if present" is doable, I've never seen that, so I have to ask whether this is a genuine problem or just one weird book. If the latter, the optimal solution is to open the book in the editor and just do a global search-and-replace to fix it. That's without even getting into the question of whether this would be a wise feature to add... |
|
Advert | |
|
10-23-2017, 01:10 PM | #1113 |
Well trained by Cats
Posts: 29,810
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Rev Bob
I've only seen REM units used in Kindle books and I don't remember seeing it in that declaration |
10-24-2017, 04:05 AM | #1114 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
|
10-24-2017, 05:00 AM | #1115 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
It's quite a long time since I bought from Amazon (a small personal protest at the abomination which is KFX) so I don't know whether any recent AZW3s are still using it. |
|
Advert | |
|
11-27-2017, 05:13 PM | #1116 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Is there a plugin to remove page-map.xml files?
Is there a Calibre plugin to remove page-map.xml files? I haven't been able to find one, so I decided to ask here. Thank you.
|
11-27-2017, 05:52 PM | #1117 |
null operator (he/him)
Posts: 20,579
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
None that I know of, maybe it could be added to the Modify plugin.
|
11-27-2017, 07:00 PM | #1118 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
That would be great, if it could be added to the Modify EPUB plugin, which is a great plugin.
|
11-27-2017, 10:29 PM | #1119 |
null operator (he/him)
Posts: 20,579
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
In that case post a request in the Modify plug-in thread, someone might consider adding an option.
BR |
11-28-2017, 10:50 AM | #1120 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Why will you delete this file from an ebook? It provide the page reference for the print version. There is nothing wrong with this file within ebooks.
|
11-29-2017, 08:18 AM | #1121 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
Here Last edited by BeckyEbook; 12-12-2017 at 03:16 AM. |
|
11-29-2017, 09:29 AM | #1122 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Moderator Notice
Moved discussion to the Modify epub thread. |
11-30-2017, 05:08 AM | #1123 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
It's also worth noting that this type of page reference can also take the form of an NCX pageList element; rather than eradicating the page-map file entirely, my inclination would be to use it to create a pageList section - either in addition to or instead of the page-map. |
|
12-01-2017, 01:04 AM | #1124 | |
Bibliophagist
Posts: 35,482
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
calibre, version 3.12.0 ERROR: Modify ePub failed: No ePub files were updated Modify ePubs Logfile for book ID 4085 (Alphabet Soup / Ann Onymous) 4085 Modifying: C:\Users\David\AppData\Local\Temp\calibre_t_57ch\rcqvps_modify_epub\4085.epub Parsing xml file: content.opf Parsing xml file: toc.ncx Looking for files to remove: [u'iTunesMetadata.plist', u'iTunesArtwork'] Looking for files to remove: [u'META-INF/calibre_bookmarks.txt'] Found file to remove: META-INF/calibre_bookmarks.txt Looking for files to remove: [u'.DS_Store', u'thumbs.db'] Alphabet Soup - ERROR: Traceback (most recent call last): File "calibre_plugins.modify_epub.modify", line 80, in process_book File "calibre_plugins.modify_epub.modify", line 133, in _process_book KeyError: u'remove_page_map' ePub not changed after 0.59 seconds Last edited by DNSB; 12-01-2017 at 01:10 AM. |
|
12-01-2017, 01:31 AM | #1125 |
null operator (he/him)
Posts: 20,579
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Rev. Bob - This is in a closed consumer group situation.
We decided to remove page-maps from 'books' which were subject to a continuous update process. They weren't used for either for their intended or any nefarious purpose - so maintaining them was a waste of time. We removed them when we updated the content in Sigil. The 'books' aren't books in the common parlance, more like rolling 'Live' articles that news sites have. The person who instigated their use came from the traditional book publishing domain. BR Last edited by BetterRed; 12-01-2017 at 01:34 AM. |
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 |