Create a new file and type the following: \section{title} {type anything here the section content will be highlighted as if it was the section title. So for example in the "printing" color scheme shipper with Kile, the section content will be green (insted of black) like the section title. Reproducible: Always Steps to Reproduce: see previous description
I have sent a patch for this to the maintainer of Kile (Michel Ludwig) to commit it.
just wanted to say thank you for working on this. I'll test the patch as soon as it lands in git.
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!
Dear Bug Submitter, This is a reminder that 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? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Bug still present in 2.9.93. MWE with variations: """"""" \documentclass{article} \begin{document} \section{Wrong} {\small BOLD HIGHLIGHTING} \section{Wrong} % {\small BOLD HIGHLIGHTING} \section{Wrong}% {\small BOLD HIGHLIGHTING} \section{OK} \textit{NOT BOLD} {\small NOT BOLD} \section{OK} NOT BOLD {\small NOT BOLD} \end{document} """ Reproducible: Always Steps to Reproduce: code similar to the above
Git commit 7698b90b78d66e9fa5514b118f269f31b73a47ff by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 18/09/2023 at 00:08. Pushed by cullmann into branch 'master'. LaTeX: fix highliting when section content starts with { M +10 -0 autotests/folding/highlight.tex.fold M +10 -0 autotests/html/highlight.tex.dark.html M +10 -0 autotests/html/highlight.tex.html M +10 -0 autotests/input/highlight.tex M +10 -0 autotests/reference/highlight.tex.ref M +1 -2 data/syntax/latex.xml https://invent.kde.org/frameworks/syntax-highlighting/-/commit/7698b90b78d66e9fa5514b118f269f31b73a47ff