[Bug 819620] [NEW] tex syntax highlighting error

Stephen Mc Ateer 819620 at bugs.launchpad.net
Tue Aug 2 04:32:13 UTC 2011


Public bug reported:

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.

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: highlight highlighting latex syntax tex

** Description changed:

  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 _ is removed.
+ example.  Highlighting is correct if the _ or the \{ \} pair is removed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/819620

Title:
  tex syntax highlighting error

Status in “vim” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/819620/+subscriptions




More information about the foundations-bugs mailing list