LaTeX is notoriously bad at being boring tech. It has a lot of very rough edges, especially when it comes to longer documents.
Personally I think ConTeXt is a far superior tool, though its documentation is always trailing quite a distance behind its current capabilities.