Quote:
Originally Posted by TonytheBookworm
I have ultraedit, could you enlighten me on the batch file you use for executing your recipes. I see where that would be very useful. And output error file. Does utraedit automatically update the changed content or do you have to reopen it again ?
|
For AJC recipe - it's simple:
Code:
c:
cd \Projects\Calibre\Recipes\AJC
ebook-convert AJC_5.recipe AJC_5 --test -vv > AJC.txt
:ebook-convert AJC_5.recipe AJC_5.epub> AJC.txt
Each time I test a new recipe, copy the old folder that has AJC_N.recipe, AJC.txt and the batch file, then rename the new folder from AJC-Copy to NewRecipeName and update the names of the files inside to
NewRecipeName.txt
NewRecipeName_1.recipe
and set the batch file to:
Code:
c:
cd \Projects\Calibre\Recipes\NewRecipeName
ebook-convert NewRecipeName_1.recipe NewRecipeName_1 --test -vv > NewRecipeName.txt
When making drastic changes to the Recipe, save it as
NewRecipeName_2.recipe
and update the batch file to
Code:
c:
cd \Projects\Calibre\Recipes\NewRecipeName
ebook-convert NewRecipeName_2.recipe NewRecipeName_2 --test -vv > NewRecipeName.txt
.This lets you step back in case your changes were horrible.
Use the Advanced "Run Windows Program" F10 to run the batch file. with a single key press. Output ends up in the \Projects\Calibre\Recipes\NewRecipeName\NewRecipeN ame_2 folder as html
Keep a master recipe open in UltraEdit with all your previously worked out tricks and techniques for simple cut and paste.