When words are separated by a newline in the HTML file they are currently just joined together. This is incorrect behaviour.
On line 136 of Convertor.java, replace newlines and tab characters with a space instead of nothing.
Hello, I've started playing with your package and I find it extremly useful (I love the configuration via XML).
However I've found that I almost cannot use it if one tag has a large chunk of text. It's because of an error in the way string are concatenated. You use String str=""; str + [a char] which is the wrong way then working on large memory blocks. Such a thing will cause the OS to move...
Empty HTML comment crashes your nice tool with this message
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at cz.kebrt.html2latex.Parser.readElement(Parser.java:133)
at cz.kebrt.html2latex.Parser.readContent(Parser.java:225)
at...