summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio-src/contrib
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-19 09:50:02 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-19 09:50:02 +0000
commitcb91fd42ddde6e1b4dc9ab01a7fae48ec8cefd78 (patch)
treebcf58cb364986d6620f33d8e3eb27ad239ff5b76 /Build/source/texk/gregorio/gregorio-src/contrib
parentd6e94ab1e1eca4619881ab218358de1aebde4ebb (diff)
gregorio 4.1.0-rc1
git-svn-id: svn://tug.org/texlive/trunk@39776 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-src/contrib')
-rw-r--r--Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.ambin171 -> 0 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.batbin171 -> 0 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.commandbin171 -> 0 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim90
4 files changed, 72 insertions, 18 deletions
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am
deleted file mode 100644
index cd621b2a872..00000000000
--- a/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am
+++ /dev/null
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat
deleted file mode 100644
index 6adb72ec537..00000000000
--- a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat
+++ /dev/null
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command
deleted file mode 100644
index 14f037e2011..00000000000
--- a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command
+++ /dev/null
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim
index 654c06bab90..cb8b08b7f40 100644
--- a/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim
+++ b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim
@@ -1,7 +1,6 @@
" Vim syntax file
" Language: Gabc gregorian chant notation
-" Maintainer: Elie Roux <elie.roux@telecom-bretagne.eu>
-" Last Change: 2008 Nov 29
+" Last Change: 2016 Feb 11
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -9,24 +8,79 @@ if exists("b:current_syntax")
endif
syn match gabcAttributeName /^[^:]*:/
-syn match gabcAttributeNameb ";"
-syn match gabcTextMarkup "</\?\w>" contained
-syn match gabcTranslation "\[[^\[\(]*\]\?" contained
-syn match gabcBasicNote "[a-mA-M]" contained
-syn match gabcAlteration "[\<\>~xXyYvVoOwWqQ\-Ss\._'1234]" contained
-syn match gabcSpace "[`,;!: /zZ]" contained
-syn region gabcNotes matchgroup=gabcNote start="(" end=")" contains=gabcBasicNote,gabcAlteration,gabcSpace contained
-syn region gabcText start="%%" end="%%zz" contains=gabcNotes,gabcTextMarkup,gabcTranslation
+syn match gabcAttributeEnd ";"
+syn match gabcNoteError "." contained
+syn match gabcBasicNote "[a-npA-NP]" contained
+syn match gabcAlteration "[\<\>~xy#vVwWqQR\-Ss\.+]" contained
+syn match gabcAlteration "_[0-5]*" contained
+syn match gabcAlteration "[oO'\.][01]\?" contained
+syn match gabcAlteration "r[0-5]\?" contained
+syn match gabcClef "[cf]b\?[1-5]" contained
+syn match gabcTextMarkup "</\?e>" contained
+syn match gabcTextMarkup "</\?b>" contained
+syn match gabcTextMarkup "</\?i>" contained
+syn match gabcTextMarkup "</\?c>" contained
+syn match gabcTextMarkup "</\?ul>" contained
+syn match gabcTextMarkup "</\?tt>" contained
+syn match gabcTextMarkup "</\?sc>" contained
+syn match gabcTextMarkup "</\?eu>" contained
+syn match gabcTextOrNoteMarkup "</\?nlba>" contained
+syn match gabcTextCenter "[{}]" contained
+syn match gabcFuse "@" contained
+syn match gabcFuseEnd "\]" contained
+syn match gabcBar "[`:]" contained
+syn match gabcBar "[,;][1-8]\?" contained
+syn match gabcSpace "[! ]" contained
+syn match gabcSpace "/0\?" contained
+syn match gabcSpace "z[-+0]\?" contained
+syn match gabcSpace "Z[-+]\?" contained
+syn match gabcSpace "/\[[^\]]*\]" contained extend
+syn match gabcCommand "@\@<!\[[^\]]*\]" contained extend
+syn region gabcComment start="%" end="$" contained keepend extend
+syn region gabcAlt matchgroup=gabcTextMarkup start="<alt>" end="</alt>"
+ \ contained
+syn region gabcSpecial matchgroup=gabcTextMarkup start="<sp>" end="</sp>"
+ \ contained
+syn region gabcVerbatim matchgroup=gabcTextMarkup start="<v>" end="</v>"
+ \ contained
+syn region gabcNabc matchgroup=gabcNabcCut start="|" end="[|)]" keepend
+syn cluster gabcFusable contains=gabcBasicNote,gabcAlteration,gabcBar,gabcSpace,
+ \gabcComment,gabcCommand,gabcNoteError,gabcFuse,
+ \gabcTextOrNoteMarkup,gabcClef,gabcNabc
+syn region gabcFuseGroup matchGroup=gabcFuseGroup start="@\[" end="\]"
+ \ contains=@gabcFusable,gabcFuseEnd contained keepend
+syn region gabcNotes matchgroup=gabcNote start="(" end=")"
+ \ contains=@gabcFusable,gabcFuseGroup contained keepend
+syn region gabcTranslation matchgroup=gabcTextMarkup start="\[" end="\]"
+ \ contained extend
+syn region gabcText start="^\(%%\)\@=" end="\%$"
+ \ contains=gabcNotes,gabcTextMarkup,gabcTextOrNoteMarkup,
+ \gabcTextCenter,gabcTranslation,gabcComment,gabcAlt,gabcSpecial,
+ \gabcVerbatim
" Define the default highlighting.
-hi def link gabcAttributeName Comment
-hi def link gabcAttributeNameb Comment
-hi def link gabcText Comment
-hi def link gabcTextMarkup PreProc
-hi def link gabcBasicNote Statement
-hi def link gabcNote Type
-hi def link gabcAlteration Type
-hi def link gabcSpace Special
+hi def link gabcAttributeName Statement
+hi def link gabcAttributeEnd Statement
+hi def link gabcText Constant
+hi def link gabcTranslation Constant
+hi def link gabcComment Comment
+hi def link gabcTextMarkup Delimiter
+hi def link gabcTextOrNoteMarkup Delimiter
+hi def link gabcTextCenter Delimiter
+hi def link gabcSpecial Constant
+hi def link gabcVerbatim Constant
+hi def link gabcAlt Constant
+hi def link gabcClef Statement
+hi def link gabcBasicNote Statement
+hi def link gabcAlteration PreProc
+hi def link gabcCommand Type
+hi def link gabcBar Special
+hi def link gabcSpace Special
+hi def link gabcNabcCut Delimiter
+hi def link gabcFuse Constant
+hi def link gabcFuseGroup Constant
+hi def link gabcFuseEnd Constant
+hi def link gabcNoteError Error
let b:current_syntax = "gabc"