Converting BD files
Hey, I've been using Book Designer for a while to create Sony Reader Content, and I think it's a nice program, but it looks like I'll get better results with html2lrf for inline graphics and tables, etc. I'd like to be able to convert my HTML0 files output by BD using libprs500, and I'm having a few problems. I've looked around and was a bit surprised that this doesn't seem to have come up on the forum.
Here are my questions.
I can't figure out a chapter-regex that will pick up BD style chapter tags (I've included an example below). Can anyone help me with that?
<SPAN id=title><DIV align=center><B><FONT color=#001950>PROLOGUE</FONT></B></DIV>
</SPAN>
Another issue is trying to get page breaks to work the way I want. BD replaces the <HR> tag with page breaks, and I use that to control pagination (BD by default also does chapter page breaks, but I turn that off so that I can have more control over the output). With libprs500, I can use page-break-before-tag=HR and that controls the page break fine, but it displays the Horizontal Rule, which I don't want. Is there any workaround that would create the manual page break, but not include the visible line?
Finally (for now at least), BD creates empty lines as
<DIV align=justify> </DIV>
and HTML2LRF seems to not respect that empty line- the line below is pushed up. Is there any way I can force this to show as an empty line.
|