aboutsummaryrefslogtreecommitdiff
path: root/dot_vim/ftplugin/latex-suite/packages/cite
blob: aa43e5b0facafbebab1042de2aaa30138bed7395 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
if exists("cite_package_file")
	finish
endif
let cite_package_file = 1

let g:TeX_package_option_cite = 
\ 'verbose,'
\.'nospace,'
\.'space,'
\.'nosort,'
\.'sort,'
\.'noadjust'

let g:TeX_package_cite = 
\ 'bra:cite,'
\.'bra:citen,'
\.'bra:citenum,'
\.'bra:citeonline,'
\.'bra:nocite,'
\.'sep:redefine,'
\.'bra:citeform,'
\.'bra:citepunct,'
\.'bra:citeleft,'
\.'bra:citeright,'
\.'bra:citemid,'
\.'bra:citedash'

syn region texRefZone         matchgroup=texStatement start="\\citen\([tp]\*\=\)\={"   keepend end="}\|%stopzone\>"  contains=texComment,texDelimiter
syn region texRefZone         matchgroup=texStatement start="\\citenum\([tp]\*\=\)\={"   keepend end="}\|%stopzone\>"  contains=texComment,texDelimiter
syn region texRefZone         matchgroup=texStatement start="\\citeonline\([tp]\*\=\)\={"   keepend end="}\|%stopzone\>"  contains=texComment,texDelimiter

" vim:ft=vim:ff=unix: