diff options
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-4.0.0-rc1/contrib/gabc.xml')
-rw-r--r-- | Build/source/texk/gregorio/gregorio-4.0.0-rc1/contrib/gabc.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/contrib/gabc.xml b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/contrib/gabc.xml new file mode 100644 index 00000000000..e84ec8975f2 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/contrib/gabc.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Elie Roux - elie.roux@telecom-bretagne.eu + version1.0 - 10 november 2008 --> +<language name="GABC" version="1.10" kateversion="2.4" section="Other" extensions="*.gabc" mimetype="text/plain" casesensitive="1" author="Elie Roux (elie.roux@telecom-bretagne.eu)" license="GPL"> + <highlighting> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Attribute" context="Attribute" char=":"/> + <StringDetect attribute="Separation" context="Score Text" String="%%" insensitive="FALSE"/> + </context> + <context name="Attribute" attribute="Attribute" lineEndContext="#pop"> + <DetectChar attribute="Attribute Name" context="Normal" char=";"/> + </context> + <context name="Score Text" attribute="Score Text" lineEndContext="#stay"> + <DetectChar attribute="Notes" context="Notes" char="("/> + <RangeDetect attribute="Translation" context="#stay" char="[" char1="]"/> + <RangeDetect attribute="Text Markups" context="#stay" char="<" char1=">"/> + </context> + <context name="Notes" attribute="Notes" lineEndContext="#stay"> + <DetectChar attribute="Notes" context="#pop" char=")"/> + <RegExpr attribute="Notes Base" context="#stay" String="[a-mA-M]+"/> + <RegExpr attribute="Alterations" context="#stay" String="[><\~xXyYvVoOwWqQ-Ss\._'1234]+"/> + <RegExpr attribute="Space" context="#stay" String="[`,;!: /zZ]+"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Attribute" defStyleNum="dsNormal" italic="true"/> + <itemData name="Separation" defStyleNum="dsNormal" bold="true"/> + <itemData name="Score Text" defStyleNum="dsNormal" bold="true"/> + <itemData name="Text Markups" defStyleNum="dsFloat" bold="true"/> + <itemData name="Translation" defStyleNum="dsNormal" italic="true"/> + <itemData name="Notes" defStyleNum="dsNormal"/> + <itemData name="Notes Base" defStyleNum="dsNormal"/> + <itemData name="Alterations" defStyleNum="dsFloat" italic="true"/> + <itemData name="Space" defStyleNum="dsString" bold="true"/> + </itemDatas> + </highlighting> +</language> |