Print.latex: improve fraction parenthesis handling