View Single Post
Old 08-11-2011, 08:44 AM   #22
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by yoss15 View Post
How do I properly indent it? Hitting tab seems to send it way to far but even with 1-5 spaces it still gives errors, I just don't understand it.
Don't use any tabs - all spaces. For any part of the code, you indent each line the same. PeterT's indents look correct to me. I prefer running my recipe like this:
Code:
ebook-convert _Test_1.recipe _Test_1 --test   -vv > _Test.txt
That runs my _Test1.recipe file and puts the html produced by my recipe into the _Test folder and all of my print statements and verbose comments into the_Test.txt file. I use underscores so those files are all at the top of my directory list and I keep the recipe and text output (_Test.txt) files open in my editor at all times. I also have a batch file that runs the line above. I run the file, read the output file to see any errors or print statement output, then revise and run again.
Starson17 is offline   Reply With Quote