summaryrefslogtreecommitdiffstats
path: root/kate/data/bibtex.xml
blob: 5ee9436b86f803f7fef6d891ec5f94b36038f54d (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="BibTeX" version="1.15" kateversion="2.0" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (braun@physik.fu-berlin.de)" license="LGPL">
  <highlighting>
    <list name="kw_entry">
      <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>@online</item>
      <item>@patent</item>
      <item>@periodical</item>
      <item>@proceedings</item>
      <item>@report</item>
      <item>@phdthesis</item>
      <item>@set</item>
      <item>@thesis</item> 
      <item>@techreport</item> 
      <item>@unpublished</item>
      <item>@www</item>
    </list>
    <list name="kw_command">
      <item>@string</item>
      <item>@preamble</item>
      <item>@comment</item>
    </list>
    <contexts>
      <context name="Normal" attribute="Normal Text" lineEndContext="#stay">
        <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" />
        <DetectChar char="}" attribute="Normal Text" context="#stay" endRegion="block" />
        <RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/>
        <DetectChar char="&quot;" attribute="String" context="String"/>
      </context>

      <context name="Entry" attribute="Ref Key" lineEndContext="#stay">
        <DetectChar char="," attribute="Normal Text" context="#pop"/>
        <DetectChar char="{" attribute="Normal Text" context="#stay" beginRegion="block" />
        <DetectChar char="}" attribute="Normal Text" context="#stay" endRegion="block" />
        <RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/>
        <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"/>
      </context>
    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal"/>
      <itemData name="Entry" defStyleNum="dsKeyword" color="#0000ff"/>
      <itemData name="Command" defStyleNum="dsFunction"/>
      <itemData name="Field" defStyleNum="dsDataType"/>
      <itemData name="Ref Key" defStyleNum="dsOthers"/>
      <itemData name="String" defStyleNum="dsString"/>
      <itemData name="Char" defStyleNum="dsChar"/>
    </itemDatas>
  </highlighting>
  <general>
   <keywords casesensitive="0" weakDeliminator="\" wordWrapDeliminator=",{}[]"/>
  </general>
</language>