Package: vim-runtime Version: 1:7.1-056+2 Severity: wishlist Tags: patch This causes \textcite to be properly highlighted *and* spellchecked, since it's free-form text inside. Feel free to do it another way...
--- /tmp/tex.vim 2007-09-27 16:02:25.000000000 +0100
+++ /usr/share/vim/vim71/syntax/tex.vim 2007-09-27 17:07:29.000000000 +0100
@@ -416,8 +416,10 @@
syn region texRefZone matchgroup=texStatement
start="\\\(page\|eq\)ref{" end="}\|%stopzone\>" [EMAIL PROTECTED]
syn region texRefZone matchgroup=texStatement start="\\v\=ref{"
end="}\|%stopzone\>" [EMAIL PROTECTED]
syn match texRefZone '\\cite\%([tp]\*\=\)\='
nextgroup=texRefOption,texCite
+syn match texRefZone '\\citetext\*\='
nextgroup=texRefOption,texFreeCite
syn region texRefOption contained matchgroup=Delimiter start='\['
end=']' [EMAIL PROTECTED] nextgroup=texRefOption,texCite
syn region texCite contained matchgroup=Delimiter start='{' end='}'
[EMAIL PROTECTED]
+syn region texFreeCite contained matchgroup=Delimiter start='{' end='}'
[EMAIL PROTECTED],@Spell
" Handle newcommand, newenvironment : {{{1
syn match texNewCmd "\\newcommand\>"
nextgroup=texCmdName skipwhite skipnl
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim-gtk 1:7.1-056+2 Vi IMproved - enhanced vi editor -
-- no debconf information
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

