Quote:
Originally Posted by JSWolf
I don't have any issues with using the command line. What I would like is to know the commands to convert a CLIT output HTML from LIT format. Either it's not working or I'm doing something wrong. I have no idea.
|
Okay.
There's two approaches.
First you can just trust that
pielrf does the right thing, and use the "--strip-html" command line switch. This will run
pielrf as usual, and strip out any of the html it doesn't know.
The second is to use the
striphtml utility before running
pielrf. This will do the exact same thing as "--strip-html" but output another text file for you to look at / edit.
I prefer pre-stripping with
striphtml and then editing that file and feeding it to
pielrf. CLIT creates pretty complex HTML, and if you want to add the "<chapter>" tags, pre-stripping makes that a lot easier. It also allows you to clean up any HTML that
striphtml didn't get rid of.
-Pie