Quote:
Originally Posted by rogue_ronin
rbmake also supports regex search/replace, built in. Just add a rule to your basic rbmake script (or a separate regex file using the s switch) or OPT file to replace <div style="page-break-after:always"/> with either <hr size=0> or <hr new-page>. Or whatever your preferred output is. (Maybe you want to keep the div, just replace the style?)
You could have quite a list of standard replacements to make your work easier. (You could share too!  )
rbmake can be told to recognize <hr size=0> or to ignore it, using the z switch.
If you're going to update the program, I think you want the RBhtml libraries. I've emailed with Wayne Davison a few times, he's super-approachable. (I think he might hang out here, too -- don't know why I think that...)
m a r
|
Actually, what I'd really like to do is add support for OPF files. This would give me a chance to really learn the file format. But I don't know that I'll have the time.