|  02-17-2014, 07:46 AM | #1 | 
| Voracious reader            Posts: 56 Karma: 14644 Join Date: Oct 2009 Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3 | 
				
				Using calibre's editor independently
			 
			
			As stated in the subject: would it be possible to use the editor as a "standalone application"? I'd like to use it to create/edit epub files without necessarily going through the calibre's library. Thanks   | 
|   |   | 
|  02-17-2014, 08:03 AM | #2 | 
| Bookish            Posts: 1,049 Karma: 2006208 Join Date: Jun 2011 Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11 | 
			
			Yes, you can invoke the book editor without starting calibre. See calibre manual for command-line usage: ebook-edit [opts] [path_to_ebook] Launch the calibre edit book tool. Whenever you pass arguments to ebook-edit that have spaces in them, enclose the arguments in quotation marks. [options] --detach Detach from the controlling terminal, if any (linux only) --edit-file Edit the named file inside the book --help, -h show this help message and exit --version show program’s version number and exit | 
|   |   | 
|  02-17-2014, 09:34 AM | #3 | 
| Addict            Posts: 206 Karma: 547516 Join Date: Mar 2008 Location: Berlin, Germany Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3 | 
			
			If you are on Windows, you can also drag and drop your epub file onto the ebook-edit.exe. Or you could create a link to ebook-edit.exe on your desktop or wherever you want it and drop epubs onto that. | 
|   |   | 
|  02-17-2014, 10:07 AM | #4 | 
| Color me gone            Posts: 2,089 Karma: 1445295 Join Date: Apr 2008 Location: Central Oregon Coast Device: PRS-300 | 
			
			You can bring in html files, you can type directly into a new html file you create in the editor, but you can not bring in text files or other files and expect them to be converted. The editor is currently lacking spell checking and other functions found in word processing programs, so those functions are best done in that sort of program. Atlantis Word Processor has these functions and publishes to epub, so it can create, but not edit epubs. You can fix problems and republish again, but not tweak the finished epub in AWP. That is the job of epub editors like this one. | 
|   |   | 
|  02-17-2014, 03:26 PM | #5 | |
| null operator (he/him)            Posts: 22,009 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 Or add an item to the windows shell menu (eg Edit) that opens file in editor when you select it Or put it in the Windows Open With list for epubs and AZWs BR | |
|   |   | 
|  02-18-2014, 06:46 AM | #6 | |
| Voracious reader            Posts: 56 Karma: 14644 Join Date: Oct 2009 Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3 | Quote: 
 @mrmikel: I don't need to write a book, I just wish to replace the "old" Sigil application. | |
|   |   | 
|  02-18-2014, 08:12 AM | #7 | 
| creator of calibre            Posts: 45,602 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			On the mac you can simply run it via /Applications/calibre.app/Contents/MacOS/ebook-edit in a terminal. It should be possibel to create a launcher script for it that you can add to your dock, but I'm not a Mac guy, so I cant give you details on that. | 
|   |   | 
|  02-20-2014, 08:08 AM | #8 | 
| Voracious reader            Posts: 56 Karma: 14644 Join Date: Oct 2009 Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3 | 
			
			I'm not (yet) a mac-girl either, I'm still adjusting. I'll make do with the command line. Thanks    | 
|   |   | 
|  02-21-2014, 08:17 AM | #9 | 
| Connoisseur            Posts: 81 Karma: 86158 Join Date: Jan 2011 Location: Maryland Device: NST, Kindle Fire, iPad2 | 
			
			I am a Mac guy, though not deeply so.  I've managed to create a script that launches ebook-edit from the dock, but it won't accept files dropped on it.  If anybody else has managed that I'd be grateful for hearing how.
		 | 
|   |   | 
|  02-21-2014, 02:04 PM | #10 | |
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | 
			
			I am not a Mac person and don't plan on becoming one, but according to stackoverflow you can create an Automator app: Quote: 
 Looking at the Applescript method, it sounds like you should use: Code: on open filelist
  repeat with i in filelist
     do shell script "ebook-edit " & quoted form of POSIX path of i
  end repeat
end open | |
|   |   | 
|  02-22-2014, 07:34 AM | #11 | |
| Connoisseur            Posts: 81 Karma: 86158 Join Date: Jan 2011 Location: Maryland Device: NST, Kindle Fire, iPad2 | Quote: 
 Code: while ( $# ) ebook-edit "$1" shift end  Further details, for others who might want to do this, in the Automator dialog: Shell:/bin/csh Pass Input: as arguments EDIT: I should have realized, but this script will only take books dropped on it. It does not launch the program independently. That's ok for me, but you may have a different work flow. Last edited by loximuthal; 02-22-2014 at 08:59 PM. | |
|   |   | 
|  02-22-2014, 10:17 PM | #12 | |
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | Quote: 
 Code: if [ "$1" != "" ] while [ "$1" != "" ] ebook-edit "$1" shift done else ebook-edit fi DISCLAIMER: I am allowed to know this since I am a linux guy even though I'm not a Mac guy.   | |
|   |   | 
|  02-24-2014, 08:48 AM | #13 | 
| Connoisseur            Posts: 81 Karma: 86158 Join Date: Jan 2011 Location: Maryland Device: NST, Kindle Fire, iPad2 | |
|   |   | 
|  02-25-2014, 08:27 AM | #14 | |
| Connoisseur            Posts: 81 Karma: 86158 Join Date: Jan 2011 Location: Maryland Device: NST, Kindle Fire, iPad2 | Quote: 
  , so I've got to sort out the details.  Which won't happen for a while, as life is kinda full and the tiny script I originally had does 80% of what I wanted.  So thanks for pointing me in the right direction, and I'll head that way when I can. | |
|   |   | 
|  02-25-2014, 03:14 PM | #15 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | 
			
			Because I'm an idiot and I forgot to make the while and if loops start...   Here's the real code: Code: if [ "$1" != "" ]; then while [ "$1" != "" ]; do ebook-edit "$1" shift done echo "if-loop" else ebook-edit fi  It works, but only starts the next book once you close the first one. Fortunately, calibre has a --detach parameter, so: Code: if [ "$1" != "" ]; then while [ "$1" != "" ]; do ebook-edit --detach "$1" shift done else ebook-edit fi   Last edited by eschwartz; 02-25-2014 at 03:23 PM. | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| regex in calibre editor | mrmikel | Editor | 2 | 02-01-2014 10:39 AM | 
| Calibre Ebook Editor | filmo | Kobo Reader | 0 | 01-13-2014 10:11 AM | 
| Calibre Editor for former Sigil users | theducks | Editor | 2 | 12-22-2013 12:55 PM | 
| Q: Should we have new sub-Calibre forum for ePub Editor? | phossler | Editor | 5 | 12-21-2013 12:41 PM | 
| [REQ] Cover browser window to launch independently in full screen | monkbythesea | Calibre | 10 | 08-18-2010 11:55 PM |