Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-20-2020, 06:05 PM   #46
rtiangha
Addict
rtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbitrtiangha with a running start, can leap into geosynchronous orbit
 
Posts: 239
Karma: 60749
Join Date: Jul 2016
Device: Kobo Glo HD
Quote:
Originally Posted by geek1011 View Post
Yes, that should work, but note that you can repeat the CSS argument multiple times with a single string each, like "--css 'css1' --css 'css2'".
Ah, that's more readable. Thanks!

One last dumb question about --replace. Say I want to replace every instance of 'monospace' in the css with something like '"Courier Prime", monospace' instead (to work around the monospace font issue in kepubs). I know the argument is a string, but how do I escape the " characters in the string? Should I be using \ characters? Or something else?

Is this correct?

Code:
--replace "monospace|\"Courier Prime\", monospace"
I noticed that kepubify ate the " characters in my previous question (i.e. "kern" and "liga" became kern and liga in the output) so how do I preserve the " characters?

Last edited by rtiangha; 01-20-2020 at 06:21 PM.
rtiangha is offline   Reply With Quote
Old 01-20-2020, 06:15 PM   #47
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,579
Karma: 4131350
Join Date: May 2016
Location: Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by rtiangha View Post
Ah, that's more readable. Thanks!

One last dumb question about --replace. Say I want to replace every instance of 'monospace' in the css with something like '"Courier Prime", monospace' instead (to work around the monospace font issue in kepubs). I know the argument is a string, but how do I escape the " characters in the string? Should I be using \ characters? Or something else?

Is this correct?

Code:
--replace "monospace|\"Courier Prime\", monospace"
Yes, that's correct, but note that replace only replaces inside the documents, not any external stylesheets.
geek1011 is online now   Reply With Quote
Advert
Old 01-20-2020, 06:16 PM   #48
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,579
Karma: 4131350
Join Date: May 2016
Location: Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
Embedded CSS could cause the HTML to become larger then the size required for the mobile ePub spec. Also, it's more difficult to edit the CSS.
But, the embedded CSS will never be large enough to do that. And, you aren't meant to edit the generated KEPUBs in general.
geek1011 is online now   Reply With Quote
Old 01-30-2020, 08:42 AM   #49
BaronMoe
Junior Member
BaronMoe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kobo Libra
I downloaded the windows.exe, unblocked it, made sure windowsdefender isnt messing it. But when I run the exe, it just auto closes in a split second.
BaronMoe is offline   Reply With Quote
Old 01-30-2020, 08:48 AM   #50
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,579
Karma: 4131350
Join Date: May 2016
Location: Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by BaronMoe View Post
I downloaded the windows.exe, unblocked it, made sure windowsdefender isnt messing it. But when I run the exe, it just auto closes in a split second.
You need to either run it from the command line or drag-drop your epub files onto it.
geek1011 is online now   Reply With Quote
Advert
Old 02-08-2020, 03:29 PM   #51
avresbo
Member
avresbo began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2010
Device: cool-er
What´s the diference between a file converted with "kepubify" and another one that just has been manually renamed to xxx.kepub.epub?

There are a lot of <span class="koboSpan" id="kobo.x.x">. What are they for?

Thank you very much for your converter.
avresbo is offline   Reply With Quote
Old 02-08-2020, 05:52 PM   #52
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,825
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Well, one is an ePub, the other is a Kobo ePub.

If you don't know/get the difference, you probably don't need this?
NiLuJe is online now   Reply With Quote
Old 02-08-2020, 06:05 PM   #53
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,270
Karma: 12221060
Join Date: Sep 2009
Location: UK
Device: PRS-350, Kobo: Aura6", H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by avresbo View Post
There are a lot of <span class="koboSpan" id="kobo.x.x">. What are they for?
Someone correct me if I'm wrong but I believe that without the kobospans a xxx.kepub.epub book
- won't keep track of where you're up to in the book
- won't let you highlight/annotate
- won't let you use the dictionaries
jackie_w is offline   Reply With Quote
Old 02-09-2020, 08:06 AM   #54
avresbo
Member
avresbo began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2010
Device: cool-er
thank you for your answer
avresbo is offline   Reply With Quote
Old 02-19-2020, 07:00 PM   #55
jxall
Enthusiast
jxall began at the beginning.
 
jxall's Avatar
 
Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kobo Clara HD (patched-100% kepubs); Calibre 4 (Win10)
How do I customize the options if I am using Kepubify on Windows?

(Specifically I just want to add
Code:
--calibre
to make files Calibre compatible)
jxall is offline   Reply With Quote
Old 02-19-2020, 08:51 PM   #56
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,579
Karma: 4131350
Join Date: May 2016
Location: Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jxall View Post
How do I customize the options if I am using Kepubify on Windows?

(Specifically I just want to add
Code:
--calibre
to make files Calibre compatible)
You can either use it from the command line, or make a batch file like:

Code:
@cd %~dp0
@kepubify*.exe --calibre %*
geek1011 is online now   Reply With Quote
Reply

Tags
conversion, epub, kepub, kepubify

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kepubify 2.0 - A standalone tool to convert ePubs to Kepubs geek1011 Kobo Reader 140 01-19-2020 12:24 PM
kepubify - A standalone tool to convert ePubs into Kobo ePubs geek1011 Kobo Reader 114 03-04-2018 11:30 AM
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) SJC-Caron ePub 18 04-21-2016 12:10 PM
Kindle Comic Converter can now create KEPUB files AcidWeb Kobo Reader 16 06-28-2015 02:14 PM
Aspose standalone converter Word to Epub ErikG ePub 1 05-25-2011 03:13 AM


All times are GMT -4. The time now is 08:44 PM.


MobileRead.com is a privately owned, operated and funded community.