![]() |
#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. |
![]() |
![]() |
![]() |
#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: 31,064
Karma: 60358908
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 |
![]() |
![]() |
![]() |
#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: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
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: 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.
|
![]() |
![]() |
![]() |
#1117 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,732
Karma: 29711016
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: 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.
|
![]() |
![]() |
![]() |
#1119 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,732
Karma: 29711016
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,166
Karma: 1410083
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 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 841
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Here Last edited by BeckyEbook; 12-12-2017 at 03:16 AM. |
|
![]() |
![]() |
![]() |
#1122 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
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: 46,263
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, 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. |
|
![]() |
![]() |
![]() |
#1125 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,732
Karma: 29711016
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1251 | 07-07-2025 09:13 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
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 |