Hello,

I've put a new syntax/tex.vim on my website (and have given it to Bram for inclusion in 7.3). You may try it out by getting it from http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax and clicking on tex.vim.gz . Of course you'll need a gunzip or similar tool on Windows to decompress the file.

The new tex syntax file supports setting conceallevel to 2 with utf-8 by showing appropriate glyphs for Greek in math, a few math symbols in math, and a number of accented characters.

I personally have little call to use accents in my writing, so I may well have missed some "favorites". If you'd like some accented character that syntax/tex.vim is presently missing, please send me a line or two of the form

  syn match texAccent    '\\c{c}'    conceal cchar=ç

where the '\\c{c}', for example, shows a Vim regex pattern matching the LaTeX \c{c} which causes ç to appear. To find the utf-8 glyphs, you may wish to refer to http://www.utf8-chartable.de/unicode-utf8-table.pl . You can find my email address at the 3rd line of vim73c/syntax/tex.vim .

Regards,
Chip Campbell

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui