Now compiles against Qt 6.10 on linux

Minor improvements to TeX code