09-30-2020, 10:52 AM | #166 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
09-30-2020, 11:48 AM | #167 | |
Bibliophagist
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
-o ./Desktop/Kepubifiying/Awaiting\ Conversion/ One reason why I still like using _ in names. Awaiting_Conversion as an example. |
|
Advert | |
|
09-30-2020, 12:16 PM | #168 |
Connoisseur
Posts: 70
Karma: 513524
Join Date: Dec 2019
Device: none
|
David
Thank you so much - that fixed it. Steve |
09-30-2020, 12:19 PM | #169 |
Wizard
Posts: 1,790
Karma: 13412766
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
|
--inplace doesn't do what one is likely to guess that it does:
> -i, --inplace Don't add the _converted suffix to converted files and directories |
10-02-2020, 11:37 AM | #170 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
kepubify v3.1.5
I've released kepubify 3.1.5. This release skips text in svg/math tags during content transformation. |
Advert | |
|
10-02-2020, 02:54 PM | #171 |
Connoisseur
Posts: 70
Karma: 513524
Join Date: Dec 2019
Device: none
|
FAO twowheels: I just downloaded Patrick's latest version after deleting the previous one. When I do those two commands you mention above Terminal asks for my password which I input. Then I go back to my Downloads folder and the (now executable) file is gone... I can't find it on my Mac anywhere. You said the second command would put Kepubify "where executables are expected to be found"... Where is that? It's definitely not in the most obvious place; the Applications folder.
Nb. I tested the command lines to convert an epub and it works dumping the .kepub.epub file in my Home folder. When converting I always drag the file into the Terminal window after the command rather than typing out its location which is extremely tedious. But I keep my books in many different folders in Dropbox. Is there some generic text I can add in the command line to place it in the same folder as its originator? Last edited by steveparry; 10-02-2020 at 03:14 PM. |
10-02-2020, 03:41 PM | #172 | |
Bibliophagist
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
This will show you the path on which MacOS will automatically search for an executable. You should see /usr/local/bin in the list of : separated entries. Since you seem to have run kepubify from your Applications directory, I suspect you will find :/Applications as the last entry in the list. type cd /usr/local/bin type ls k* and you should see kepubify there. As for placing the outfile in the same directory as the infile, perhaps an enhancement request for that as an option? |
|
10-02-2020, 03:59 PM | #173 |
Connoisseur
Posts: 70
Karma: 513524
Join Date: Dec 2019
Device: none
|
DNSB: I can't see the Kepubify file anywhere on my Mac - it's not in Applications. Typing the above I get:
Last login: Fri Oct 2 20:37:25 on ttys000 steveparry@MacBook-Pro ~ % echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin steveparry@MacBook-Pro ~ % cd /usr/local/bin steveparry@MacBook-Pro bin % ls k* kepubify steveparry@MacBook-Pro bin % Steve |
10-02-2020, 06:24 PM | #174 | |
Bibliophagist
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
If you do a cd / in Terminal and then type ls, you should see the 6 directories you see when you open your hard drive plus a collection of other directories you don't normally see in the GUI. |
|
10-02-2020, 08:05 PM | #175 |
Wizard
Posts: 1,790
Karma: 13412766
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
|
Steve,
The mv command moved the file from your Downloads folder to /usr/local/bin. As David pointed out, you were able to see it with the ls command (list files), which you showed with your pasted output -- see how kepubify shows up even though you told it to list k*? (which means all files that start with lowercase k, and anything after that). Now that it's in /usr/local/bin, you don't need to care where it's at anymore, since it's in a folder listed in your PATH variable (which David gave instructions on how to view). So, now you can just type kepubify from anywhere, in any folder, and it'll just run. So, you can use the cd command (change directory) to change to the directory that holds the epub files that you want to convert, and then convert them, per my instructions above, where I gave the instructions on how to change to the Downloads folder. EDIT: If just typing kepubify anywhere in the terminal doesn't run and give you the Usage instructions, then double check that you did the chmod command correctly by typing: ls -l /usr/local/bin/kepubify You should see something like: -rwxr-xr-x 1 username username 40 May 7 17:37 /usr/local/bin/kepubify The exact content of that result doesn't matter as long as the first part has an rwx, not dashes where the r and x are... if you don't see an r and x in those first 4 positions, then type: sudo chmod +rx /usr/local/bin/kepubify (it'll ask for your password, that's expected) ...then it'll run just fine per the instructions given above. Last edited by twowheels; 10-02-2020 at 08:09 PM. |
10-09-2020, 03:27 AM | #176 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
|
Quote:
I just wanted to remind this bug report. The latest kepubify (3.1.5) continues to generate the first three lines. Thank you very much. |
|
10-09-2020, 12:19 PM | #177 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
I also use that CSS in the KePub plugins, but a compliant user agent should ignore unknown properties. Is that not happening?
I wonder if the older ones were (incorrectly) used or recommended at one time and now the newer property names are used? |
10-09-2020, 12:54 PM | #178 | ||
Bibliophagist
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
From what I can tell from a quick search on a couple of CSS sites is that:
Quote:
Quote:
|
||
10-09-2020, 05:00 PM | #179 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can Kepubify have an options to dump the third line for hyphenation? I don't see a need for it.
|
10-11-2020, 02:21 AM | #180 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
Tags |
conversion, epub, kepub, kepubify |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kepubify 2.0 - A standalone tool to convert ePubs to Kepubs | geek1011 | Kobo Reader | 149 | 10-03-2020 04:12 PM |
kepubify - A standalone tool to convert ePubs into Kobo ePubs | geek1011 | Kobo Reader | 114 | 03-04-2018 10:30 AM |
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) | SJC-Caron | ePub | 18 | 04-21-2016 11:10 AM |
Kindle Comic Converter can now create KEPUB files | AcidWeb | Kobo Reader | 16 | 06-28-2015 01:14 PM |
Aspose standalone converter Word to Epub | ErikG | ePub | 1 | 05-25-2011 02:13 AM |