A few fixes

The fix was mainly due to a conflict between latex and markdown with
the square brackets.