summaryrefslogtreecommitdiffstats
path: root/kate/data/bibtex.xml
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
commitd7b9791584eda0f022813fd2b2df50f59eba29c5 (patch)
tree395d2d48909ce6f9e002106d1638610f7a7c8321 /kate/data/bibtex.xml
parent84bbc54a086fc6894b247488bf62bdff04dd55fa (diff)
downloadtdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.tar.gz
tdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.zip
Added remaining missing Kate xml files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1068844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/bibtex.xml')
-rw-r--r--kate/data/bibtex.xml41
1 files changed, 26 insertions, 15 deletions
diff --git a/kate/data/bibtex.xml b/kate/data/bibtex.xml
index b1c225521..5ee9436b8 100644
--- a/kate/data/bibtex.xml
+++ b/kate/data/bibtex.xml
@@ -1,24 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="BibTeX" version="1.13" kateversion="2.4" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout ([email protected])" license="LGPL">
+<language name="BibTeX" version="1.15" kateversion="2.0" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout ([email protected])+Thomas Braun ([email protected])" license="LGPL">
<highlighting>
<list name="kw_entry">
- <item>@article</item>
- <item>@book</item>
- <item>@booklet</item>
- <item>@conference</item>
- <item>@inbook</item>
- <item>@incollection</item>
- <item>@inproceedings</item>
- <item>@manual</item>
- <item>@mastersthesis</item>
+ <item>@article</item>
+ <item>@book</item>
+ <item>@booklet</item>
+ <item>@conference</item>
+ <item>@collection</item>
+ <item>@electronic</item>
+ <item>@inbook</item>
+ <item>@incollection</item>
+ <item>@inproceedings</item>
+ <item>@manual</item>
+ <item>@mastersthesis</item>
<item>@misc</item>
- <item>@phdthesis</item>
+ <item>@online</item>
+ <item>@patent</item>
+ <item>@periodical</item>
<item>@proceedings</item>
- <item>@techreport</item>
+ <item>@report</item>
+ <item>@phdthesis</item>
+ <item>@set</item>
+ <item>@thesis</item>
+ <item>@techreport</item>
<item>@unpublished</item>
- <item>@collection</item>
- <item>@patent</item>
+ <item>@www</item>
</list>
<list name="kw_command">
<item>@string</item>
@@ -27,7 +34,7 @@
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
- <RegExpr String="([a-zA-Z]+)\s*=" attribute="Field" context="#stay" firstNonSpace="true" />
+ <RegExpr String="([a-zA-Z0-9]+)" attribute="Field" context="Field" firstNonSpace="true"/>
<keyword String="kw_entry" attribute="Entry" context="Entry"/>
<keyword String="kw_command" attribute="Command" context="#stay"/>
<DetectChar char="{" attribute="Normal Text" context="#stay" beginRegion="block" />
@@ -44,6 +51,10 @@
<DetectChar char="&quot;" attribute="String" context="#pop"/>
</context>
+ <context name="Field" attribute="Field" lineEndContext="#pop">
+ <DetectChar char="=" attribute="Normal Text" context="#pop"/>
+ </context>
+
<context name="String" attribute="String" lineEndContext="#stay">
<RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/>
<DetectChar char="&quot;" attribute="String" context="#pop"/>