Label and ref grammar fix

Fix grammar from causing \label and \ref being superscript (cf
https://github.com/area/language-latex/issues/6)