![]() |
#1831 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Quote:
A small handful of epubs have issues and I typically use modify epub to remove javascript as suggested above, or have to go into the editor and remove web browser or printer specific style sheets that work poorly on ereaders, and sometimes remove more javascript that modify epub somehow missed. And very very rarely, I have an epub that's just so bloated and messed up that epub->epub conversion fixes. These are usually ones with exceptionally long chapters that need splitting or some kind of wierdness in the TOC or a TOC that is too deeply nested and I just want to reduce the levels or something. And occasionally I use the TOC editor in calibre for a quick fix rather than the epub converter or the toc editor in the epub editor. As to doing it on all the epubs in a library -- it's usually only a small handful that need anything but basic tweaks anyway. If you've got a huge number of epubs that are malformed, I be they're all from the same source with the same issues and it might be worth writing a source specific tool or workflow to fix them. |
|
![]() |
![]() |
![]() |
#1832 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1833 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
Does anybody know how to run that in Linux? |
|
![]() |
![]() |
![]() |
#1834 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,787
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
Code:
#!/bin/bash for f in *.epub do echo "$f" >> epubcheck.txt echo "$f" >> epubcheck.err java -jar epubcheck.jar "$f" >> epubcheck.txt 2>> epubcheck.err done Last edited by j.p.s; 06-08-2020 at 04:33 PM. |
![]() |
![]() |
![]() |
#1835 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1836 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,787
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
The script assumes that all the epub files are in the same directory and that you are in it.
To check all the epubs in your Calibre Library, you need to cd there, and also change for f in *.epub do to for f in */*/*.epub do because each book has its own directory in each author's own directory. If you want to runn from any directory, you need to prepend the full path to your Claibre library to */*/*.epub Be sure to escape or quote any evil embedded spaces in that path. (All spaces embedded in file names are evil.) Last edited by j.p.s; 06-08-2020 at 07:47 PM. |
![]() |
![]() |
![]() |
#1837 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2017
Device: kobo aura one and kindle voyage
|
Set position and zoom percentage for the whole PDF
Currently, by default for PDF the zoom percentage is 100 percent and position at the centre every time we turn to next page.
We have to zoom and adjust position every time we turn to the next page. Since most book have standard white margin and page number throughout the whole book. We can adjust once at the start to our preference and apply all pages instead of adjusting on every page. It would be great to set the position and zoom percentage for the whole book at the start to apply to the whole PDF book. So every page turn will have the zoom percentage and position in place. |
![]() |
![]() |
![]() |
#1838 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2020
Location: Sai Gon - VN
Device: Kobo Libra 2, Libra H2O & Inkpalm 5
|
Please don't ask connect every time I plug it to PC because I just wanna connect to PC all the time I connect.
![]() |
![]() |
![]() |
![]() |
#1839 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
![]() |
![]() |
![]() |
#1840 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Quote:
![]() Thanks... I think I'll toggle that one too. EDIT: It would be irresponsible of me to not point out that there is an inherent security risk here, if you care. If you happen to use a public charger that happens to be a data stealing device, then it can auto-connect and copy everything off of your reader, including all of your API access tokens for Pocket, the Kobo store, etc. In general, if you're plugging into strange USB ports, you should use a charge-only cable without data pins connected, but having to confirm before connecting is actually a useful security feature. Last edited by twowheels; 07-16-2020 at 12:09 PM. |
|
![]() |
![]() |
![]() |
#1841 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#1842 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
![]() |
#1843 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#1844 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2020
Location: Sai Gon - VN
Device: Kobo Libra 2, Libra H2O & Inkpalm 5
|
|
![]() |
![]() |
![]() |
#1845 |
Member
![]() Posts: 15
Karma: 10
Join Date: Feb 2017
Location: Copenhagen, Denmark, Europe, European Union, the Northern Hemisphere, Earth ...
Device: Kobo Aura One
|
Could it be possible to have my name and e-mail address display at the home page of my Kobo?
I know my name and my e-mail but if I lost it and someone find it, this person could contact me easily. |
![]() |
![]() |
![]() |
Tags |
feature requests, firmware, kobo |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request | Partzz | Calibre | 6 | 09-09-2010 01:11 PM |
Feature request / Good idea for future versions of Calibre | rahulm | Calibre | 9 | 07-18-2010 06:35 PM |
[Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 07:52 PM |
Feature request thread? | Dahak | Calibre | 1 | 08-02-2009 12:51 AM |
Feature request | AprilHare | Calibre | 4 | 04-22-2009 04:23 AM |