tex syntax highlighting error

Bug #819620 reported by Stephen MᶜAteer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

TeX syntax highlighting is incorrect for:

$X_{\{i\}}$ for $k$ in $S$ some text!?!

There seems to be some confusion arising from the nested { } and \{ \} in the subscript. The highlighting is wrong from the i onward in this example. Highlighting is correct if the _ or the \{ \} pair is removed.

description: updated
Revision history for this message
Stephen MᶜAteer (s-g-mcateer) wrote :

I have passed this on to the maintainer: Dr. Charles E. Campbell, Jr. <email address hidden>

Changed in vim (Ubuntu):
status: New → Invalid
status: Invalid → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vim (Ubuntu):
status: New → Confirmed
Revision history for this message
Stephen MᶜAteer (s-g-mcateer) wrote :

This was fixed in the maintainer's latest syntax highlighting package, but his website seems to be down. http://drchip.0sites.net/astronaut/vim/index.html#vimlinks_syntax

I have attached a working tex.vim that fixes the issue.

I have been using this version for some time and it seems to be stable.

Revision history for this message
Will Gray (graywh) wrote :
Revision history for this message
Stephen MᶜAteer (s-g-mcateer) wrote :

Bug is fixed in latest LaTeX Suite.

$ lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10

$ apt-cache policy vim-latexsuite
vim-latexsuite:
  Installed: 20130116.788-1
  Candidate: 20130116.788-1
  Version table:
 *** 20130116.788-1 0
        500 http://au.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status

Changed in vim (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.