LaTeX warning fixes