View Full Version : CSS & regex for chapter titles


hpstricker
07-16-2008, 02:53 PM
Hello,
this post contains two questions

1. why seem css styles in HTML not been applied: there's no bold or italic, no different font sizes in my lrf books which I created from HTML.

2. What is the regex for chapter titles if I want ALL h1-6 been found?

Thanks in advance
Hans-Peter

kovidgoyal
07-16-2008, 05:37 PM
1) you need to attacha test case demonstrating the problem

2) h[1-6]

hpstricker
07-17-2008, 07:25 AM
Sorry, I wasn't specific enough. In the meanwhile I found the solution:

a) I have to use html2lrf from the command line, using option --override-css

b) I found the regex [a-zA-Z0-9] working (the question concerned the contents of headings)

Best regards
Hans-Peter

kovidgoyal
07-17-2008, 10:13 AM
You can specify override css in the GUI as well