Using --chapter-regex
Hi,
I'm using the command line version of html2lrf, and I'm trying to use the --chapter-regex to build the toc, but it doesn't behave as I expect it to.
Other than that I'm loving what I've seen so far.
Perhaps I am doing something wrong.
Here is the command I am using:
C:\html2lrf>html2lrf -a "Author" -t "Title" --chapter-regex="<I>(Chapter [1-9]+[,].*)</I>" --font-delta=-2 "c:\ebooks\MyBook.htm"
The regex I'm using here works in other situations, but I'm not familiar with the implementation here, so perhaps the syntax should be different.
The Chapter headings in the html doc look like this:
<I>Chapter 1, Title of Chapter 1</I>
Any help would be appreciated.
|