Using package tabu to typeset tables, one can ask an X column to be entirely in math mode using the shortcut X[$] for >{$}X<{$}. Sadly, Kile parses it as X[<start inline math> which makes it very inconvenient. A way to avoid that would be to treat the preamble of tabulars (or at least tabus) as verbatims. Reproducible: Always
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Yes, it still happens, here's a MWE ``` \documentclass[a4paper,10pt]{article} \usepackage{tabu} \begin{document} \begin{tabu}{X[$]} \end{tabu} \end{document} ```
Thanks for the update!
Git commit 80b312632182971f3480e147aa2c9d0ad9d73035 by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 18/09/2023 at 00:08. Pushed by cullmann into branch 'master'. LaTeX: fix conflict of tabu X[$] shortcut with math mode M +12 -0 autotests/folding/highlight.tex.fold M +12 -0 autotests/html/highlight.tex.dark.html M +12 -0 autotests/html/highlight.tex.html M +12 -0 autotests/input/highlight.tex M +12 -0 autotests/reference/highlight.tex.ref M +53 -0 data/syntax/latex.xml https://invent.kde.org/frameworks/syntax-highlighting/-/commit/80b312632182971f3480e147aa2c9d0ad9d73035