View Single Post
Old 03-23-2011, 01:06 AM   #6
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Seems like overkill. In WinXP, using a simple DOS cmd shell/Command Prompt, I can convert via many instances of ebook-convert by prefixing EACH line with "start /w " where it is invoked.

I've successfully used this within my GuteBook conversion program's rebuild DOS batch file, namely:
Code:
rem Convert .htm to Sony .epub
start /w ebook-convert "28700-h\28700-h.htm" "Paul Creswick - Robin Hood.epub" --title "Robin Hood" --authors "Paul Creswick" --publisher="Project Gutenberg" --chapter "//*[name()='h2']" --output-profile=sony

rem Convert .htm to Sony .lrf
start /w ebook-convert "28700-h\28700-h.htm" "Paul Creswick - Robin Hood.lrf" --title "Robin Hood" --authors "Paul Creswick" --publisher="Project Gutenberg"
Or when converting older PalmDoc .pdb to .epub, en masse, using batch files and "for ... do" calls :
Code:
start /w ebook-convert "Austen, Jane - Emma".pdb "Austen, Jane - Emma".epub --authors "Austen, Jane" --title "Emma" --no-default-epub-cover --chapter "//*[(name()='p' and re:test(., '^chapter |^book |^section |^part \S+', 'i')) or name()='h1' or name()='h2']" --chapter-mark=none --output-profile=sony 

start /w ebook-convert "Austen, Jane - Pride & Prejudice".pdb "Austen, Jane - Pride & Prejudice".epub --authors "Austen, Jane" --title "Pride & Prejudice" --no-default-epub-cover --chapter "//*[(name()='p' and re:test(., '^chapter |^book |^section |^part \S+', 'i')) or name()='h1' or name()='h2']" --chapter-mark=none --output-profile=sony
It's worked without issue ever since it became broken in calibre's windows version. Obviously, your OS may be hampering this, but it DOES work when prefixed with "start /w "!!!

Last edited by nrapallo; 03-23-2011 at 01:08 AM.
nrapallo is offline   Reply With Quote