|
|
#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 05:07 AM. |
|
|
|
|
|
#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... |
|
|
|
|
|
|
#1113 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, 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 |
|
|
|
|
|
#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
|
|
|
|
|
|
|
#1115 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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. |
|
|
|
|
|
|
#1116 |
|
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 428
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.
|
|
|
|
|
|
#1117 |
|
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
None that I know of, maybe it could be added to the Modify plugin.
|
|
|
|
|
|
#1118 |
|
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 428
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.
|
|
|
|
|
|
#1119 |
|
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
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 |
|
|
|
|
|
#1120 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,150
Karma: 1404167
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.
|
|
|
|
|
|
#1121 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 472
Karma: 1497025
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
|
Quote:
Here Last edited by BeckyEbook; 12-12-2017 at 04:16 AM. |
|
|
|
|
|
|
#1122 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,854
Karma: 13774480
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Moderator Notice
Moved discussion to the Modify epub thread. |
|
|
|
|
|
#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. |
|
|
|
|
|
|
#1124 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,954
Karma: 82522897
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
|
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 02:10 AM. |
|
|
|
|
|
|
#1125 |
|
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
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 02:34 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Open With | kiwidude | Plugins | 386 | 11-24-2021 01:38 AM |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 1093 | 09-27-2021 12:19 PM |
| [GUI Plugin] Manage Series | kiwidude | Plugins | 156 | 09-30-2020 12:17 PM |
| Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 06:14 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |