Your message dated Mon, 29 Jan 2018 21:12:01 -0500
with message-id <[email protected]>
and subject line Re: Bug#886285: vim-runtime: tex syntax highlighting fails to 
enter math mode within align environment
has caused the Debian Bug report #886285,
regarding vim-runtime: tex syntax highlighting fails to enter math mode within 
align environment
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
886285: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886285
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-runtime
Version: 2:8.0.1401-2
Severity: normal

Hello again!

I noticed another regression, this time in tex syntax highlighting.
The issue seems to be that it fails to enter math mode within the align
environment (and probably other amsmath environments).

The package version currently in buster and sid
(vim-runtime/2:8.0.1401-2) messes up with the highlighting of the math
between \begin{align} and \end{align}, while it correctly deals with the
math between \begin{equation} and \end{equation}.
This is shown in the first attached screenshot.

On the other hand, vim-runtime/2:8.0.0197-4+deb9u1 (which is in stretch),
behaves correctly, as shown in the second attached screenshot.

The two screenshots were obtained (on buster and stretch, respectively)
with

  $ view -u NONE test_align.tex

followed by

 :syn on 
 :set bg=dark


Please fix the bug and/or forward this report upstream, as appropriate.

Thanks for your time!
Bye.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim            2:8.0.1401-2
ii  vim-gtk [vim]  2:8.0.1401-2
ii  vim-tiny       2:8.0.1401-2

vim-runtime suggests no packages.

-- no debconf information
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
  a_x & = b_x \\
  a_y & = b_y
\end{align}
\begin{equation}
  a_z = 0  \qquad b_z \neq 0
\end{equation}
\end{document}

--- End Message ---
--- Begin Message ---
On Mon, Jan 29, 2018 at 07:33:40PM +0100, Francesco Poli wrote:
> On Sun, 28 Jan 2018 13:22:28 -0500 James McCoy wrote:
> > Support for align was dropped upstream.  See “:help ft-tex-syntax” and
> > “:help tex-morecommands” for extending the tex syntax highlighting.
> 
> Mmmmh, ":help tex-morecommands" states, in part:
> 
> [...]
> | please consider using the techniques in mysyntaxfile-add to extend
> | or modify the highlighting provided by syntax/tex.vim.
> | Please consider uploading any extensions that you write,
> | which typically would go in $HOME/after/syntax/tex/[pkgname].vim, to
> | http://vim.sf.net/
> 
> 
> So I am puzzled: upstream dropped support for extended syntax provided
> by LaTeX packages (such as, for instance, amsmath), but, at the same
> time, suggest users to write extensions and contribute them upstream!
> 
> Do you find this confusing?

No.  There are lots of extensions to TeX, so he has decided to limit the
scope of what he supports in the main syntax file.  He has also provided
a mechanism for other people to add support for extensions.

As part of the package maintenance, neither are we going to develop the
syntax files for extensions nor solicit others to do so.  Therefore I'm
closing this.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to