This is the patch attached to bz 651848 by Robin Gareus.
Fix for the second issue in bz 651848
Use substitute() instead of QString conversion
Bug 735745 - Spurious ASSERT message

The ASSERT message is replaced with a normal message.
The cmdName might be overwritten so we have to save the name cmdName first, also the first test should not try to read any further, but jump to the end as well )a push has already been performed so a pop etc. is necessary)
Bug 652276 - Typedefs in manpages has too few linebreak possiblilities
Bug 735759 - Broken man pages due to bad use of autoBreak
Different latex problems

- Bibliography refers to wrong page in the toc
In case of LaTeX the reference in the toc tab to the Bibliography page is not correct.
According to e.g. http://lookherefirst.wordpress.com/2008/10/05/add-the-bibliography-in-the-table-of-contents/
when using the hyperref package the reference of the toc should be after the \bibliography entry.
See to it that the Bibliography page starts at an odd page (like all other chapters)

- See to it that the Index page starts at an odd page (like all other chapters)

- Not all items are shown in the Index / Index generation crashes (Bug_733323) / Index is not shown
The \hypertarget definition contains on 2 places the entire string (including section references and index references) in the caption part.
In all other places the caption is empty and the caption part is not used (as a reference) in the \hyperlink command. The caption has been made empty/
Problem in case of line termination (., a dot) direct after the \cite command

In case a sentence like:
  Cite reference at end of line with a dot \cite hicks2001.
is used the cite_key is hicks2001. (so including the .)

This is a regression of Bug 702584 - \cite rejects valid BibTeX keys
Merge pull request #218 from ellert/bad-break

Bug 735759 - Broken man pages due to bad use of autoBreak
Merge pull request #219 from albert-github/feature/bug_latex_index_toc

Different latex problems
Merge pull request #220 from albert-github/feature/bug_cite_key

Problem in case of line termination (., a dot) direct after the \cite command
Merge pull request #217 from albert-github/feature/bug_735745

Bug 735745 - Spurious ASSERT message
Merge pull request #214 from ellert/missing-spaces

Bug 651848 & 652276 - Missing spaces in man page output